|
|
@ -1,6 +1,9 @@ |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
filesystem.c - game filesystem based on DP fs |
|
|
|
filesystem.c - game filesystem based on DP fs |
|
|
|
|
|
|
|
Copyright (C) 2003-2006 Mathieu Olivier |
|
|
|
|
|
|
|
Copyright (C) 2000-2007 DarkPlaces contributors |
|
|
|
Copyright (C) 2007 Uncle Mike |
|
|
|
Copyright (C) 2007 Uncle Mike |
|
|
|
|
|
|
|
Copyright (C) 2015-2023 Xash3D FWGS contributors |
|
|
|
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify |
|
|
|
This program is free software: you can redistribute it and/or modify |
|
|
|
it under the terms of the GNU General Public License as published by |
|
|
|
it under the terms of the GNU General Public License as published by |
|
|
@ -101,10 +104,7 @@ FS_Init |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void FS_Init( void ) |
|
|
|
void FS_Init( void ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
qboolean hasBaseDir = false; |
|
|
|
|
|
|
|
qboolean hasGameDir = false; |
|
|
|
|
|
|
|
qboolean caseinsensitive = true; |
|
|
|
qboolean caseinsensitive = true; |
|
|
|
int i; |
|
|
|
|
|
|
|
string gamedir; |
|
|
|
string gamedir; |
|
|
|
|
|
|
|
|
|
|
|
Cmd_AddRestrictedCommand( "fs_rescan", FS_Rescan_f, "rescan filesystem search pathes" ); |
|
|
|
Cmd_AddRestrictedCommand( "fs_rescan", FS_Rescan_f, "rescan filesystem search pathes" ); |
|
|
|