X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=plugins%2Fvfspk3%2Fvfs.cpp;h=8776ad3b02147a21c5cd27058b13001e2d331a16;hp=b98a19ce352281d4d071b9c37c5173754351be94;hb=83113718a4fb6a8e2318841f16f8a0b0eb85675c;hpb=34cbf87edef249d8a4732db54f233ba4ffbea3d4 diff --git a/plugins/vfspk3/vfs.cpp b/plugins/vfspk3/vfs.cpp index b98a19ce..8776ad3b 100644 --- a/plugins/vfspk3/vfs.cpp +++ b/plugins/vfspk3/vfs.cpp @@ -62,7 +62,7 @@ ArchiveModules& FileSystemQ3API_getArchiveModules(); #include "dpkdeps.h" -#define VFS_MAXDIRS 64 +const int VFS_MAXDIRS = 64; #if defined( WIN32 ) #define PATH_MAX 260 @@ -666,8 +666,8 @@ void Shutdown(){ g_loaded_dpk_paks.clear(); } -#define VFS_SEARCH_PAK 0x1 -#define VFS_SEARCH_DIR 0x2 +const int VFS_SEARCH_PAK = 0x1; +const int VFS_SEARCH_DIR = 0x2; int GetFileCount( const char *filename, int flag ){ int count = 0;