Changes for the new webpage and bug fixes since 0.2.9.6
git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@36 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
@@ -54,7 +54,6 @@ short CGame::runCycle(stCloneKeenPlus *pCKP)
|
||||
{
|
||||
CIntro Intro;
|
||||
Intro.Render(pCKP);
|
||||
//if (intro(pCKP)){ pCKP->shutdown=SHUTDOWN_EXIT; return 0; }
|
||||
pCKP->Control.skipstarting=0;
|
||||
}
|
||||
|
||||
@@ -147,16 +146,7 @@ short CGame::runCycle(stCloneKeenPlus *pCKP)
|
||||
break;
|
||||
|
||||
case MAINMNU_NEW_GAME:
|
||||
if(loadStartMenu(pCKP) == 1)
|
||||
{
|
||||
pCKP->shutdown = SHUTDOWN_EXIT;
|
||||
break;
|
||||
}
|
||||
//loadResourcesforGame(pCKP);
|
||||
loadResources(pCKP->Control.levelcontrol.episode, pCKP->GameData[pCKP->Resources.GameSelected-1].DataDirectory);
|
||||
|
||||
|
||||
pCKP->shutdown = SHUTDOWN_RESTART;
|
||||
pCKP->shutdown = SHUTDOWN_NEW_GAME;
|
||||
break;
|
||||
|
||||
case MAINMNU_ABOUT:
|
||||
@@ -210,6 +200,9 @@ short CGame::runCycle(stCloneKeenPlus *pCKP)
|
||||
|
||||
default: break;
|
||||
}
|
||||
|
||||
if(pCKP->shutdown == SHUTDOWN_NEW_GAME) return 0;
|
||||
|
||||
g_pLogFile->ftextOut("bottom of game control loop opt=%d crashflag=%d<br>", opt, crashflag);
|
||||
if(pCKP->shutdown == SHUTDOWN_EXIT) break;
|
||||
} while(opt != MAINMNU_QUIT && opt != MAINMNU_NEW_GAME && !crashflag);
|
||||
|
||||
Reference in New Issue
Block a user