 |
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
32 #include <Overlay/OgreTextAreaOverlayElement.h>
48 void Setup(std::string
const& engfire_elemname, std::string
const& thr_elemname);
63 void Setup(std::string
const & elem_name, std::string
const & mat_on, std::string
const & mat_off);
76 void Setup(std::string
const & up, std::string
const & dn, std::string
const & disp);
91 void SetThrottle(
int engine,
bool visible,
float value);
96 void SetIgnition(
int engine,
bool visible,
bool ignited);
155 Ogre::Overlay *
o =
nullptr;
180 Ogre::Overlay *
loadOverlay(Ogre::String name,
bool autoResizeRation=
true);
187 void placeNeedle(Ogre::SceneNode *node,
float x,
float y,
float len);
193 Ogre::RenderWindow*
win =
nullptr;
229 Ogre::TextAreaOverlayElement*
guiAuto[5] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr};
230 Ogre::TextAreaOverlayElement*
guiAuto3D[5] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr };
233 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 * 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
bool mouse_drag_in_progress
Ogre::TextureUnitState * airspeedtexture
Ogre::Overlay * dash_overlay
bool handleMouseReleased()
Ogre::TextureUnitState * speedotexture
Ogre::OverlayElement * guiGear
truck
Ogre::TextureUnitState * tachotexture
Ogre::TextureUnitState * adibugstexture
Ogre::TextAreaOverlayElement * alt_value_textarea
AeroInteractiveWidget * hovered_widget
void showDashboardOverlays(bool show, ActorPtr actor)
void updateStats(bool detailed=false)
Central state/object manager and communications hub.
void reposPanel(Ogre::OverlayElement *oe)
Ogre::Overlay * m_truck_pressure_overlay
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::TextureUnitState * vvitexture
void showPressureOverlay(bool show)
AeroEngineWidget engines[4]
Ogre::TextureUnitState * aoatexture
Ogre::TextureUnitState * aditapetexture
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
std::vector< AeroInteractiveWidget * > aero_widgets
Ogre::Overlay * m_marine_dashboard_needles_overlay
void SetEngineTorque(int engine, float pcent)
void SetEngineRpm(int engine, float pcent)
Ogre::TextureUnitState * hsivtexture
Ogre::OverlayElement * bthro1
AeroDashOverlay m_aerial_dashboard
Ogre::TextAreaOverlayElement * boat_depth_value_taoe
Marine.
AeroSwitchWidget engstarts[4]
static void SetMaterialHighlighted(Ogre::MaterialPtr, bool value)
Ogre::Overlay * loadOverlay(Ogre::String name, bool autoResizeRation=true)
void SetEngineFailed(int engine, bool value)