RigsofRods
Soft-body Physics Simulation
Static Public Attributes
RoR::OverlayWrapper::VisibleOverlays Struct Reference

RoR needs to temporarily hide all overlays when player enters editor. More...

#include <OverlayWrapper.h>

Static Public Attributes

static const int RACING = BITMASK(4)
 
static const int TRUCK_TIRE_PRESSURE_OVERLAY = BITMASK(5)
 

Detailed Description

RoR needs to temporarily hide all overlays when player enters editor.

However, OGRE only provides per-overlay show() and hide() functionality. Thus, an external state must be kept to restore overlays after exiting the editor.

Definition at line 154 of file OverlayWrapper.h.

Field Documentation

◆ RACING

const int RoR::OverlayWrapper::VisibleOverlays::RACING = BITMASK(4)
static

Definition at line 156 of file OverlayWrapper.h.

◆ TRUCK_TIRE_PRESSURE_OVERLAY

const int RoR::OverlayWrapper::VisibleOverlays::TRUCK_TIRE_PRESSURE_OVERLAY = BITMASK(5)
static

Definition at line 157 of file OverlayWrapper.h.


The documentation for this struct was generated from the following file: