Searched refs:BonusItem (Results 1 – 7 of 7) sorted by relevance
/dports/games/granatier/granatier-21.12.3/src/ |
H A D | bonusitem.cpp | 14 BonusItem::BonusItem(Bonus* p_model, KGameRenderer* renderer) : ElementItem (p_model, renderer) in BonusItem() function in BonusItem 22 BonusItem::~BonusItem() in ~BonusItem() 27 void BonusItem::setUndestroyable(int nExplosionID) in setUndestroyable() 32 void BonusItem::initDestruction(int nExplosionID) in initDestruction() 45 connect(m_destructionTimer, &QTimer::timeout, this, &BonusItem::destructionAnimation); in initDestruction() 48 void BonusItem::destructionAnimation() in destructionAnimation()
|
H A D | bonusitem.h | 19 class BonusItem : public ElementItem 42 BonusItem(Bonus* p_model, KGameRenderer* renderer); 47 ~BonusItem() override; 72 void bonusItemDestroyed(BonusItem* bonusItem);
|
H A D | gamescene.h | 21 class BonusItem; variable 65 BonusItem*** m_bonusItems; 185 void removeBonusItem(BonusItem* bonusItem);
|
H A D | playeritem.h | 15 class BonusItem; variable 122 void bonusItemTaken(BonusItem* bonusItem);
|
H A D | gamescene.cpp | 323 m_bonusItems = new BonusItem**[m_game->getArena()->getNbRows()]; in initItemsWithGraphicsFromTheme() 328 m_bonusItems[i] = new BonusItem*[m_game->getArena()->getNbColumns()]; in initItemsWithGraphicsFromTheme() 354 BonusItem* bonusItem = new BonusItem(bonus, m_rendererBonusItems); in initItemsWithGraphicsFromTheme() 406 … connect(this, &GameScene::resizeGraphics, bonusItem, &BonusItem::updateGraphics); in initItemsWithGraphicsFromTheme() 407 … connect(bonusItem, &BonusItem::bonusItemDestroyed, this, &GameScene::removeBonusItem); in initItemsWithGraphicsFromTheme() 779 void GameScene::removeBonusItem(BonusItem* bonusItem) in removeBonusItem()
|
H A D | playeritem.cpp | 151 BonusItem* bonusItem; in manageCollision() 182 bonusItem = dynamic_cast <BonusItem*> (i); in manageCollision()
|
/dports/games/freedroidrpg/freedroidrpg-0.16.1/src/ |
H A D | character.c | 84 static void AddInfluencerItemAttributeBonus(item * BonusItem) in AddInfluencerItemAttributeBonus() argument 88 if (BonusItem->type == (-1)) in AddInfluencerItemAttributeBonus() 92 Me.strength += BonusItem->bonus_to_str + BonusItem->bonus_to_all_attributes; in AddInfluencerItemAttributeBonus() 93 Me.dexterity += BonusItem->bonus_to_dex + BonusItem->bonus_to_all_attributes; in AddInfluencerItemAttributeBonus() 94 Me.cooling += BonusItem->bonus_to_cooling + BonusItem->bonus_to_all_attributes; in AddInfluencerItemAttributeBonus() 95 Me.physique += BonusItem->bonus_to_physique + BonusItem->bonus_to_all_attributes; in AddInfluencerItemAttributeBonus() 107 if (BonusItem->type == (-1)) in AddInfluencerItemSecondaryBonus() 111 Me.to_hit += BonusItem->bonus_to_attack; in AddInfluencerItemSecondaryBonus() 112 Me.maxenergy += BonusItem->bonus_to_health_points; in AddInfluencerItemSecondaryBonus() 114 Me.cooling_rate += BonusItem->bonus_to_cooling_rate; in AddInfluencerItemSecondaryBonus() [all …]
|