MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Engine_Loop

Method Engine_Loop

Source/Fodder.cpp:18940–18954  ·  view source on GitHub ↗

* Main Engine Loop * * false = Exit * true = Restart */

Source from the content-addressed store, hash-verified

18938 * true = Restart
18939 */
18940bool cFodder::Engine_Loop() {
18941
18942 for (;;) {
18943
18944 Game_Setup();
18945
18946 if (Mission_Loop() == -1)
18947 return true;
18948
18949 if (mParams->mSinglePhase)
18950 break;
18951 }
18952
18953 return false;
18954}
18955
18956bool cFodder::GameOverCheck() {
18957

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected