]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
add apparently not yet working optimization flags to Mem_ExpandableArray function...
[xonotic/darkplaces.git] / model_shared.h
index 035cfe4bcac7414a98cded731d4619cf6f71ed4a..2302383d3f98fd23e1b2d761915dfbf280039ab5 100644 (file)
@@ -548,7 +548,6 @@ typedef struct msurface_s
        int num_firstshadowmeshtriangle; // index into model->brush.shadowmesh
 
        // lightmaptexture rebuild information not used in q3bsp
-       int cached_dlight; // q1bsp // forces rebuild of lightmaptexture
        msurface_lightmapinfo_t *lightmapinfo; // q1bsp
 
        // mesh information for collisions (only used by q3bsp curves)
@@ -706,6 +705,9 @@ typedef struct model_brushq1_s
        // lightmap update chains for light styles
        int                             num_lightstyles;
        model_brush_lightstyleinfo_t *data_lightstyleinfo;
+
+       // this contains bytes that are 1 if a surface needs its lightmap rebuilt
+       unsigned char *lightmapupdateflags;
 }
 model_brushq1_t;