Searched refs:CTransportUnit (Results 1 – 13 of 13) sorted by relevance
/dports/games/spring/spring_98.0/rts/Sim/Units/CommandAI/ |
H A D | TransportCAI.cpp | 151 CTransportUnit* transport = reinterpret_cast<CTransportUnit*>(owner); in ExecuteLoadUnits() 196 CTransportUnit* trans = static_cast<CTransportUnit*>(owner); in ExecuteLoadUnits() 288 CTransportUnit* transport = static_cast<CTransportUnit*>(owner); in ExecuteUnloadUnits() 335 return (static_cast<CTransportUnit*>(owner)->CanTransport(unit)); in CanTransport() 341 const CTransportUnit* ownerTrans = static_cast<CTransportUnit*>(owner); in FindEmptySpot() 416 const CTransportUnit* ownerTrans = static_cast<CTransportUnit*>(owner); in SpotIsClearIgnoreSelf() 492 void CTransportCAI::UnloadUnits_Land(Command& c, CTransportUnit* transport) in UnloadUnits_Land() 638 CTransportUnit* transport = static_cast<CTransportUnit*>(owner); in UnloadLand() 741 auto transport = static_cast<CTransportUnit*>(owner); in UnloadDrop() 799 CTransportUnit* transport = static_cast<CTransportUnit*>(owner); in UnloadLandFlood() [all …]
|
H A D | TransportCAI.h | 17 class CTransportUnit; variable 53 void UnloadUnits_Land(Command& c, CTransportUnit* transport); 54 void UnloadUnits_Drop(Command& c, CTransportUnit* transport); 55 void UnloadUnits_LandFlood(Command& c, CTransportUnit* transport); 56 void UnloadUnits_CrashFlood(Command& c, CTransportUnit* transport); // FIXME incomplete
|
H A D | MobileCAI.cpp | 445 CTransportUnit* tran = dynamic_cast<CTransportUnit*>(unit); in ExecuteLoadUnits()
|
/dports/games/spring/spring_98.0/rts/Sim/Units/UnitTypes/ |
H A D | TransportUnit.cpp | 25 CR_BIND_DERIVED(CTransportUnit, CUnit, ) 27 CR_REG_METADATA(CTransportUnit, ( 35 CR_BIND(CTransportUnit::TransportedUnit,) 37 CR_REG_METADATA_SUB(CTransportUnit,TransportedUnit,( 47 void CTransportUnit::Update() in Update() 96 void CTransportUnit::DependentDied(CObject* o) in DependentDied() 212 bool CTransportUnit::CanTransport(const CUnit* unit) const in CanTransport() 243 const CTransportUnit* u = this; in CanTransport() 256 bool CTransportUnit::AttachUnit(CUnit* unit, int piece) in AttachUnit() 349 bool CTransportUnit::DetachUnitCore(CUnit* unit) in DetachUnitCore() [all …]
|
H A D | TransportUnit.h | 9 class CTransportUnit : public CUnit 12 CR_DECLARE(CTransportUnit) 23 CTransportUnit(): transportCapacityUsed(0), transportMassUsed(0) { in CTransportUnit() function
|
/dports/games/spring/spring_98.0/rts/Sim/Units/ |
H A D | Unit.h | 36 class CTransportUnit; variable 176 void SetTransporter(CTransportUnit* trans) { transporter = trans; } in SetTransporter() 177 inline CTransportUnit* GetTransporter() const { in GetTransporter() 229 CTransportUnit* transporter;
|
H A D | UnitLoader.cpp | 78 unit = new CTransportUnit(); in LoadUnit()
|
/dports/games/spring/spring_98.0/rts/Sim/Units/Scripts/ |
H A D | UnitScript.cpp | 700 CTransportUnit* tu = dynamic_cast<CTransportUnit*>(unit); in AttachUnit() 712 CTransportUnit* tu = dynamic_cast<CTransportUnit*>(unit); in DropUnit()
|
/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/ |
H A D | HoverAirMoveType.cpp | 374 if (b0 && b1 && dynamic_cast<CTransportUnit*>(owner) == NULL) { in UpdateHovering() 441 const bool isTransporter = (dynamic_cast<CTransportUnit*>(owner) != NULL); in UpdateFlying()
|
/dports/games/spring/spring_98.0/rts/Game/ |
H A D | SelectedUnitsHandler.cpp | 343 const CTransportUnit* trans = unit->GetTransporter(); in AddUnit()
|
/dports/games/spring/spring_98.0/rts/Lua/ |
H A D | LuaSyncedRead.cpp | 3123 const CTransportUnit* tu = dynamic_cast<CTransportUnit*>(unit); in GetUnitIsTransporting() 3128 std::list<CTransportUnit::TransportedUnit>::const_iterator it; in GetUnitIsTransporting()
|
H A D | LuaOpenGL.cpp | 1671 const CTransportUnit* trans = unit->GetTransporter(); in DrawListAtUnit() 1715 const CTransportUnit* trans = unit->GetTransporter(); in DrawFuncAtUnit()
|
/dports/games/spring/spring_98.0/rts/Rendering/ |
H A D | UnitDrawer.cpp | 1679 const CTransportUnit* trans = u->GetTransporter(); in UpdateUnitDrawPos()
|