lightmap update checking is now handled very differently; each brush model has a...
[xonotic/darkplaces.git] / model_shared.h
index 1bcd0a1..8f50428 100644 (file)
@@ -214,6 +214,14 @@ typedef struct model_s
        msurface_t              **pvstexturechainsbuffer;
        int                             *pvstexturechainslength;
 
+       // lightmap update chains for light styles
+       int                             light_styles;
+       qbyte                   *light_style;
+       int                             *light_stylevalue;
+       msurface_t              ***light_styleupdatechains;
+       msurface_t              **light_styleupdatechainsbuffer;
+       int                             light_scalebit;
+       float                   light_ambient;
 
        // skin animation info
        animscene_t             *skinscenes; // [numskins]