- Added two new net commands: DEM_WIPEON and DEM_WIPEOFF. They keep track of

when a player is going through a screen wipe and act like a pause, so the
  game doesn't run several tics afterward to catch up with it.


SVN r485 (trunk)
This commit is contained in:
Randy Heit 2007-02-15 00:01:21 +00:00
commit ecc45d5d6e
8 changed files with 34 additions and 11 deletions

View file

@ -125,6 +125,7 @@ bool netgame; // only true if packets are broadcast
bool multiplayer;
player_t players[MAXPLAYERS];
bool playeringame[MAXPLAYERS];
DWORD playerswiping;
int consoleplayer; // player taking events
int gametic;
@ -2116,7 +2117,10 @@ void G_ReadDemoTiccmd (ticcmd_t *cmd, int player)
{
BYTE i = ReadByte (&demo_p);
if (i < MAXPLAYERS)
{
playeringame[i] = false;
playerswiping &= ~(1 << i);
}
}
break;