the GPL, effectively creating a free stand-alone game. You do not need Quake III Arena to play this game. Bots were added starting in 0.6.0. They will spout taunts and everything! Concepts would be loose, so don't expect a remake of Klesk in his original Klesk form, or any direct remakes of any map/weapon/model. WWW: http://openarena.ws/ PR: ports/115072 Submitted by: Josh Tolbert <hemi at puresimplicity.net>
31 lines
1 KiB
C
31 lines
1 KiB
C
--- ./code/unix/unix_main.c.orig Sun Feb 26 18:22:12 2006
|
|
+++ ./code/unix/unix_main.c Sun Jun 11 17:26:26 2006
|
|
@@ -774,6 +774,7 @@
|
|
char curpath[MAX_OSPATH];
|
|
char fname[MAX_OSPATH];
|
|
char *basepath;
|
|
+ char *libpath;
|
|
char *homepath;
|
|
char *pwdpath;
|
|
char *cdpath;
|
|
@@ -789,14 +790,19 @@
|
|
// TODO: use fs_searchpaths from files.c
|
|
pwdpath = Sys_Cwd();
|
|
basepath = Cvar_VariableString( "fs_basepath" );
|
|
+ libpath = LIBDIR;
|
|
homepath = Cvar_VariableString( "fs_homepath" );
|
|
cdpath = Cvar_VariableString( "fs_cdpath" );
|
|
gamedir = Cvar_VariableString( "fs_game" );
|
|
|
|
- libHandle = try_dlopen(pwdpath, gamedir, fname, fqpath);
|
|
+ if(!libHandle && homepath)
|
|
+ libHandle = try_dlopen(pwdpath, gamedir, fname, fqpath);
|
|
|
|
if(!libHandle && homepath)
|
|
libHandle = try_dlopen(homepath, gamedir, fname, fqpath);
|
|
+
|
|
+ if(!libHandle && basepath)
|
|
+ libHandle = try_dlopen(libpath, gamedir, fname, fqpath);
|
|
|
|
if(!libHandle && basepath)
|
|
libHandle = try_dlopen(basepath, gamedir, fname, fqpath);
|