MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / ApplicationState

Enum ApplicationState

src/Engine/Game.cpp:144–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142void Game::run()
143{
144 enum ApplicationState { RUNNING = 0, SLOWED = 1, PAUSED = 2 } runningState = RUNNING;
145 static const ApplicationState kbFocusRun[4] = { RUNNING, RUNNING, SLOWED, PAUSED };
146 static const ApplicationState stateRun[4] = { SLOWED, PAUSED, PAUSED, PAUSED };
147 // this will avoid processing SDL's resize event on startup, workaround for the heap allocation error it causes.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected