Home
last modified time | relevance | path

Searched refs:isCaptureObject (Results 1 – 8 of 8) sorted by relevance

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/army/
H A Darmy.cpp818 const bool isCaptureObject = MP2::isCaptureObject( tile.GetObject() ); in setFromTile() local
819 if ( isCaptureObject ) in setFromTile()
924 if ( isCaptureObject ) { in setFromTile()
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/maps/
H A Dmp2.cpp1003 bool MP2::isCaptureObject( const MapObjectType objectType ) in isCaptureObject() function in MP2
1138 return isCaptureObject( objectType ); in isProtectedObject()
H A Dmaps_tiles_quantity.cpp417 …return MP2::isCaptureObject( GetObject( false ) ) ? Monster( world.GetCapturedObject( GetIndex() )… in QuantityMonster()
422 …return MP2::isCaptureObject( GetObject( false ) ) ? world.GetCapturedObject( GetIndex() ).GetTroop… in QuantityTroop()
H A Dmp2.h588 bool isCaptureObject( const MapObjectType objectType );
H A Dmaps_tiles.cpp1588 if ( MP2::isCaptureObject( GetObject( false ) ) ) { in String()
1906 if ( MP2::isCaptureObject( objectType ) ) { in CaptureObjectIsProtection()
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/normal/
H A Dai_normal_hero.cpp629 else if ( MP2::isCaptureObject( objectType ) && MP2::isQuantityObject( objectType ) ) { in getHunterObjectValue()
871 else if ( MP2::isCaptureObject( objectType ) && MP2::isQuantityObject( objectType ) ) { in getFighterObjectValue()
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/kingdom/
H A Dkingdom.cpp406 if ( MP2::isCaptureObject( objectType ) ) in isValidKingdomObject()
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/
H A Dai_hero_action.cpp766 if ( MP2::isCaptureObject( objectType ) ) in AIToObjectResource()