MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / _AndroidGameInnerLoop

Function _AndroidGameInnerLoop

engine/source/platformAndroid/main.cpp:52–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52void _AndroidGameInnerLoop()
53{
54 if (!appIsRunning)
55 {
56 return;
57 }
58 else if (Game->isRunning())
59 {
60 S32 start = Platform::getRealMilliseconds();
61
62 Game->mainLoop();
63
64 gLastStart = start;
65
66 }
67 else
68 {
69 Game->mainShutdown();
70
71 // Need to actually exit the application now
72 exit(0);
73 }
74}
75
76void _AndroidGameResignActive()
77{

Callers 1

engine_update_frameFunction · 0.85

Calls 3

mainLoopMethod · 0.80
mainShutdownMethod · 0.80
isRunningMethod · 0.45

Tested by

no test coverage detected