/dports/games/spring/spring_98.0/rts/Sim/Units/ |
H A D | UnitDef.h | 56 bool IsImmobileUnit() const { return (pathType == -1U && !canfly && speed <= 0.0f); } in IsImmobileUnit() 63 bool IsGroundUnit() const { return (pathType != -1U && !canfly); } in IsGroundUnit() 64 bool IsAirUnit() const { return (pathType == -1U && canfly); } in IsAirUnit() 70 bool RequireMoveDef() const { return (canmove && speed > 0.0f && !canfly); } in RequireMoveDef() 156 bool canfly; member
|
H A D | UnitDef.cpp | 120 , canfly(false) in UnitDef() 435 canfly = udTable.GetBool("canFly", false); in UnitDef() 436 canSubmerge = udTable.GetBool("canSubmerge", false) && canfly; in UnitDef() 537 upright |= !canfly; in UnitDef() 541 cantBeTransported |= (!modInfo.transportAir && canfly); in UnitDef() 862 if (!canfly) { in CheckTerrainConstraints()
|
/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/ |
H A D | MoveTypeFactory.cpp | 17 assert(!ud->canfly); in GetMoveType() 32 assert(ud->canfly); in GetMoveType()
|
H A D | MoveType.cpp | 74 if (owner->IsInAir() && owner->unitDef->canfly) { in SlowUpdate()
|
H A D | AAirMoveType.cpp | 255 if (unit == owner || !unit->unitDef->canfly) { in CheckForCollision()
|
/dports/games/spring/spring_98.0/AI/Skirmish/KAIK/ |
H A D | UnitTable.cpp | 326 …if (uwDef->def->type == "AircraftBomb" && victim->canfly && unitDef->canfly && unitDef->wantedHeig… in GetDPSvsUnit() 363 if ((victim->canfly && uwDef->def->selfExplode) || !victim->canfly) { in GetDPSvsUnit() 467 if (!unitTypes[i].def->canfly && unitTypes[i].def->speed > 0) { in UpdateChokePointArray() 596 if (udef->canfly && !udef->hoverAttack) { in GetScore() 611 if (udef->canfly || udef->canhover) { in GetScore() 615 benefit = (udef->canfly && frame >= (30 * 60 * 20))? benefit: benefit * 0.01f; in GetScore() 845 else if (!uType->def->canfly) { in Init() 854 ((uDef->canmove && uDef->movedata != NULL) || uDef->canfly)) in Init()
|
H A D | AttackGroup.cpp | 309 …f (ai->cb->GetUnitDef(ai->unitIDs[i]) != NULL && CloakedFix(ai->unitIDs[i]) && !enemy_ud->canfly) { in FindDefenseTarget() 456 bool b4 = ai->ccb->GetUnitDef(ai->unitIDs[i])->canfly; in SelectEnemy() 506 if (!udef->canfly || (b6 && b7)) { in AttackEnemy()
|
H A D | AttackHandler.cpp | 73 if ((unit->def())->canfly) { in AddUnit() 780 bool canFly = ud->canfly; in AssignTarget() 947 if (PlaceIdleUnit(unit) && !ai->cb->GetUnitDef(unit)->canfly) { in Update()
|
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/ai/weed/ |
H A D | weed.cpp | 60 o->critter.canfly = true; in ai_critter() 73 o->critter.canfly = false; in ai_critter() 94 o->critter.canfly = true; in ai_critter() 106 int attack_dist = (o->critter.canfly) ? (96 * CSFI) : (64 * CSFI); in ai_critter() 193 if (!o->critter.canfly || o->blockl || o->blockr || o->blocku || ++o->timer > 100) in ai_critter()
|
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/ai/weed/ |
H A D | weed.cpp | 60 o->critter.canfly = false; in ai_critter() 77 o->critter.canfly = true; in ai_critter() 89 int attack_dist = (o->critter.canfly) ? (96 << CSF) : (64 << CSF); in ai_critter() 176 if (!o->critter.canfly || \ in ai_critter()
|
/dports/games/spring/spring_98.0/rts/Sim/Units/UnitTypes/ |
H A D | Factory.cpp | 395 if (!unit->unitDef->canfly && exitPos.IsInBounds()) { in SendToEmptySpot() 417 if (!unit->unitDef->canfly) { in AssignBuildeeOrders()
|
H A D | TransportUnit.cpp | 190 if (unitDef->canfly && transportee->unitDef->canmove) { in KillUnit()
|
/dports/games/spring/spring_98.0/AI/Wrappers/LegacyCpp/ |
H A D | UnitDef.cpp | 120 , canfly(false) in UnitDef()
|
H A D | UnitDef.h | 184 bool canfly; member
|
/dports/games/spring/spring_98.0/AI/Skirmish/E323AI/ |
H A D | CUnitTable.cpp | 370 if (ud->canfly) in categorizeUnit() 405 if ((ud->canhover || ud->minWaterDepth < 0.0f) && !ud->canfly) in categorizeUnit() 512 if (canbuild->canfly) { in categorizeUnit()
|
/dports/games/spring/spring_98.0/rts/Sim/Weapons/ |
H A D | WeaponLoader.cpp | 80 if (owner->unitDef->canfly && !weaponDef->submissile) { in LoadWeapon()
|
/dports/games/spring/spring_98.0/AI/Skirmish/AAI/ |
H A D | AAI.cpp | 407 if (!def->movedata && !def->canfly) in UnitFinished() 537 if (!def->canfly && !def->movedata) in UnitDestroyed() 601 if (!def->canfly && !def->movedata) in UnitDestroyed()
|
/dports/games/spring/spring_98.0/rts/Sim/Units/CommandAI/ |
H A D | AirCAI.cpp | 413 if (orderTarget->unitDef->canfly && orderTarget->IsCrashing()) { in ExecuteAttack() 542 return (GetStrafeAirMoveType(owner)->isFighter || !enemy->unitDef->canfly); in IsValidTarget()
|
H A D | TransportCAI.cpp | 295 if (owner->unitDef->canfly) { in ExecuteUnloadUnits() 319 if (owner->unitDef->canfly) { in ExecuteUnloadUnit()
|
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/ |
H A D | object.h | 245 bool canfly; member
|
/dports/games/spring/spring_98.0/AI/Skirmish/RAI/ |
H A D | UnitDefHandler.cpp | 228 if( ud->canfly ) {} in sRAIUnitDef() 851 …UE[i][MANUVER]=1.5*ud->canfly + 1.0*ud->canCloak + 0.5*ud->canhover + 0.5*ud->stealth + 0.5*(ud->m… in cRAIUnitDefHandler() 1638 …ef[iud2]->RUD->Disabled && !BL->UDef[iud2]->RUD->ud->canhover && !BL->UDef[iud2]->RUD->ud->canfly ) in cRAIUnitDefHandler() 1750 …if( udr->ud->movedata != 0 && !udr->ud->canfly && !udr->ud->canhover && udr->ud->minWaterDepth < 0… in cRAIUnitDefHandler()
|
H A D | CombatManager.cpp | 194 …if( U->ud->canfly || U->E->ud == 0 || !U->E->inLOS || U->enemyEff->BestRange <= 1.15*cb->GetUnitMa… in CommandManeuver()
|
H A D | GTerrainMap.cpp | 171 if( udList[iud]->canfly ) in GlobalTerrainMap()
|
/dports/games/spring/spring_98.0/rts/Game/UI/ |
H A D | SelectionKeyHandler.cpp | 118 DECLARE_FILTER(Aircraft, unit->unitDef->canfly)
|
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/ |
H A D | object.h | 235 bool canfly; member
|