- "baseq3" literal replacement patch (by Erik Auerswald) applied

- Commented setting of the cl_guid cvar because md5.c is not 64-bit safe.
This commit is contained in:
Thilo Schulz 2006-04-26 13:36:58 +00:00
parent dbdc92d4be
commit c116695ea7
6 changed files with 7 additions and 6 deletions

View file

@ -150,7 +150,7 @@ int Export_BotLibSetup(void)
Com_sprintf(logfilename, sizeof(logfilename), "%s%c%s%cbotlib.log", homedir, PATH_SEP, gamedir, PATH_SEP);
}
else {
Com_sprintf(logfilename, sizeof(logfilename), "%s%cbaseq3%cbotlib.log", homedir, PATH_SEP, PATH_SEP);
Com_sprintf(logfilename, sizeof(logfilename), "%s%c" BASEGAME "%cbotlib.log", homedir, PATH_SEP, PATH_SEP);
}
} else {
Com_sprintf(logfilename, sizeof(logfilename), "botlib.log");

View file

@ -2549,7 +2549,8 @@ void CL_Init( void ) {
Cvar_Set( "cl_running", "1" );
CL_GenerateQKey();
Cvar_Get("cl_guid", Com_MD5File(QKEY_FILE, 0), CVAR_USERINFO | CVAR_ROM);
// Uncomment this once md5.c has been made 64 bit-safe.
// Cvar_Get("cl_guid", Com_MD5File(QKEY_FILE, 0), CVAR_USERINFO | CVAR_ROM);
Com_Printf( "----- Client Initialization Complete -----\n" );
}

View file

@ -25,7 +25,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 "baseq3-1"
#define GAME_VERSION BASEGAME "-1"
#define DEFAULT_GRAVITY 800
#define GIB_HEALTH -40

View file

@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//==================================================================
// the "gameversion" client command will print this plus compile date
#define GAMEVERSION "baseq3"
#define GAMEVERSION BASEGAME
#define BODY_QUEUE_SIZE 8

View file

@ -33,6 +33,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define CONSOLE_WINDOW_ICON "ioq3 console"
// 1.32 released 7-10-2002
#define BASEGAME "baseq3"
#define MAX_TEAMNAME 32
#ifdef _MSC_VER

View file

@ -535,8 +535,6 @@ issues.
#define MAX_FILE_HANDLES 64
#define BASEGAME "baseq3"
qboolean FS_Initialized( void );
void FS_InitFilesystem ( void );