From 1dc7e94283f026b17c1e793cbf7542872812ffda Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 28 Dec 2005 02:32:43 +0000 Subject: * Added master server to source, based on dpmaster * Removed gametype, fraglimit and dmflags cvars * Removed CD key authentication stuff * Implemented a means to save and restore cmd context * Bumped protocol version up to 69 (same as 68) * Removed various references to punkbuster * Maps on create server menu now sorted by name * Fixed some warnings --- src/game/bg_public.h | 2 +- src/game/g_local.h | 3 --- src/game/g_main.c | 6 ++---- 3 files changed, 3 insertions(+), 8 deletions(-) (limited to 'src/game') diff --git a/src/game/bg_public.h b/src/game/bg_public.h index 2b713951..6bcb0d4e 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // because games can change separately from the main system version, we need a // second version that must match between game and cgame -#define GAME_VERSION "tremulous" +#define GAME_VERSION "base" #define DEFAULT_GRAVITY 800 diff --git a/src/game/g_local.h b/src/game/g_local.h index 0d38cf02..4431edaf 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -29,9 +29,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA //================================================================== -// the "gameversion" client command will print this plus compile date -#define GAMEVERSION "tremulous" - #define INFINITE 1000000 #define FRAMETIME 100 // msec diff --git a/src/game/g_main.c b/src/game/g_main.c index 95cbda14..e77b5b76 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -112,7 +112,7 @@ static cvarTable_t gameCvarTable[ ] = { &g_cheats, "sv_cheats", "", 0, 0, qfalse }, // noset vars - { NULL, "gamename", GAMEVERSION , CVAR_SERVERINFO | CVAR_ROM, 0, qfalse }, + { NULL, "gamename", GAME_VERSION , CVAR_SERVERINFO | CVAR_ROM, 0, qfalse }, { NULL, "gamedate", __DATE__ , CVAR_ROM, 0, qfalse }, { &g_restarted, "g_restarted", "0", CVAR_ROM, 0, qfalse }, { NULL, "sv_mapname", "", CVAR_SERVERINFO | CVAR_ROM, 0, qfalse }, @@ -545,10 +545,8 @@ void G_InitGame( int levelTime, int randomSeed, int restart ) G_RegisterCvars( ); - //TA: moved after G_RegisterCvars since G_Printf - // now depends on the value of g_dedicated G_Printf( "------- Game Initialization -------\n" ); - G_Printf( "gamename: %s\n", GAMEVERSION ); + G_Printf( "gamename: %s\n", GAME_VERSION ); G_Printf( "gamedate: %s\n", __DATE__ ); G_ProcessIPBans( ); -- cgit