Central state/object manager and communications hub.
Data structures representing 'truck' file format, see https://docs.rigsofrods.org/vehicle-creation/fi...
Core data structures for simulation; Everything affected by by either physics, network or user intera...
void updateForces(float dt, int doUpdate)
void setReverse(bool val)
float getAfterburnThrust() const
TurbojetVisual tjet_visual
void setVisible(bool visible) override
void setIgnition(bool val)
NodeNum_t GetBackNode() const override
bool m_afterburner_active
float m_rpm_percent
in percent!
float m_exhaust_velocity
in m/s
void setThrottle(float val)
void updateVisuals(RoR::GfxActor *gfx_actor) override
float getExhaustVelocity() const
virtual ~Turbojet() override
NodeNum_t GetFrontNode() const override
float m_max_dry_thrust
in kN
float m_afterburn_thrust
in kN
Ogre::SceneNode * m_smoke_scenenode
void SetupVisuals(RigDef::Turbojet &def, int num, std::string const &propname, Ogre::Entity *nozzle, Ogre::Entity *afterburner_flame)
void UpdateVisuals(RoR::GfxActor *gfx_actor)
Ogre::Entity * m_flame_entity
Ogre::Entity * m_nozzle_entity
Ogre::SceneNode * m_flame_scenenode
void SetNodes(NodeNum_t front, NodeNum_t back, NodeNum_t ref)
Ogre::SceneNode * m_nozzle_scenenode
void SetVisible(bool visible)
Ogre::ParticleSystem * m_smoke_particle
static const NodeNum_t NODENUM_INVALID
uint16_t NodeNum_t
Node position within Actor::ar_nodes; use RoR::NODENUM_INVALID as empty value.