mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- warning removal
SVN r3043 (trunk)
This commit is contained in:
parent
b42952b85c
commit
419a998bdf
3 changed files with 15 additions and 1 deletions
|
@ -2328,9 +2328,10 @@ void D_DoomMain (void)
|
||||||
{
|
{
|
||||||
D_DoomLoop (); // never returns
|
D_DoomLoop (); // never returns
|
||||||
}
|
}
|
||||||
catch (CRestartException &ex)
|
catch (CRestartException &)
|
||||||
{
|
{
|
||||||
// Music and sound should be stopped first
|
// Music and sound should be stopped first
|
||||||
|
screen->GameRestart();
|
||||||
S_StopMusic(true);
|
S_StopMusic(true);
|
||||||
S_StopAllChannels ();
|
S_StopAllChannels ();
|
||||||
|
|
||||||
|
|
|
@ -1384,6 +1384,16 @@ int DFrameBuffer::GetMaxViewPitch(bool down)
|
||||||
return down? MAX_DN_ANGLE*ANGLE_1 : -MAX_UP_ANGLE*ANGLE_1;
|
return down? MAX_DN_ANGLE*ANGLE_1 : -MAX_UP_ANGLE*ANGLE_1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//==========================================================================
|
||||||
|
//
|
||||||
|
// DFrameBuffer :: GameRestart
|
||||||
|
//
|
||||||
|
//==========================================================================
|
||||||
|
|
||||||
|
void DFrameBuffer::GameRestart()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
|
@ -407,6 +407,9 @@ public:
|
||||||
virtual void GetHitlist(BYTE *hitlist);
|
virtual void GetHitlist(BYTE *hitlist);
|
||||||
virtual void PrecacheTexture(FTexture *tex, int cache);
|
virtual void PrecacheTexture(FTexture *tex, int cache);
|
||||||
|
|
||||||
|
// Report a game restart
|
||||||
|
virtual void GameRestart();
|
||||||
|
|
||||||
// Screen wiping
|
// Screen wiping
|
||||||
virtual bool WipeStartScreen(int type);
|
virtual bool WipeStartScreen(int type);
|
||||||
virtual void WipeEndScreen();
|
virtual void WipeEndScreen();
|
||||||
|
|
Loading…
Reference in a new issue