Add gamedirectory in .app to searchpath on MacOSX

This commit is contained in:
Thilo Schulz 2007-12-14 21:53:57 +00:00
parent 3648af78dc
commit 87fa68fd41
3 changed files with 32 additions and 1 deletions

View file

@ -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 );