This commit is contained in:
parent
6c6f7f744b
commit
2b8ba9ab84
2 changed files with 5 additions and 6 deletions
|
@ -409,13 +409,11 @@ void CGameOverScene::thinkGameOver(int _frames)
|
|||
{
|
||||
if(!CFader::isFading())
|
||||
{
|
||||
if(!m_finishedGrowingText)
|
||||
m_gameOverTimer+=_frames;
|
||||
|
||||
if(m_finishedGrowingText&&!m_readyToExit)
|
||||
{
|
||||
m_gameOverTimer+=_frames;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!m_readyToExit&&PadGetDown(0)&(PAD_START|PAD_CROSS))
|
||||
if(PadGetDown(0)&(PAD_START|PAD_CROSS)||m_gameOverTimer>GAMEOVER_DISPLAY_TIME)
|
||||
{
|
||||
m_readyToExit=true;
|
||||
CFader::setFadingOut();
|
||||
|
|
|
@ -79,6 +79,7 @@ private:
|
|||
GAMEOVER_FONT_GROWSPEED=150,
|
||||
GAMEOVER_FONT_GROWSPACING=900,
|
||||
GAMEOVER_FONT_MAXSIN=1500,
|
||||
GAMEOVER_DISPLAY_TIME=60*10,
|
||||
};
|
||||
void initGameOver();
|
||||
void thinkGameOver(int _frames);
|
||||
|
|
Loading…
Add table
Reference in a new issue