MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / defer

Method defer

linux/lnxapp.cpp:195–206  ·  view source on GitHub ↗

defer returns some flags. essentially this function defers program control to OS.

Source from the content-addressed store, hash-verified

193
194// defer returns some flags. essentially this function defers program control to OS.
195unsigned oeLnxApplication::defer() {
196 bool res = 0;
197
198 if (m_DeferFunc) {
199 res = 1;
200 (*m_DeferFunc)(true);
201 }
202
203 con_Defer();
204
205 return res;
206}
207
208// set a function to run when deferring to OS.
209void oeLnxApplication::set_defer_handler(void (*func)(bool)) { m_DeferFunc = func; }

Callers 15

FontDoIOFunction · 0.45
GameSequencerFunction · 0.45
GameFrameFunction · 0.45
PostLevelResultsFunction · 0.45
TelComMainFunction · 0.45
TelComMainMenuFunction · 0.45
TelComSingleShipSelectFunction · 0.45
mve_PlayMovieFunction · 0.45
DoUIFunction · 0.45
DoUIMethod · 0.45
TelComGoalStatusFunction · 0.45
DescentDeferFunction · 0.45

Calls 1

con_DeferFunction · 0.70

Tested by

no test coverage detected