MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / setPauseFlag

Function setPauseFlag

src/OpenLoco/src/SceneManager.cpp:124–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 void setPauseFlag(PauseFlags value)
125 {
126 if (_pausedState == PauseFlags::none)
127 {
128 onPause();
129 }
130 _pausedState |= value;
131 }
132
133 void unsetPauseFlag(PauseFlags value)
134 {

Callers 4

openBrowsePromptFunction · 0.85
internalOpenFunction · 0.85
openFunction · 0.85
togglePauseFunction · 0.85

Calls 1

onPauseFunction · 0.85

Tested by

no test coverage detected