mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-18 10:02:12 +00:00
Remove FS_DeletePath() and Sys_Rmdir()
Thise functions where added with the filesystem rewrite but never used. Removing them saves us from implementing Sys_Rmdir() for Windows.
This commit is contained in:
parent
42db4d0cd2
commit
2205d54a41
4 changed files with 0 additions and 16 deletions
|
@ -257,14 +257,6 @@ FS_Gamedir(void)
|
||||||
return (fs_gamedir);
|
return (fs_gamedir);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
FS_DeletePath(char *path)
|
|
||||||
{
|
|
||||||
FS_DPrintf("FS_DeletePath(%s)\n", path);
|
|
||||||
|
|
||||||
Sys_Rmdir(path);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns a FILE * for a fileHandle_t.
|
* Returns a FILE * for a fileHandle_t.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -648,7 +648,6 @@ qboolean FS_FileExists(char *path);
|
||||||
void FS_CopyFile(const char *srcPath, const char *dstPath);
|
void FS_CopyFile(const char *srcPath, const char *dstPath);
|
||||||
void FS_RenameFile(const char *oldPath, const char *newPath);
|
void FS_RenameFile(const char *oldPath, const char *newPath);
|
||||||
void FS_DeleteFile(const char *path);
|
void FS_DeleteFile(const char *path);
|
||||||
void FS_DeletePath(char *path);
|
|
||||||
int FS_GetFileList(const char *path, const char *extension, char *buffer, int size, fsSearchType_t searchType);
|
int FS_GetFileList(const char *path, const char *extension, char *buffer, int size, fsSearchType_t searchType);
|
||||||
char **FS_ListPak(char *find, int *num); /* Knighmare- pak list function */
|
char **FS_ListPak(char *find, int *num); /* Knighmare- pak list function */
|
||||||
char **FS_ListFiles(char *findname, int *numfiles, unsigned musthave, unsigned canthave);
|
char **FS_ListFiles(char *findname, int *numfiles, unsigned musthave, unsigned canthave);
|
||||||
|
|
|
@ -249,7 +249,6 @@ extern int curtime; /* time returned by last Sys_Milliseconds */
|
||||||
|
|
||||||
int Sys_Milliseconds(void);
|
int Sys_Milliseconds(void);
|
||||||
void Sys_Mkdir(char *path);
|
void Sys_Mkdir(char *path);
|
||||||
void Sys_Rmdir(char *path);
|
|
||||||
char *strlwr(char *s);
|
char *strlwr(char *s);
|
||||||
|
|
||||||
/* large block stack allocation routines */
|
/* large block stack allocation routines */
|
||||||
|
|
|
@ -120,12 +120,6 @@ Sys_Mkdir ( char *path )
|
||||||
mkdir( path, 0755 );
|
mkdir( path, 0755 );
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
Sys_Rmdir ( char *path )
|
|
||||||
{
|
|
||||||
rmdir( path );
|
|
||||||
}
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
Sys_GetCurrentDirectory ( void )
|
Sys_GetCurrentDirectory ( void )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue