]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/vfspk3/vfs.cpp
Wean off #define
[xonotic/netradiant.git] / plugins / vfspk3 / vfs.cpp
index b98a19ce352281d4d071b9c37c5173754351be94..8776ad3b02147a21c5cd27058b13001e2d331a16 100644 (file)
@@ -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;