|
| | Propulsion () |
| |
| virtual | ~Propulsion () |
| |
| void | Init (DynamicBody *b, SceneGraph::Model *m, const int tank_mass, const double effExVel, const float lin_Thrust[], const float ang_Thrust) |
| |
| void | Init (DynamicBody *b, SceneGraph::Model *m, const int tank_mass, const double effExVel, const float lin_Thrust[], const float ang_Thrust, const float lin_AccelerationCap[]) |
| |
| virtual void | SaveToJson (Json &jsonObj, Space *space) |
| |
| virtual void | LoadFromJson (const Json &jsonObj, Space *space) |
| |
| void | SetThrustPowerMult (double p, const float lin_Thrust[], const float ang_Thrust) |
| |
| void | SetAccelerationCapMult (double p, const float lin_AccelerationCap[]) |
| |
| double | GetThrust (Thruster thruster) const |
| |
| vector3d | GetThrust (const vector3d &dir) const |
| |
| double | GetThrustFwd () const |
| |
| double | GetThrustRev () const |
| |
| double | GetThrustUp () const |
| |
| double | GetThrustMin () const |
| |
| vector3d | GetThrustUncapped (const vector3d &dir) const |
| |
| double | GetAccel (Thruster thruster) const |
| |
| double | GetAccelFwd () const |
| |
| double | GetAccelRev () const |
| |
| double | GetAccelUp () const |
| |
| double | GetAccelMin () const |
| |
| double | ClampLinThrusterState (int axis, double level) const |
| |
| vector3d | ClampLinThrusterState (const vector3d &levels) const |
| |
| void | SetLinThrusterState (int axis, double level) |
| |
| void | SetLinThrusterState (const vector3d &levels) |
| |
| void | SetAngThrusterState (int axis, double level) |
| |
| void | SetAngThrusterState (const vector3d &levels) |
| |
| vector3d | GetLinThrusterState () const |
| |
| vector3d | GetAngThrusterState () const |
| |
| void | ClearLinThrusterState () |
| |
| void | ClearAngThrusterState () |
| |
| vector3d | GetActualLinThrust () const |
| |
| vector3d | GetActualAngThrust () const |
| |
| FuelState | GetFuelState () const |
| |
| double | GetFuel () const |
| |
| double | GetFuelReserve () const |
| |
| void | SetFuel (const double f) |
| |
| void | SetFuelReserve (const double f) |
| |
| float | GetFuelUseRate () |
| |
| double | GetSpeedReachedWithFuel () const |
| |
| float | FuelTankMassLeft () |
| |
| void | SetFuelTankMass (int fTank) |
| |
| void | UpdateFuel (const float timeStep) |
| |
| bool | IsFuelStateChanged () |
| |
| void | Render (Graphics::Renderer *r, const Camera *camera, const vector3d &viewCoords, const matrix4x4d &viewTransform) |
| |
| void | AIModelCoordsMatchSpeedRelTo (const vector3d &v, const DynamicBody *other) |
| |
| void | AIAccelToModelRelativeVelocity (const vector3d &v) |
| |
| bool | AIMatchVel (const vector3d &vel, const vector3d &powerLimit=vector3d(1.0)) |
| |
| bool | AIChangeVelBy (const vector3d &diffvel, const vector3d &powerLimit=vector3d(1.0)) |
| |
| vector3d | AIChangeVelDir (const vector3d &diffvel) |
| |
| void | AIMatchAngVelObjSpace (const vector3d &angvel, const vector3d &powerLimit=vector3d(1.0), bool ignoreZeroValues=false) |
| |
| double | AIFaceUpdir (const vector3d &updir, double av=0) |
| |
| double | AIFaceDirection (const vector3d &dir, double av=0) |
| |
| vector3d | AIGetLeadDir (const Body *target, const vector3d &targaccel, double projspeed) |
| |
| | RefCounted () |
| |
| virtual | ~RefCounted () |
| |
| void | IncRefCount () const |
| |
| void | DecRefCount () const |
| |
| int | GetRefCount () const |
| |
| virtual | ~LuaWrappable () |
| |