]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
r_showbboxes now shows SOLID_CORPSE as orange
[xonotic/darkplaces.git] / model_shared.h
index 755751b9187375a1e9e32b72ad41a4c0e868c493..bd292ab094db1396a55e94742ac222881cdd56d5 100644 (file)
@@ -599,7 +599,6 @@ typedef struct texture_s
        char name[64];
        int surfaceflags;
        int supercontents;
-       int surfaceparms;
        int textureflags;
 
        // reflection
@@ -616,7 +615,7 @@ typedef struct texture_s
        // offsetmapping
        dpoffsetmapping_technique_t offsetmapping;
        float offsetscale;
-       unsigned char offsetbias;
+       float offsetbias;
 
        // gloss
        float specularscalemod;
@@ -1049,6 +1048,7 @@ typedef struct model_s
 
        // if set, the model contains light information (lightmap, or vertexlight)
        qboolean lit;
+       float lightmapscale;
 }
 dp_model_t;