This commit is contained in:
parent
95b3458811
commit
7de947bfc2
6 changed files with 46 additions and 22 deletions
|
@ -769,16 +769,10 @@ eng=Carolina Beroza
|
||||||
eng=Michael Rubinelli
|
eng=Michael Rubinelli
|
||||||
[STR__CREDITS__JEREMY_BARNES]
|
[STR__CREDITS__JEREMY_BARNES]
|
||||||
eng=Jeremy Barnes
|
eng=Jeremy Barnes
|
||||||
[STR__CREDITS__TBD]
|
[STR__CREDITS__IAN_SEDENSKY]
|
||||||
eng=TBD
|
eng=Ian Sedensky
|
||||||
[STR__CREDITS__TBD]
|
[STR__CREDITS__CHUCK_SHEFFIELD]
|
||||||
eng=TBD
|
eng=Chuck Sheffield
|
||||||
[STR__CREDITS__TBD]
|
|
||||||
eng=TBD
|
|
||||||
[STR__CREDITS__TBD]
|
|
||||||
eng=TBD
|
|
||||||
[STR__CREDITS__TBD]
|
|
||||||
eng=TBD
|
|
||||||
[STR__CREDITS__TBD]
|
[STR__CREDITS__TBD]
|
||||||
eng=TBD
|
eng=TBD
|
||||||
[STR__CREDITS__THQ_AND_THE_THQ_LOGO_ARE_TRADEMARKS_AND_OR_REGISTERED_TRADEMARKS_OF_THQ_INC]
|
[STR__CREDITS__THQ_AND_THE_THQ_LOGO_ARE_TRADEMARKS_AND_OR_REGISTERED_TRADEMARKS_OF_THQ_INC]
|
||||||
|
|
|
@ -203,7 +203,8 @@ static u16 s_creditData[]=
|
||||||
CC_NAME, STR__CREDITS__TBD,
|
CC_NAME, STR__CREDITS__TBD,
|
||||||
CC_BLANK_LINE,
|
CC_BLANK_LINE,
|
||||||
CC_TITLE, STR__CREDITS__TESTERS,
|
CC_TITLE, STR__CREDITS__TESTERS,
|
||||||
CC_NAME, STR__CREDITS__TBD,
|
CC_NAME, STR__CREDITS__IAN_SEDENSKY,
|
||||||
|
CC_NAME, STR__CREDITS__CHUCK_SHEFFIELD,
|
||||||
CC_END_OF_PAGE,
|
CC_END_OF_PAGE,
|
||||||
|
|
||||||
CC_TITLE, STR__CREDITS__PRODUCT_MANAGER,
|
CC_TITLE, STR__CREDITS__PRODUCT_MANAGER,
|
||||||
|
|
|
@ -469,6 +469,7 @@ void CMapScene::think(int _frames)
|
||||||
CSoundMediator::playSfx(CSoundMediator::SFX_FRONT_END__OK);
|
CSoundMediator::playSfx(CSoundMediator::SFX_FRONT_END__OK);
|
||||||
m_readyToExit=true;
|
m_readyToExit=true;
|
||||||
CFader::setFadingOut();
|
CFader::setFadingOut();
|
||||||
|
CSaveScene::setNextScene(CSaveScene::NEXTSCENE_MAP);
|
||||||
GameState::setNextScene(&SaveScene);
|
GameState::setNextScene(&SaveScene);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,6 +54,10 @@
|
||||||
#include "map\map.h"
|
#include "map\map.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __BACKEND_PARTY_H__
|
||||||
|
#include "backend\party.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Std Lib
|
/* Std Lib
|
||||||
------- */
|
------- */
|
||||||
|
@ -84,6 +88,7 @@
|
||||||
|
|
||||||
CSaveScene SaveScene;
|
CSaveScene SaveScene;
|
||||||
|
|
||||||
|
CSaveScene::NEXTSCENE CSaveScene::s_nextScene=CSaveScene::NEXTSCENE_MAP;
|
||||||
|
|
||||||
static const int NORMAL__FRAME_W=416;
|
static const int NORMAL__FRAME_W=416;
|
||||||
static const int NORMAL__FRAME_H=160;
|
static const int NORMAL__FRAME_H=160;
|
||||||
|
@ -547,8 +552,17 @@ void CSaveScene::setMode(MODE _newMode)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MODE__READYTOEXIT:
|
case MODE__READYTOEXIT:
|
||||||
|
switch(s_nextScene)
|
||||||
|
{
|
||||||
|
case NEXTSCENE_MAP:
|
||||||
GameState::setNextScene(&MapScene);
|
GameState::setNextScene(&MapScene);
|
||||||
break;
|
break;
|
||||||
|
case NEXTSCENE_PARTY:
|
||||||
|
GameState::setNextScene(&FmaScene);
|
||||||
|
CFmaScene::selectFma(CFmaScene::FMA_SCRIPT__PARTY);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -558,6 +572,7 @@ void CSaveScene::setMode(MODE _newMode)
|
||||||
|
|
||||||
|
|
||||||
//////////
|
//////////
|
||||||
|
#ifdef __USER_paul__
|
||||||
static const char *text[]=
|
static const char *text[]=
|
||||||
{
|
{
|
||||||
"MODE__CONFIRMSAVE",
|
"MODE__CONFIRMSAVE",
|
||||||
|
@ -576,6 +591,7 @@ static const char *text[]=
|
||||||
"MODE__READYTOEXIT",
|
"MODE__READYTOEXIT",
|
||||||
};
|
};
|
||||||
PAUL_DBGMSG("newmode: %s",text[m_mode]);
|
PAUL_DBGMSG("newmode: %s",text[m_mode]);
|
||||||
|
#endif
|
||||||
//////////
|
//////////
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,13 @@
|
||||||
class CSaveScene: public CScene
|
class CSaveScene: public CScene
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
NEXTSCENE_MAP,
|
||||||
|
NEXTSCENE_PARTY,
|
||||||
|
}NEXTSCENE;
|
||||||
|
|
||||||
|
|
||||||
void init();
|
void init();
|
||||||
void shutdown();
|
void shutdown();
|
||||||
void render();
|
void render();
|
||||||
|
@ -44,6 +51,8 @@ public:
|
||||||
int readyToShutdown();
|
int readyToShutdown();
|
||||||
char *getSceneName() {return"Save";}
|
char *getSceneName() {return"Save";}
|
||||||
|
|
||||||
|
static void setNextScene(NEXTSCENE _next) {s_nextScene=_next;}
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
typedef enum
|
typedef enum
|
||||||
|
@ -87,6 +96,8 @@ private:
|
||||||
int m_timeInMode;
|
int m_timeInMode;
|
||||||
int m_userResponse;
|
int m_userResponse;
|
||||||
|
|
||||||
|
static NEXTSCENE s_nextScene;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -78,8 +78,8 @@
|
||||||
#include "gui\pointer.h"
|
#include "gui\pointer.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __FMA_FMA_H__
|
#ifndef __SAVE_SAVE_H__
|
||||||
#include "fma\fma.h"
|
#include "save\save.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -410,9 +410,10 @@ void CShopScene::think(int _frames)
|
||||||
CFader::setFadingOut();
|
CFader::setFadingOut();
|
||||||
if(s_gotoPartyScreen)
|
if(s_gotoPartyScreen)
|
||||||
{
|
{
|
||||||
|
// Go to save screen, followed by party screen
|
||||||
s_gotoPartyScreen=false;
|
s_gotoPartyScreen=false;
|
||||||
CFmaScene::selectFma(CFmaScene::FMA_SCRIPT__PARTY);
|
CSaveScene::setNextScene(CSaveScene::NEXTSCENE_PARTY);
|
||||||
GameState::setNextScene(&FmaScene);
|
GameState::setNextScene(&SaveScene);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue