Add gamedirectory in .app to searchpath on MacOSX
This commit is contained in:
parent
3648af78dc
commit
87fa68fd41
3 changed files with 32 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue