- Fixed: Screenwipes now pause sounds, since there can be sounds playing

during it.
- UI sounds are now omitted from savegames.
- Fixed: Menu sounds had been restricted to one at a time again.
- Moved the P_SerializeSounds() call to the end of G_SerializeLevel() so that
  it will occur after the players are loaded.
- Added fixes from FreeBSD for 0-length and very large string buffers
  passed to myvsnprintf.


SVN r1063 (trunk)
This commit is contained in:
Randy Heit 2008-07-05 03:32:44 +00:00
commit 78890d57bc
14 changed files with 173 additions and 95 deletions

View file

@ -31,6 +31,7 @@
#include "doomstat.h"
#include "sbar.h"
#include "r_interpolate.h"
#include "i_sound.h"
extern gamestate_t wipegamestate;
@ -72,6 +73,13 @@ void P_Ticker (void)
interpolator.UpdateInterpolations ();
r_NoInterpolate = true;
if (!demoplayback)
{
// This is a separate slot from the wipe in D_Display(), because this
// is delayed slightly due to latency. (Even on a singleplayer game!)
GSnd->SetSfxPaused(!!playerswiping, 2);
}
// run the tic
if (paused || (playerswiping && !demoplayback) || P_CheckTickerPaused())
return;