RigsofRods
Soft-body Physics Simulation
Modules | Data Structures | Enumerations
Game state

Makes all gameplay features work together. More...

+ Collaboration diagram for Game state:

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  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  RoR::MpState { RoR::MpState::DISABLED, RoR::MpState::CONNECTING, RoR::MpState::CONNECTED }
 
enum  RoR::SimState { RoR::SimState::OFF, RoR::SimState::RUNNING, RoR::SimState::PAUSED, RoR::SimState::EDITOR_MODE }
 

Detailed Description

Makes all gameplay features work together.

Enumeration Type Documentation

◆ AppState

enum RoR::AppState
strong
Enumerator
BOOTSTRAP 

Initial state.

MAIN_MENU 
SIMULATION 
SHUTDOWN 
PRINT_HELP_EXIT 
PRINT_VERSION_EXIT 

Definition at line 159 of file Application.h.

◆ MpState

enum RoR::MpState
strong
Enumerator
DISABLED 

Not connected for whatever reason.

CONNECTING 
CONNECTED 

Definition at line 169 of file Application.h.

◆ SimState

enum RoR::SimState
strong
Enumerator
OFF 
RUNNING 
PAUSED 
EDITOR_MODE 

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

Definition at line 176 of file Application.h.