]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
Added darkplaces-osx-sdl launch script, this has been simplified since
[xonotic/darkplaces.git] / model_shared.h
index 1de925742ed811894eaabdf5d5b62da6be50c0b6..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;
 
@@ -767,6 +762,10 @@ typedef struct model_brush_s
        qboolean isbsp2;
        // 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;