]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
Removed globaldefindex_progid field from cvar struct.
[xonotic/darkplaces.git] / model_shared.h
index 4a5bfbf7a9a73e64f4cb0fbcc40acb6c25487f4b..3fa07c791a4ad076ae21c75ae4789ca572a301e8 100644 (file)
@@ -68,7 +68,7 @@ typedef struct skinframe_s
        // mark and sweep garbage collection, this value is updated to a new value
        // on each level change for the used skinframes, if some are not used they
        // are freed
-       int loadsequence;
+       unsigned int loadsequence;
        // indicates whether this texture has transparent pixels
        qboolean hasalpha;
        // average texture color, if applicable
@@ -82,11 +82,6 @@ typedef struct skinframe_s
        qboolean qgeneratemerged;
        qboolean qgeneratenmap;
        qboolean qgenerateglow;
-       // for q2 wal files we have some extra info
-       int q2flags;
-       int q2value;
-       int q2contents;
-       // we could also store the q2animname from the wal but we have no current need of it
 }
 skinframe_t;
 
@@ -765,8 +760,12 @@ typedef struct model_brush_s
        qboolean isbsp2rmqe;
        // true if this model is a BSP2 .bsp file (expanded 32bit bsp format for DarkPlaces, others?)
        qboolean isbsp2;
-       // true if this model is a Quake2 .bsp file (IBSP46)
+       // true if this model is a Quake2 .bsp file (IBSP38)
        qboolean isq2bsp;
+       // true if this model is a Quake3 .bsp file (IBSP46)
+       qboolean isq3bsp;
+       // true if this model is a Quake1/Quake2 .bsp file where skymasking capability exists
+       qboolean skymasking;
        // string of entity definitions (.map format)
        char *entities;