diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-09-24 16:24:46 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-09-24 16:24:46 +0000 |
commit | 3366e11bbdb586679227494f389039e6d58f8e0e (patch) | |
tree | 3ea5f70d17bdb3369a3ff3cb0e5a232e09971bbd /source/files.h | |
parent | 1cbac0b239e6cad5c4b7e1d30e1d0f32b0d8062f (diff) |
Com_sprintf -> Q_snprintf, Q_strncpyz -> Q_strlcpy, Q_strcat -> Q_strlcat.
Q_vsnprintf, Q_sprintf, Q_concat, Q_strlcpy, Q_strcat all return number of
characters to be written into the buffer regardless of overflow.
Removed COM_AppendExtension, FS_CopyFile, FS_RemoveFile, FS_CopyFile_f.
Made sure Q2PRO can only write files into subdirectories of the game directory
with a fixed extension.
Moved `play' command implementation into main client code.
Added support for `s_ambient' value of 3.
Renamed `net_log_active' cvar to `net_log_enable'.
Log files are now written into `logs/' subdirectory.
Diffstat (limited to 'source/files.h')
-rw-r--r-- | source/files.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/files.h b/source/files.h index 252499a..16c2e81 100644 --- a/source/files.h +++ b/source/files.h @@ -81,8 +81,6 @@ qboolean FS_NeedRestart( void ); void FS_Restart( void ); qboolean FS_SafeToRestart( void ); -qboolean FS_CopyFile( const char *src, const char *dst ); -qboolean FS_RemoveFile( const char *path ); qboolean FS_RenameFile( const char *from, const char *to ); char *FS_CopyExtraInfo( const char *name, const fsFileInfo_t *info ); @@ -122,11 +120,6 @@ void FS_FreeList( void **list ); qboolean FS_LastFileFromPak( void ); -void FS_CreatePath( const char *path ); - -//const char *FS_GetFileName( fileHandle_t f ); -const char *FS_GetFileFullPath( fileHandle_t f ); - char *FS_ReplaceSeparators( char *s, int separator ); int FS_pathcmp( const char *s1, const char *s2 ); |