- warning removal

SVN r3043 (trunk)
This commit is contained in:
Christoph Oelckers 2010-12-15 18:57:39 +00:00
parent b42952b85c
commit 419a998bdf
3 changed files with 15 additions and 1 deletions

View File

@ -2328,9 +2328,10 @@ void D_DoomMain (void)
{
D_DoomLoop (); // never returns
}
catch (CRestartException &ex)
catch (CRestartException &)
{
// Music and sound should be stopped first
screen->GameRestart();
S_StopMusic(true);
S_StopAllChannels ();

View File

@ -1384,6 +1384,16 @@ int DFrameBuffer::GetMaxViewPitch(bool down)
return down? MAX_DN_ANGLE*ANGLE_1 : -MAX_UP_ANGLE*ANGLE_1;
}
//==========================================================================
//
// DFrameBuffer :: GameRestart
//
//==========================================================================
void DFrameBuffer::GameRestart()
{
}
//===========================================================================
//
//

View File

@ -407,6 +407,9 @@ public:
virtual void GetHitlist(BYTE *hitlist);
virtual void PrecacheTexture(FTexture *tex, int cache);
// Report a game restart
virtual void GameRestart();
// Screen wiping
virtual bool WipeStartScreen(int type);
virtual void WipeEndScreen();