]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
fix whitespace handling:
[xonotic/darkplaces.git] / model_shared.h
index c417733b7930c9d13212de2409e813efe8ef1c90..7bf5e0207a972c4d37b23c5c3bfa031d2920b71b 100644 (file)
@@ -70,6 +70,8 @@ typedef struct skinframe_s
        int loadsequence;
        // on 32bit systems this makes the struct 128 bytes long
        int padding;
+       // average texture color, if applicable
+       float avgcolor[4];
 }
 skinframe_t;
 
@@ -776,6 +778,9 @@ typedef struct model_brushq3_s
        // true if the detected deluxemaps are the modelspace kind, rather than
        // the faster tangentspace kind
        qboolean deluxemapping_modelspace;
+       // size of lightmaps (128 by default, but may be another poweroftwo if
+       // external lightmaps are used (q3map2 -lightmapsize)
+       int lightmapsize;
 }
 model_brushq3_t;