]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
rewrote colormapping handling to store colormap_pantscolor and colormap_shirtcolor...
[xonotic/darkplaces.git] / client.h
index c50db411eb7269a06cc6dbddd35c227f5720a988..2da0549ce6b6f2fee423c317f30b4851df8ef06c 100644 (file)
--- a/client.h
+++ b/client.h
@@ -243,8 +243,11 @@ typedef struct entity_render_s
        model_t *model;
        // current uninterpolated animation frame (for things which do not use interpolation)
        int frame;
-       // entity shirt and pants colors
+       // entity shirt and pants colors (-1 if not colormapped)
        int colormap;
+       // literal colors for renderer
+       vec3_t colormap_pantscolor;
+       vec3_t colormap_shirtcolor;
        // light, particles, etc
        int effects;
        // for Alias models