Lines 1-5
Link Here
|
1 |
--- code/qcommon/files.c.orig 2011-03-10 02:01:27.599036000 +0100 |
1 |
--- code/qcommon/files.c.orig 2011-12-24 13:29:32.000000000 +0100 |
2 |
+++ code/qcommon/files.c 2011-03-19 22:40:42.000000000 +0100 |
2 |
+++ code/qcommon/files.c 2012-03-07 23:00:53.000000000 +0100 |
3 |
@@ -250,6 +250,7 @@ |
3 |
@@ -250,6 +250,7 @@ |
4 |
#endif |
4 |
#endif |
5 |
|
5 |
|
Lines 8-22
Link Here
|
8 |
static cvar_t *fs_basegame; |
8 |
static cvar_t *fs_basegame; |
9 |
static cvar_t *fs_gamedirvar; |
9 |
static cvar_t *fs_gamedirvar; |
10 |
static searchpath_t *fs_searchpaths; |
10 |
static searchpath_t *fs_searchpaths; |
11 |
@@ -2956,6 +2957,7 @@ |
11 |
@@ -2859,6 +2860,7 @@ |
12 |
fs_debug = Cvar_Get( "fs_debug", "0", 0 ); |
12 |
fs_debug = Cvar_Get( "fs_debug", "0", 0 ); |
13 |
fs_basepath = Cvar_Get ("fs_basepath", Sys_DefaultInstallPath(), CVAR_INIT|CVAR_PROTECTED ); |
13 |
fs_basepath = Cvar_Get ("fs_basepath", Sys_DefaultInstallPath(), CVAR_INIT ); |
14 |
fs_basegame = Cvar_Get ("fs_basegame", "", CVAR_INIT ); |
14 |
fs_basegame = Cvar_Get ("fs_basegame", "", CVAR_INIT ); |
15 |
+ fs_libpath = Cvar_Get ("fs_libpath", Sys_DefaultLibPath(), CVAR_INIT ); |
15 |
+ fs_libpath = Cvar_Get ("fs_libpath", Sys_DefaultLibPath(), CVAR_INIT ); |
16 |
homePath = Sys_DefaultHomePath(); |
16 |
homePath = Sys_DefaultHomePath(); |
17 |
if (!homePath || !homePath[0]) { |
17 |
if (!homePath || !homePath[0]) { |
18 |
homePath = fs_basepath->string; |
18 |
homePath = fs_basepath->string; |
19 |
@@ -2975,6 +2977,11 @@ |
19 |
@@ -2878,6 +2880,11 @@ |
20 |
if (fs_apppath->string[0]) |
20 |
if (fs_apppath->string[0]) |
21 |
FS_AddGameDirectory(fs_apppath->string, gameName); |
21 |
FS_AddGameDirectory(fs_apppath->string, gameName); |
22 |
#endif |
22 |
#endif |
Lines 28-36
Link Here
|
28 |
|
28 |
|
29 |
// NOTE: same filtering below for mods and basegame |
29 |
// NOTE: same filtering below for mods and basegame |
30 |
if (fs_homepath->string[0] && Q_stricmp(fs_homepath->string,fs_basepath->string)) { |
30 |
if (fs_homepath->string[0] && Q_stricmp(fs_homepath->string,fs_basepath->string)) { |
31 |
--- code/qcommon/qcommon.h.orig 2011-03-10 02:01:27.599036000 +0100 |
31 |
--- code/qcommon/qcommon.h.orig 2011-12-24 13:29:32.000000000 +0100 |
32 |
+++ code/qcommon/qcommon.h 2011-03-19 22:40:42.000000000 +0100 |
32 |
+++ code/qcommon/qcommon.h 2012-03-07 23:00:53.000000000 +0100 |
33 |
@@ -1104,6 +1104,9 @@ |
33 |
@@ -1099,6 +1099,9 @@ |
34 |
char *Sys_DefaultAppPath(void); |
34 |
char *Sys_DefaultAppPath(void); |
35 |
#endif |
35 |
#endif |
36 |
|
36 |
|
Lines 40-47
Link Here
|
40 |
void Sys_SetDefaultHomePath(const char *path); |
40 |
void Sys_SetDefaultHomePath(const char *path); |
41 |
char *Sys_DefaultHomePath(void); |
41 |
char *Sys_DefaultHomePath(void); |
42 |
const char *Sys_TempPath(void); |
42 |
const char *Sys_TempPath(void); |
43 |
--- code/sys/sys_main.c.orig 2011-02-23 17:17:09.009063000 +0100 |
43 |
--- code/sys/sys_main.c.orig 2011-12-24 13:29:37.000000000 +0100 |
44 |
+++ code/sys/sys_main.c 2011-03-19 22:40:42.000000000 +0100 |
44 |
+++ code/sys/sys_main.c 2012-03-07 23:00:53.000000000 +0100 |
45 |
@@ -49,6 +49,7 @@ |
45 |
@@ -49,6 +49,7 @@ |
46 |
|
46 |
|
47 |
static char binaryPath[ MAX_OSPATH ] = { 0 }; |
47 |
static char binaryPath[ MAX_OSPATH ] = { 0 }; |