aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/qcommon.h
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-12-14 21:53:57 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-12-14 21:53:57 +0000
commitdfa688010700e8d1dadbe2bd6919e73d499b27ca (patch)
tree7573f20264932c532df99ec75395a485cfdef794 /code/qcommon/qcommon.h
parent7fda2bcce8db155720ec8bfe16b7ea17667aaf89 (diff)
downloadioquake3-aero-dfa688010700e8d1dadbe2bd6919e73d499b27ca.tar.gz
ioquake3-aero-dfa688010700e8d1dadbe2bd6919e73d499b27ca.zip
Add gamedirectory in .app to searchpath on MacOSX
git-svn-id: svn://svn.icculus.org/quake3/trunk@1239 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/qcommon.h')
-rw-r--r--code/qcommon/qcommon.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h
index 916e6e5..33d3d9e 100644
--- a/code/qcommon/qcommon.h
+++ b/code/qcommon/qcommon.h
@@ -545,6 +545,8 @@ qboolean FS_ConditionalRestart( int checksumFeed );
void FS_Restart( int checksumFeed );
// shutdown and restart the filesystem so changes to fs_gamedir can take effect
+void FS_AddGameDirectory( const char *path, const char *dir );
+
char **FS_ListFiles( const char *directory, const char *extension, int *numfiles );
// directory should not have either a leading or trailing /
// if extension is "/", only subdirectories will be returned
@@ -1027,6 +1029,11 @@ void Sys_Mkdir( const char *path );
char *Sys_Cwd( void );
void Sys_SetDefaultInstallPath(const char *path);
char *Sys_DefaultInstallPath(void);
+
+#ifdef MACOS_X
+char *Sys_DefaultAppPath(void);
+#endif
+
void Sys_SetDefaultHomePath(const char *path);
char *Sys_DefaultHomePath(void);
const char *Sys_Dirname( char *path );