diff options
author | Simon Howard | 2006-02-19 13:42:27 +0000 |
---|---|---|
committer | Simon Howard | 2006-02-19 13:42:27 +0000 |
commit | bef7af18c671dbe1ff4d822206a15f4bcab56e67 (patch) | |
tree | e69f9be3eae2200d20cd207b42cae153b94f884f /src/g_game.c | |
parent | 76d69779c9bcebec6a2188d6b9e2483240e26a8a (diff) | |
download | chocolate-doom-bef7af18c671dbe1ff4d822206a15f4bcab56e67.tar.gz chocolate-doom-bef7af18c671dbe1ff4d822206a15f4bcab56e67.tar.bz2 chocolate-doom-bef7af18c671dbe1ff4d822206a15f4bcab56e67.zip |
Move tic number expansion code to common code. Parse game data packets
received from the server.
Strip down d_net.[ch] to work through the new networking code. Remove
game sync code.
Remove i_net.[ch] as it is no longer needed.
Working networking!
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 374
Diffstat (limited to 'src/g_game.c')
-rw-r--r-- | src/g_game.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/g_game.c b/src/g_game.c index 004e555f..647226ab 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: g_game.c 367 2006-02-15 12:57:58Z fraggle $ +// $Id: g_game.c 374 2006-02-19 13:42:27Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,14 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.25 2006/02/19 13:42:27 fraggle +// Move tic number expansion code to common code. Parse game data packets +// received from the server. +// Strip down d_net.[ch] to work through the new networking code. Remove +// game sync code. +// Remove i_net.[ch] as it is no longer needed. +// Working networking! +// // Revision 1.24 2006/02/15 12:57:58 fraggle // Remove the savegame buffer entirely. Keep the old savegame size limit // bug add a "vanilla_savegame_limit" config file option which allows @@ -119,7 +127,7 @@ static const char -rcsid[] = "$Id: g_game.c 367 2006-02-15 12:57:58Z fraggle $"; +rcsid[] = "$Id: g_game.c 374 2006-02-19 13:42:27Z fraggle $"; #include <string.h> #include <stdlib.h> @@ -824,12 +832,14 @@ void G_Ticker (void) if (netgame && !netdemo && !(gametic%ticdup) ) { + /* if (gametic > BACKUPTICS && consistancy[i][buf] != cmd->consistancy) { I_Error ("consistency failure (%i should be %i)", cmd->consistancy, consistancy[i][buf]); } + */ if (players[i].mo) consistancy[i][buf] = players[i].mo->x; else |