#include <TurboProp.h>
|
| Turboprop (ActorPtr a, const char *propname, NodeNum_t nr, NodeNum_t nb, NodeNum_t np1, NodeNum_t np2, NodeNum_t np3, NodeNum_t np4, NodeNum_t tqn, float power, Ogre::String const &propfoilname, bool disable_smoke, bool ispiston, float fpitch) |
|
| ~Turboprop () |
|
void | updateForces (float dt, int doUpdate) |
|
void | setThrottle (float val) |
|
float | getThrottle () |
|
void | reset () |
|
void | toggleReverse () |
|
void | setReverse (bool val) |
|
bool | getReverse () |
|
void | flipStart () |
|
float | getRPM () |
|
float | getRPMpc () |
|
void | setRPM (float _rpm) |
|
float | getpropwash () |
|
Ogre::Vector3 | getAxis () |
|
bool | isFailed () |
|
AeroEngineType | getType () |
|
bool | getIgnition () |
|
void | setIgnition (bool val) |
|
int | getNoderef () |
|
bool | getWarmup () |
|
float | getRadius () |
|
void | updateVisuals (RoR::GfxActor *gfx_actor) override |
|
void | setVisible (bool visible) override |
|
virtual | ~AeroEngine () |
|
Definition at line 38 of file TurboProp.h.
◆ Turboprop()
Turboprop::Turboprop |
( |
ActorPtr |
a, |
|
|
const char * |
propname, |
|
|
NodeNum_t |
nr, |
|
|
NodeNum_t |
nb, |
|
|
NodeNum_t |
np1, |
|
|
NodeNum_t |
np2, |
|
|
NodeNum_t |
np3, |
|
|
NodeNum_t |
np4, |
|
|
NodeNum_t |
tqn, |
|
|
float |
power, |
|
|
Ogre::String const & |
propfoilname, |
|
|
bool |
disable_smoke, |
|
|
bool |
ispiston, |
|
|
float |
fpitch |
|
) |
| |
◆ ~Turboprop()
Turboprop::~Turboprop |
( |
| ) |
|
◆ flipStart()
void Turboprop::flipStart |
( |
| ) |
|
|
virtual |
◆ getAxis()
Ogre::Vector3 RoR::Turboprop::getAxis |
( |
| ) |
|
|
inlinevirtual |
◆ getIgnition()
bool RoR::Turboprop::getIgnition |
( |
| ) |
|
|
inlinevirtual |
◆ getNoderef()
int RoR::Turboprop::getNoderef |
( |
| ) |
|
|
inlinevirtual |
◆ getpropwash()
float RoR::Turboprop::getpropwash |
( |
| ) |
|
|
inlinevirtual |
◆ getRadius()
float RoR::Turboprop::getRadius |
( |
| ) |
|
|
inlinevirtual |
◆ getReverse()
bool RoR::Turboprop::getReverse |
( |
| ) |
|
|
inlinevirtual |
◆ getRPM()
float RoR::Turboprop::getRPM |
( |
| ) |
|
|
inlinevirtual |
◆ getRPMpc()
float RoR::Turboprop::getRPMpc |
( |
| ) |
|
|
inlinevirtual |
◆ getThrottle()
float Turboprop::getThrottle |
( |
| ) |
|
|
virtual |
◆ getType()
◆ getWarmup()
bool RoR::Turboprop::getWarmup |
( |
| ) |
|
|
inlinevirtual |
◆ isFailed()
bool RoR::Turboprop::isFailed |
( |
| ) |
|
|
inlinevirtual |
◆ reset()
void Turboprop::reset |
( |
| ) |
|
|
virtual |
◆ setIgnition()
void RoR::Turboprop::setIgnition |
( |
bool |
val | ) |
|
|
inlinevirtual |
◆ setReverse()
void Turboprop::setReverse |
( |
bool |
val | ) |
|
|
virtual |
◆ setRPM()
void Turboprop::setRPM |
( |
float |
_rpm | ) |
|
|
virtual |
◆ setThrottle()
void Turboprop::setThrottle |
( |
float |
val | ) |
|
|
virtual |
◆ setVisible()
void Turboprop::setVisible |
( |
bool |
visible | ) |
|
|
overridevirtual |
◆ toggleReverse()
void Turboprop::toggleReverse |
( |
| ) |
|
|
virtual |
◆ updateForces()
void Turboprop::updateForces |
( |
float |
dt, |
|
|
int |
doUpdate |
|
) |
| |
|
virtual |
◆ updateVisuals()
◆ airdensity
float RoR::Turboprop::airdensity |
|
private |
◆ airfoil
◆ axis
Ogre::Vector3 RoR::Turboprop::axis |
|
private |
◆ bladewidth
float RoR::Turboprop::bladewidth |
|
private |
◆ debug
char RoR::Turboprop::debug[256] |
|
private |
◆ failed
bool RoR::Turboprop::failed |
|
private |
◆ failedold
bool RoR::Turboprop::failedold |
|
private |
◆ fixed_pitch
float RoR::Turboprop::fixed_pitch |
|
private |
◆ fullpower
float RoR::Turboprop::fullpower |
|
private |
◆ ignition
bool RoR::Turboprop::ignition |
|
private |
◆ indicated_torque
float RoR::Turboprop::indicated_torque |
◆ is_piston
bool RoR::Turboprop::is_piston |
◆ lastflip
float RoR::Turboprop::lastflip |
|
private |
◆ m_actor
◆ max_torque
float RoR::Turboprop::max_torque |
◆ maxrevpitch
float RoR::Turboprop::maxrevpitch |
|
private |
◆ mod_id
int RoR::Turboprop::mod_id |
|
private |
◆ nodeback
◆ nodep
◆ noderef
◆ numblades
int RoR::Turboprop::numblades |
|
private |
◆ pitch
float RoR::Turboprop::pitch |
◆ pitchspeed
float RoR::Turboprop::pitchspeed |
|
private |
◆ proparea
float RoR::Turboprop::proparea |
|
private |
◆ propwash
float RoR::Turboprop::propwash |
|
private |
◆ radius
float RoR::Turboprop::radius |
|
private |
◆ regspeed
float RoR::Turboprop::regspeed |
|
private |
◆ reverse
bool RoR::Turboprop::reverse |
|
private |
◆ rotenergy
double RoR::Turboprop::rotenergy |
|
private |
◆ rpm
float RoR::Turboprop::rpm |
|
private |
◆ smokeNode
Ogre::SceneNode* RoR::Turboprop::smokeNode |
|
private |
◆ smokePS
Ogre::ParticleSystem* RoR::Turboprop::smokePS |
|
private |
◆ src_id
int RoR::Turboprop::src_id |
|
private |
◆ thr_id
int RoR::Turboprop::thr_id |
|
private |
◆ throtle
float RoR::Turboprop::throtle |
|
private |
◆ timer
float RoR::Turboprop::timer |
|
private |
◆ torquedist
float RoR::Turboprop::torquedist |
|
private |
◆ torquenode
◆ twistmap
float RoR::Turboprop::twistmap[5] |
|
private |
◆ warmup
bool RoR::Turboprop::warmup |
|
private |
◆ warmupstart
float RoR::Turboprop::warmupstart |
|
private |
◆ warmuptime
float RoR::Turboprop::warmuptime |
|
private |
The documentation for this class was generated from the following files: