diff options
author | Andrey Nazarov <skuller@skuller.net> | 2010-06-11 15:53:23 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2010-06-11 15:53:23 +0000 |
commit | 698c7913e8e56649cb413b155bc9381e91f10bbe (patch) | |
tree | c5cb81a12a63c113d9c24c7a680f0154cbbf4888 /source/files.h | |
parent | 47dead035e7bb52e9b360af6d9f13cdf5623b97f (diff) |
Fixed gamedir not being changed properly when connecting to a server.
Forbid changing gamedir at all while connected to a server.
Automatically restart filesystem when user changes gamedir while disconnected.
Killed FS_NeedRestart and FS_SafeToRestart.
Diffstat (limited to 'source/files.h')
-rw-r--r-- | source/files.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/files.h b/source/files.h index b0a9d29..e352bec 100644 --- a/source/files.h +++ b/source/files.h @@ -77,14 +77,14 @@ typedef struct file_info_s { void FS_Init( void ); void FS_Shutdown( void ); -qboolean FS_NeedRestart( void ); void FS_Restart( qboolean total ); -qboolean FS_SafeToRestart( void ); #if USE_CLIENT qboolean FS_RenameFile( const char *from, const char *to ); #endif +void FS_CreatePath( char *path ); + char *FS_CopyExtraInfo( const char *name, const file_info_t *info ); size_t FS_FOpenFile( const char *filename, fileHandle_t *f, int mode ); |