This commit is contained in:
parent
031ef5c5e4
commit
3de0332396
2 changed files with 10 additions and 2 deletions
|
@ -143,7 +143,7 @@ SpriteBank *m_sprites;
|
||||||
FontBank *m_font;
|
FontBank *m_font;
|
||||||
|
|
||||||
CFrontEndScene::FrontEndMode CFrontEndScene::s_startMode=MODE__NICK_LOGO;
|
CFrontEndScene::FrontEndMode CFrontEndScene::s_startMode=MODE__NICK_LOGO;
|
||||||
|
int CFrontEndScene::s_bootUp=1;
|
||||||
|
|
||||||
/*----------------------------------------------------------------------
|
/*----------------------------------------------------------------------
|
||||||
Function:
|
Function:
|
||||||
|
@ -152,8 +152,15 @@ CFrontEndScene::FrontEndMode CFrontEndScene::s_startMode=MODE__NICK_LOGO;
|
||||||
Returns:
|
Returns:
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
void CFrontEndScene::init()
|
void CFrontEndScene::init()
|
||||||
|
{
|
||||||
|
if (s_bootUp)
|
||||||
|
{ // Dont display ingame loading screen on bootup
|
||||||
|
s_bootUp=0;
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
CLevel::DisplayLoadingScreen();
|
CLevel::DisplayLoadingScreen();
|
||||||
|
}
|
||||||
|
|
||||||
for(int i=0;i<MODE__NONE;i++)
|
for(int i=0;i<MODE__NONE;i++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -91,6 +91,7 @@ private:
|
||||||
static class CFrontEndMode *s_modeCodes[];
|
static class CFrontEndMode *s_modeCodes[];
|
||||||
|
|
||||||
static FrontEndMode s_startMode;
|
static FrontEndMode s_startMode;
|
||||||
|
static int s_bootUp;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue