summaryrefslogtreecommitdiff
path: root/src/g_game.c
diff options
context:
space:
mode:
authorSimon Howard2006-05-05 19:49:34 +0000
committerSimon Howard2006-05-05 19:49:34 +0000
commit319f427c9369bfe1c5a6cad636ecd91934c3024d (patch)
tree070bef41921a855a7e39d380e87d8c38978e97a1 /src/g_game.c
parentcbd744280545a38e62ecc0290a1312b3aeff9ae0 (diff)
downloadchocolate-doom-319f427c9369bfe1c5a6cad636ecd91934c3024d.tar.gz
chocolate-doom-319f427c9369bfe1c5a6cad636ecd91934c3024d.tar.bz2
chocolate-doom-319f427c9369bfe1c5a6cad636ecd91934c3024d.zip
Syncronise the -timer/-avg parameters across all clients to avoid desyncs.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 475
Diffstat (limited to 'src/g_game.c')
-rw-r--r--src/g_game.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/g_game.c b/src/g_game.c
index 39d68918..6fe36116 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: g_game.c 472 2006-04-28 17:31:21Z fraggle $
+// $Id: g_game.c 475 2006-05-05 19:49:34Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -134,7 +134,7 @@
static const char
-rcsid[] = "$Id: g_game.c 472 2006-04-28 17:31:21Z fraggle $";
+rcsid[] = "$Id: g_game.c 475 2006-05-05 19:49:34Z fraggle $";
#include <string.h>
#include <stdlib.h>
@@ -218,7 +218,11 @@ skill_t gameskill;
boolean respawnmonsters;
int gameepisode;
int gamemap;
-
+
+// If non-zero, exit the level after this number of minutes.
+
+int timelimit;
+
boolean paused;
boolean sendpause; // send a pause event next tic
boolean sendsave; // send a save event next tic