Home
last modified time | relevance | path

Searched refs:canFight (Results 1 – 16 of 16) sorted by relevance

/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwmechanics/
H A Daicombataction.hpp93 bool canFight(const MWWorld::Ptr& actor, const MWWorld::Ptr& enemy);
H A Daicombataction.cpp401 bool canFight(const MWWorld::Ptr& actor, const MWWorld::Ptr& enemy) in canFight() function
H A Daicombat.cpp165 if (!canFight(actor, target)) in attack()
H A Dactors.cpp724 if (!canFight(actor1, actor2)) in engageCombat()
/dports/games/spring/spring_98.0/AI/Wrappers/LegacyCpp/
H A DUnitDef.cpp138 , canFight(false) in UnitDef()
H A DUnitDef.h204 bool canFight; member
H A DAIAICallback.cpp602 unitDef->canFight = sAICallback->UnitDef_isAbleToFight(skirmishAIId, unitDefId); in GetUnitDefById()
/dports/games/spring/spring_98.0/rts/Sim/Units/
H A DUnitDef.h232 bool canFight; member
H A DUnitDef.cpp156 , canFight(false) in UnitDef()
333 canFight = udTable.GetBool("canFight", true); in UnitDef()
/dports/games/spring/spring_98.0/rts/Sim/Units/CommandAI/
H A DFactoryCAI.cpp88 if (owner->unitDef->canFight) { in CFactoryCAI()
H A DMobileCAI.cpp150 if (owner->unitDef->canFight) { in CMobileCAI()
502 assert((c.options & INTERNAL_ORDER) || owner->unitDef->canFight); in ExecuteFight()
H A DAirCAI.cpp276 assert((c.options & INTERNAL_ORDER) || owner->unitDef->canFight); in ExecuteFight()
H A DCommandAI.cpp507 case CMD_FIGHT: if (!ud->canFight) return false; break; in AllowedCommand()
H A DBuilderCAI.cpp1162 assert((c.options & INTERNAL_ORDER) || owner->unitDef->canFight); in ExecuteFight()
/dports/games/spring/spring_98.0/rts/Lua/
H A DLuaUnitDefs.cpp859 ADD_BOOL("canFight", ud.canFight); in InitParamMap()
/dports/games/spring/spring_98.0/rts/ExternalAI/
H A DSSkirmishAICallbackImpl.cpp2618 return getUnitDefById(skirmishAIId, unitDefId)->canFight; in skirmishAiCallback_UnitDef_isAbleToFight()