Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Modules | Data Structures | Enumerations | Enumerator | Functions
Game state

Makes all gameplay features work together. More...

Modules

 Message queue
 Ensures everything gets executed at right time & in right order.
 

Data Structures

class  RoR::GameContext
 Central game state manager. More...
 

Enumerations

enum class  RigDef::Keyword {
  RigDef::Keyword::INVALID = 0 , RigDef::Keyword::ADD_ANIMATION = 1 , RigDef::Keyword::AIRBRAKES , RigDef::Keyword::ANIMATORS ,
  RigDef::Keyword::ANTILOCKBRAKES , RigDef::Keyword::ASSETPACKS , RigDef::Keyword::AUTHOR , RigDef::Keyword::AXLES ,
  RigDef::Keyword::BACKMESH , RigDef::Keyword::BEAMS , RigDef::Keyword::BRAKES , RigDef::Keyword::CAB ,
  RigDef::Keyword::CAMERARAIL , RigDef::Keyword::CAMERAS , RigDef::Keyword::CINECAM , RigDef::Keyword::COLLISIONBOXES ,
  RigDef::Keyword::COMMANDS , RigDef::Keyword::COMMANDS2 , RigDef::Keyword::COMMENT , RigDef::Keyword::CONTACTERS ,
  RigDef::Keyword::CRUISECONTROL , RigDef::Keyword::CUSTOMDASHBOARDINPUTS , RigDef::Keyword::DEFAULT_SKIN , RigDef::Keyword::DESCRIPTION ,
  RigDef::Keyword::DETACHER_GROUP , RigDef::Keyword::DISABLEDEFAULTSOUNDS , RigDef::Keyword::ENABLE_ADVANCED_DEFORMATION , RigDef::Keyword::END ,
  RigDef::Keyword::END_COMMENT , RigDef::Keyword::END_DESCRIPTION , RigDef::Keyword::END_SECTION , RigDef::Keyword::ENGINE ,
  RigDef::Keyword::ENGOPTION , RigDef::Keyword::ENGTURBO , RigDef::Keyword::ENVMAP , RigDef::Keyword::EXHAUSTS ,
  RigDef::Keyword::EXTCAMERA , RigDef::Keyword::FILEFORMATVERSION , RigDef::Keyword::FILEINFO , RigDef::Keyword::FIXES ,
  RigDef::Keyword::FLARES , RigDef::Keyword::FLARES2 , RigDef::Keyword::FLARES3 , RigDef::Keyword::FLAREGROUPS_NO_IMPORT ,
  RigDef::Keyword::FLEXBODIES , RigDef::Keyword::FLEXBODY_CAMERA_MODE , RigDef::Keyword::FLEXBODYWHEELS , RigDef::Keyword::FORSET ,
  RigDef::Keyword::FORVERT , RigDef::Keyword::FORWARDCOMMANDS , RigDef::Keyword::FUSEDRAG , RigDef::Keyword::GLOBALS ,
  RigDef::Keyword::GUID , RigDef::Keyword::GUISETTINGS , RigDef::Keyword::HELP , RigDef::Keyword::HIDEINCHOOSER ,
  RigDef::Keyword::HOOKGROUP , RigDef::Keyword::HOOKS , RigDef::Keyword::HYDROS , RigDef::Keyword::IMPORTCOMMANDS ,
  RigDef::Keyword::INTERAXLES , RigDef::Keyword::LOCKGROUPS , RigDef::Keyword::LOCKGROUP_DEFAULT_NOLOCK , RigDef::Keyword::MANAGEDMATERIALS ,
  RigDef::Keyword::MATERIALFLAREBINDINGS , RigDef::Keyword::MESHWHEELS , RigDef::Keyword::MESHWHEELS2 , RigDef::Keyword::MINIMASS ,
  RigDef::Keyword::NODECOLLISION , RigDef::Keyword::NODES , RigDef::Keyword::NODES2 , RigDef::Keyword::PARTICLES ,
  RigDef::Keyword::PISTONPROPS , RigDef::Keyword::PROP_CAMERA_MODE , RigDef::Keyword::PROPS , RigDef::Keyword::RAILGROUPS ,
  RigDef::Keyword::RESCUER , RigDef::Keyword::RIGIDIFIERS , RigDef::Keyword::ROLLON , RigDef::Keyword::ROPABLES ,
  RigDef::Keyword::ROPES , RigDef::Keyword::ROTATORS , RigDef::Keyword::ROTATORS2 , RigDef::Keyword::SCREWPROPS ,
  RigDef::Keyword::SCRIPTS , RigDef::Keyword::SECTION , RigDef::Keyword::SECTIONCONFIG , RigDef::Keyword::SET_BEAM_DEFAULTS ,
  RigDef::Keyword::SET_BEAM_DEFAULTS_SCALE , RigDef::Keyword::SET_COLLISION_RANGE , RigDef::Keyword::SET_DEFAULT_MINIMASS , RigDef::Keyword::SET_INERTIA_DEFAULTS ,
  RigDef::Keyword::SET_MANAGEDMATERIALS_OPTIONS , RigDef::Keyword::SET_NODE_DEFAULTS , RigDef::Keyword::SET_SHADOWS , RigDef::Keyword::SET_SKELETON_SETTINGS ,
  RigDef::Keyword::SHOCKS , RigDef::Keyword::SHOCKS2 , RigDef::Keyword::SHOCKS3 , RigDef::Keyword::SLIDENODE_CONNECT_INSTANTLY ,
  RigDef::Keyword::SLIDENODES , RigDef::Keyword::SLOPE_BRAKE , RigDef::Keyword::SOUNDSOURCES , RigDef::Keyword::SOUNDSOURCES2 ,
  RigDef::Keyword::SPEEDLIMITER , RigDef::Keyword::SUBMESH , RigDef::Keyword::SUBMESH_GROUNDMODEL , RigDef::Keyword::TEXCOORDS ,
  RigDef::Keyword::TIES , RigDef::Keyword::TORQUECURVE , RigDef::Keyword::TRACTIONCONTROL , RigDef::Keyword::TRANSFERCASE ,
  RigDef::Keyword::TRIGGERS , RigDef::Keyword::TURBOJETS , RigDef::Keyword::TURBOPROPS , RigDef::Keyword::TURBOPROPS2 ,
  RigDef::Keyword::VIDEOCAMERA , RigDef::Keyword::WHEELDETACHERS , RigDef::Keyword::WHEELS , RigDef::Keyword::WHEELS2 ,
  RigDef::Keyword::WINGS
}
 
enum class  RoR::AppState {
  RoR::AppState::BOOTSTRAP , RoR::AppState::MAIN_MENU , RoR::AppState::SIMULATION , RoR::AppState::SHUTDOWN ,
  RoR::AppState::PRINT_HELP_EXIT , RoR::AppState::PRINT_VERSION_EXIT
}
 
enum class  RoR::MpState { RoR::MpState::DISABLED , RoR::MpState::CONNECTING , RoR::MpState::CONNECTED }
 
enum class  RoR::SimState { RoR::SimState::OFF , RoR::SimState::RUNNING , RoR::SimState::PAUSED , RoR::SimState::EDITOR_MODE }
 

Functions

const char * RigDef::KeywordToString (RigDef::Keyword keyword)
 

Detailed Description

Makes all gameplay features work together.

Enumeration Type Documentation

◆ AppState

enum class RoR::AppState
strong
Enumerator
BOOTSTRAP 

Initial state.

MAIN_MENU 
SIMULATION 
SHUTDOWN 
PRINT_HELP_EXIT 
PRINT_VERSION_EXIT 

Definition at line 314 of file Application.h.

◆ Keyword

enum class RigDef::Keyword
strong
Enumerator
INVALID 
ADD_ANIMATION 
AIRBRAKES 
ANIMATORS 
ANTILOCKBRAKES 
ASSETPACKS 
AUTHOR 
AXLES 
BACKMESH 
BEAMS 
BRAKES 
CAB 
CAMERARAIL 
CAMERAS 
CINECAM 
COLLISIONBOXES 
COMMANDS 
COMMANDS2 
COMMENT 
CONTACTERS 
CRUISECONTROL 
CUSTOMDASHBOARDINPUTS 
DEFAULT_SKIN 
DESCRIPTION 
DETACHER_GROUP 
DISABLEDEFAULTSOUNDS 
ENABLE_ADVANCED_DEFORMATION 
END 
END_COMMENT 
END_DESCRIPTION 
END_SECTION 
ENGINE 
ENGOPTION 
ENGTURBO 
ENVMAP 
EXHAUSTS 
EXTCAMERA 
FILEFORMATVERSION 
FILEINFO 
FIXES 
FLARES 
FLARES2 
FLARES3 
FLAREGROUPS_NO_IMPORT 
FLEXBODIES 
FLEXBODY_CAMERA_MODE 
FLEXBODYWHEELS 
FORSET 
FORVERT 
FORWARDCOMMANDS 
FUSEDRAG 
GLOBALS 
GUID 
GUISETTINGS 
HELP 
HIDEINCHOOSER 
HOOKGROUP 
HOOKS 
HYDROS 
IMPORTCOMMANDS 
INTERAXLES 
LOCKGROUPS 
LOCKGROUP_DEFAULT_NOLOCK 
MANAGEDMATERIALS 
MATERIALFLAREBINDINGS 
MESHWHEELS 
MESHWHEELS2 
MINIMASS 
NODECOLLISION 
NODES 
NODES2 
PARTICLES 
PISTONPROPS 
PROP_CAMERA_MODE 
PROPS 
RAILGROUPS 
RESCUER 
RIGIDIFIERS 
ROLLON 
ROPABLES 
ROPES 
ROTATORS 
ROTATORS2 
SCREWPROPS 
SCRIPTS 
SECTION 
SECTIONCONFIG 
SET_BEAM_DEFAULTS 
SET_BEAM_DEFAULTS_SCALE 
SET_COLLISION_RANGE 
SET_DEFAULT_MINIMASS 
SET_INERTIA_DEFAULTS 
SET_MANAGEDMATERIALS_OPTIONS 
SET_NODE_DEFAULTS 
SET_SHADOWS 
SET_SKELETON_SETTINGS 
SHOCKS 
SHOCKS2 
SHOCKS3 
SLIDENODE_CONNECT_INSTANTLY 
SLIDENODES 
SLOPE_BRAKE 
SOUNDSOURCES 
SOUNDSOURCES2 
SPEEDLIMITER 
SUBMESH 
SUBMESH_GROUNDMODEL 
TEXCOORDS 
TIES 
TORQUECURVE 
TRACTIONCONTROL 
TRANSFERCASE 
TRIGGERS 
TURBOJETS 
TURBOPROPS 
TURBOPROPS2 
VIDEOCAMERA 
WHEELDETACHERS 
WHEELS 
WHEELS2 
WINGS 

Definition at line 179 of file Application.h.

◆ MpState

enum class RoR::MpState
strong
Enumerator
DISABLED 

Not connected for whatever reason.

CONNECTING 
CONNECTED 

Definition at line 324 of file Application.h.

◆ SimState

enum class RoR::SimState
strong
Enumerator
OFF 
RUNNING 
PAUSED 
EDITOR_MODE 

Hacky, but whatever... added by Ulteq, 2016.

Definition at line 331 of file Application.h.

Function Documentation

◆ KeywordToString()

const char * RigDef::KeywordToString ( RigDef::Keyword  keyword)

Definition at line 711 of file Application.cpp.