]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/picomodel/picomodel.c
Wean off #define
[xonotic/netradiant.git] / libs / picomodel / picomodel.c
index 4526745c290b6a0d83acaeb8885b82599d988f83..311f6de760c7791bb9e94f717d481a192c46dfdc 100644 (file)
 
    ----------------------------------------------------------------------------- */
 
-
-
-/* marker */
-#define PICOMODEL_C
-
-
-
 /* dependencies */
 #include "picointernal.h"
 
@@ -1426,7 +1419,7 @@ int PicoGetSurfaceSpecial( picoSurface_t *surface, int num ){
 
 /* hashtable code for faster vertex lookups */
 //#define HASHTABLE_SIZE 32768 // 2048                 /* power of 2, use & */
-#define HASHTABLE_SIZE 7919 // 32749 // 2039    /* prime, use % */
+const int HASHTABLE_SIZE = 7919; // 32749 // 2039    /* prime, use % */
 
 int PicoGetHashTableSize( void ){
        return HASHTABLE_SIZE;