|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
38 #define DD_MAXCHAR 255
39 #define DD_MAX_SCREWPROP 6
40 #define DD_MAX_AEROENGINE 6
43 #define MAX_CONTROLS 1024
dashData_t(char type, const char *name)
MyGUI::VectorWidgetPtr widgets
void setEnabled(size_t key, bool val)
char * getChar(size_t key)
@ DD_AEROENGINE_THROTTLE_5
@ DD_ENGINE_SPEEDO_MPH
speedo in kilometer per hour
float getNumeric(size_t key)
@ DD_CUSTOM_LIGHT8
custom light 8 on
char format_neg_zero[255]
Test for undesired '-0.0' on display. Only for link type "format". Empty if not applicable.
@ DD_SCREW_THROTTLE_0
ties locked
@ DD_AEROENGINE_THROTTLE_0
@ DD_ENGINE_TURBO
speedo in miles per hour
int loadDashBoard(Ogre::String filename, bool textureLayer)
@ DD_CUSTOM_LIGHT2
custom light 2 on
@ DD_CUSTOM_LIGHT5
custom light 5 on
layoutLink_t controls[MAX_CONTROLS]
@ DD_ENGINE_CLUTCH
automatic gear
bool WasDashboardLoaded() const
@ DD_AEROENGINE_THROTTLE_4
void setFloat(size_t key, float val)
MyGUI::RotatingSkin * rotImg
std::string getLinkNameForID(DashData id)
void loadLayoutInternal()
void setVisible(bool visible, bool smooth=true)
@ DD_ENGINE_GEAR
clutch warning lamp
void setChar(size_t key, const char *val)
@ DD_CUSTOM_LIGHT3
custom light 3 on
@ DD_PARKINGBRAKE
chassis pitch
MyGUI::IntPoint initialPosition
void setVisible3d(bool visibility)
bool _getBool(size_t key)
MyGUI::IntSize initialSize
int getDataType(size_t key)
@ DD_CUSTOM_LIGHT4
custom light 4 on
@ DD_SIGNAL_TURNRIGHT
Right blinker is lit.
Central state/object manager and communications hub.
int getLinkIDForName(Ogre::String &str)
void setBool(size_t key, bool val)
@ DD_CUSTOM_LIGHT7
custom light 7 on
@ DD_CUSTOM_LIGHT10
custom light 10 on
bool getEnabled(size_t key)
void setInt(size_t key, int val)
@ DD_SIGNAL_WARNING
The warning-blink indicator is lit.
std::vector< DashBoard * > m_dashboards
@ DD_SIGNAL_TURNLEFT
Left blinker is lit.
struct RoR::dashData_t dashData_t
DashBoardManager * manager
@ DD_ENGINE_IGNITION
turbo gauge
char value_char[DD_MAXCHAR]
@ DD_AEROENGINE_THROTTLE_2
void loadLayoutRecursive(MyGUI::WidgetPtr ptr)
@ DD_CUSTOM_LIGHT6
custom light 6 on
@ DD_TRACTIONCONTROL_MODE
low pressure
struct RoR::DashBoard::layoutLink_t layoutLink_t
float _getFloat(size_t key)
void setVisible(bool visibility)
DashBoard(DashBoardManager *manager, Ogre::String filename, bool textureLayer)
@ DD_CUSTOM_LIGHT1
custom light 1 on
@ DD_LOCKED
parking brake status
@ DD_AEROENGINE_THROTTLE_1
@ DD_AEROENGINE_THROTTLE_3
@ DD_LOW_PRESSURE
locked lamp
@ DD_ENGINE_NUM_GEAR
current gear
@ DD_ENGINE_AUTO_GEAR
string like "P R N G"
@ DD_ENGINE_AUTOGEAR_STRING
string like "<current gear>/<max gear>"
@ DD_ENGINE_CLUTCH_WARNING
battery lamp
MyGUI::WindowPtr mainWidget
union RoR::dataContainer_t dataContainer_t
@ DD_LIGHTS_LEGACY
Alias of 'sidelights'.
@ DD_CUSTOM_LIGHT9
custom light 9 on