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;
Central state/object manager and communications hub.
Provides a 3D graphical representation of the simulation Idea: simulation runs at it's own constant r...
Ogre::TextAreaOverlayElement * guiAuto3D[5]
void resizeOverlay(LoadedOverlay &overlay)
Ogre::TextAreaOverlayElement * boat_depth_value_taoe
Marine.
bool handleMousePressed()
std::vector< LoadedOverlay > m_loaded_overlays
Ogre::Overlay * loadOverlay(Ogre::String name, bool autoResizeRation=true)
void UpdateMarineHUD(ActorPtr vehicle)
Ogre::Overlay * m_racing_overlay
Ogre::TextureUnitState * speedotexture
void showPressureOverlay(bool show)
void UpdatePressureOverlay(RoR::GfxActor *ga)
Ogre::TextureUnitState * boatspeedtexture
void UpdateRacingGui(RoR::GfxScene *gs)
void UpdateLandVehicleHUD(RoR::GfxActor *ga)
void placeNeedle(Ogre::SceneNode *node, float x, float y, float len)
Ogre::TextureUnitState * boatsteertexture
Ogre::OverlayElement * guiGear3D
truck
Ogre::OverlayElement * guiGear
truck
float mTimeUntilNextToggle
Ogre::Overlay * m_marine_dashboard_needles_overlay
Ogre::OverlayElement * bthro2
Ogre::Overlay * m_truck_pressure_needle_overlay
Ogre::OverlayElement * bthro1
AeroDashOverlay m_aerial_dashboard
Ogre::TextureUnitState * tachotexture
Ogre::OverlayElement * loadOverlayElement(Ogre::String name)
void showDashboardOverlays(bool show, ActorPtr actor)
Ogre::TextAreaOverlayElement * bestlaptime
Ogre::TextAreaOverlayElement * guiAuto[5]
Ogre::Overlay * m_marine_dashboard_overlay
Ogre::TextAreaOverlayElement * laptime
bool handleMouseReleased()
Ogre::Overlay * m_truck_pressure_overlay
Ogre::Overlay * m_machine_dashboard_overlay
Ogre::TextureUnitState * pressuretexture
void reposPanel(Ogre::OverlayElement *oe)
void resizePanel(Ogre::OverlayElement *oe)
void UpdateAerialHUD(RoR::GfxActor *ga)
void updateStats(bool detailed=false)
void ToggleDashboardOverlays(ActorPtr actor)
void SetIgnition(int engine, bool visible, bool ignited)
Ogre::TextureUnitState * adibugstexture
Ogre::TextureUnitState * airspeedtexture
void SetEngineRpm(int engine, float pcent)
Ogre::TextureUnitState * altimetertexture
void SetThrottle(int engine, bool visible, float value)
bool mouse_drag_in_progress
AeroSwitchWidget engstarts[4]
void SetEngineTorque(int engine, float pcent)
Ogre::TextureUnitState * aoatexture
Ogre::TextAreaOverlayElement * alt_value_textarea
Ogre::TextureUnitState * hsivtexture
Ogre::TextureUnitState * hsibugtexture
Ogre::TextureUnitState * hsihtexture
Ogre::TextureUnitState * hsirosetexture
Ogre::Overlay * dash_overlay
AeroEngineWidget engines[4]
Ogre::Overlay * needles_overlay
float thrust_track_height
static void SetMaterialHighlighted(Ogre::MaterialPtr, bool value)
void SetEngineFailed(int engine, bool value)
std::vector< AeroInteractiveWidget * > aero_widgets
void SetEnginePitch(int engine, float value)
Ogre::TextureUnitState * vvitexture
Ogre::TextureUnitState * aditapetexture
AeroInteractiveWidget * hovered_widget