Searched refs:canGuard (Results 1 – 15 of 15) sorted by relevance
54 var canGuard = FriendlyGuardableUnits(world, mi) in GetCursor()57 return canGuard ? Cursor : "move-blocked"; in GetCursor()
728 if ( newDef->canGuard && !oldDef->canGuard) { return true; } in IsBetterLeader()729 if (!newDef->canGuard && oldDef->canGuard) { return false; } in IsBetterLeader()
98 if (owner->unitDef->canGuard) { in CFactoryCAI()419 if (owner->unitDef->canGuard) { in GetDefaultCmd()
487 assert(owner->unitDef->canGuard); in ExecuteGuard()531 if (owner->unitDef->canGuard) { in GetDefaultCmd()
160 if (owner->unitDef->canGuard) { in CMobileCAI()629 assert(owner->unitDef->canGuard); in ExecuteGuard()946 } else if (owner->unitDef->canGuard) { in GetDefaultCmd()
819 if (!owner->unitDef->canGuard) in ExecuteGuard()1302 } else if (owner->unitDef->canGuard) { in GetDefaultCmd()
939 } else if (owner->unitDef->canGuard) { in GetDefaultCmd()
511 if (!ud->canGuard) { return false; } in AllowedCommand()
139 , canGuard(false) in UnitDef()
205 bool canGuard; member
603 unitDef->canGuard = sAICallback->UnitDef_isAbleToGuard(skirmishAIId, unitDefId); in GetUnitDefById()
234 bool canGuard; member
158 , canGuard(false) in UnitDef()335 canGuard = udTable.GetBool("canGuard", true); in UnitDef()
860 ADD_BOOL("canGuard", ud.canGuard); in InitParamMap()
2622 return getUnitDefById(skirmishAIId, unitDefId)->canGuard; in skirmishAiCallback_UnitDef_isAbleToGuard()