|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
32 #include <Overlay/OgreTextAreaOverlayElement.h>
49 void Setup(std::string
const & elem_name, std::string
const & mat_on, std::string
const & mat_off);
59 void Setup(std::string
const & up, std::string
const & dn, std::string
const & disp);
69 void SetThrottle(
int engine,
bool visible,
float value);
74 void SetIgnition(
int engine,
bool visible,
bool ignited);
122 Ogre::Overlay *
o =
nullptr;
147 Ogre::Overlay *
loadOverlay(Ogre::String name,
bool autoResizeRation=
true);
163 void placeNeedle(Ogre::SceneNode *node,
float x,
float y,
float len);
169 Ogre::RenderWindow*
win =
nullptr;
207 Ogre::TextAreaOverlayElement*
guiAuto[5] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr};
208 Ogre::TextAreaOverlayElement*
guiAuto3D[5] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr };
211 Ogre::TextAreaOverlayElement*
laptime =
nullptr;
void SetIgnition(int engine, bool visible, bool ignited)
void UpdateMarineHUD(ActorPtr vehicle)
Ogre::OverlayElement * guiGear3D
truck
Ogre::Overlay * needles_overlay
Ogre::TextureUnitState * pressuretexture
std::vector< LoadedOverlay > m_loaded_overlays
Ogre::TextureUnitState * altimetertexture
Ogre::Overlay * m_racing_overlay
void resizePanel(Ogre::OverlayElement *oe)
Ogre::TextAreaOverlayElement * guiAuto3D[5]
Ogre::TextAreaOverlayElement * laptime
void UpdateAerialHUD(RoR::GfxActor *ga)
void UpdateRacingGui(RoR::GfxScene *gs)
Ogre::OverlayElement * loadOverlayElement(Ogre::String name)
Ogre::TextureUnitState * boatspeedtexture
void ToggleDashboardOverlays(ActorPtr actor)
Ogre::Overlay * m_truck_pressure_needle_overlay
Ogre::TextAreaOverlayElement * guiAuto[5]
Ogre::OverlayElement * display
Ogre::OverlayElement * bthro2
Ogre::Overlay * m_machine_dashboard_overlay
Provides a 3D graphical representation of the simulation Idea: simulation runs at it's own constant r...
void UpdatePressureOverlay(RoR::GfxActor *ga)
void UpdateLandVehicleHUD(RoR::GfxActor *ga)
Ogre::TextureUnitState * boatsteertexture
Ogre::TextureUnitState * airspeedtexture
Ogre::Overlay * dash_overlay
bool handleMouseReleased()
static const int TRUCK_TIRE_PRESSURE_OVERLAY
Ogre::TextureUnitState * speedotexture
Ogre::OverlayElement * guiGear
truck
Ogre::TextureUnitState * tachotexture
Ogre::TextureUnitState * adibugstexture
Ogre::TextAreaOverlayElement * alt_value_textarea
void showDashboardOverlays(bool show, ActorPtr actor)
void updateStats(bool detailed=false)
void SetActive(bool value)
Ogre::OverlayElement * up_button
Central state/object manager and communications hub.
void Setup(std::string const &elem_name, std::string const &mat_on, std::string const &mat_off)
Ogre::OverlayElement * thr_element
void reposPanel(Ogre::OverlayElement *oe)
Ogre::Overlay * m_truck_pressure_overlay
RoR needs to temporarily hide all overlays when player enters editor.
float mTimeUntilNextToggle
float thrust_track_height
Ogre::TextureUnitState * hsibugtexture
void placeNeedle(Ogre::SceneNode *node, float x, float y, float len)
void resizeOverlay(LoadedOverlay &overlay)
Ogre::Overlay * m_marine_dashboard_overlay
Ogre::OverlayElement * element
Ogre::TextureUnitState * vvitexture
void showPressureOverlay(bool show)
Ogre::TextureUnitState * aoatexture
Ogre::TextureUnitState * pitch_texture
unsigned int m_visible_overlays
Ogre::TextureUnitState * aditapetexture
void Setup(std::string const &up, std::string const &dn, std::string const &disp)
void SetThrottle(int engine, bool visible, float value)
void SetEnginePitch(int engine, float value)
bool handleMousePressed()
Ogre::TextureUnitState * hsihtexture
Ogre::TextAreaOverlayElement * bestlaptime
Ogre::TextureUnitState * hsirosetexture
Ogre::Overlay * m_marine_dashboard_needles_overlay
Ogre::OverlayElement * dn_button
Ogre::OverlayElement * engstart_element
void SetEngineTorque(int engine, float pcent)
void DisplayFormat(const char *fmt,...)
Ogre::TextureUnitState * rpm_texture
void SetEngineRpm(int engine, float pcent)
Ogre::MaterialPtr on_material
Ogre::TextureUnitState * hsivtexture
Ogre::OverlayElement * bthro1
AeroDashOverlay m_aerial_dashboard
Ogre::TextAreaOverlayElement * boat_depth_value_taoe
Marine.
Ogre::OverlayElement * engfire_element
Ogre::TextureUnitState * torque_texture
AeroEngineOverlay engines[4]
Ogre::Overlay * loadOverlay(Ogre::String name, bool autoResizeRation=true)
Ogre::MaterialPtr off_material
void SetEngineFailed(int engine, bool value)