Skip to content

Commit

Permalink
- "baseq3" literal replacement patch (by Erik Auerswald) applied
Browse files Browse the repository at this point in the history
- Commented setting of the cl_guid cvar because md5.c is not 64-bit safe.
  • Loading branch information
Thilo Schulz committed Apr 26, 2006
1 parent dbdc92d commit c116695
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion code/botlib/be_interface.c
Expand Up @@ -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");
Expand Down
3 changes: 2 additions & 1 deletion code/client/cl_main.c
Expand Up @@ -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" );
}
Expand Down
2 changes: 1 addition & 1 deletion code/game/bg_public.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/game/g_local.h
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions code/qcommon/q_shared.h
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions code/qcommon/qcommon.h
Expand Up @@ -535,8 +535,6 @@ issues.

#define MAX_FILE_HANDLES 64

#define BASEGAME "baseq3"

qboolean FS_Initialized( void );

void FS_InitFilesystem ( void );
Expand Down

0 comments on commit c116695

Please sign in to comment.