This commit is contained in:
parent
b8acfaa783
commit
135a2ae31b
10 changed files with 135 additions and 187 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue