This commit is contained in:
Paul 2001-06-22 20:06:39 +00:00
parent b8acfaa783
commit 135a2ae31b
10 changed files with 135 additions and 187 deletions

View file

@ -70,6 +70,10 @@
#include "game\gameslot.h"
#endif
#ifndef __FMA_FMA_H__
#include "fma\fma.h"
#endif
/* Std Lib
------- */
@ -278,10 +282,23 @@ void CFrontEndScene::setMode(FrontEndMode _newMode)
}
// Open new mode
if(_newMode==MODE__EXIT_TO_MAP)
if(_newMode==MODE__EXIT_TO_GAME)
{
CGameSlotManager::GameSlot *gameSlot;
gameSlot=CGameSlotManager::getSlotData();
if(gameSlot->m_hasSeenOpeningFMA)
{
GameState::setNextScene(&MapScene);
}
else
{
CFmaScene::selectFma(CFmaScene::FMA_SCRIPT__INTRO);
GameState::setNextScene(&FmaScene);
gameSlot->m_hasSeenOpeningFMA=true;
}
m_exitToGame=true;
GameState::setNextScene(&MapScene);
}
else