]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
implemented tcmod (all forms)
[xonotic/darkplaces.git] / render.h
index 2a56bf6a6ab44a331a4402f106331c58b5cdfe13..72d93f37acf4f0fe3be27be8c67c632e499f8e5c 100644 (file)
--- a/render.h
+++ b/render.h
@@ -214,6 +214,7 @@ typedef struct rsurfacestate_s
        float *array_deformedsvector3f;
        float *array_deformedtvector3f;
        float *array_deformednormal3f;
+       float *array_generatedtexcoordtexture2f;
        float *array_color4f;
        float *array_texcoord3f;
 
@@ -255,7 +256,6 @@ typedef struct rsurfacestate_s
        size_t modeltexcoordlightmap2f_bufferoffset;
        int *modelelement3i;
        int modelelement3i_bufferobject;
-       int *modelneighbor3i;
        int *modellightmapoffsets;
        int modelnum_vertices;
        int modelnum_triangles;
@@ -285,6 +285,12 @@ typedef struct rsurfacestate_s
        float *lightmapcolor4f;
        int lightmapcolor4f_bufferobject;
        size_t lightmapcolor4f_bufferoffset;
+       float *texcoordtexture2f;
+       int texcoordtexture2f_bufferobject;
+       size_t texcoordtexture2f_bufferoffset;
+       float *texcoordlightmap2f;
+       int texcoordlightmap2f_bufferobject;
+       size_t texcoordlightmap2f_bufferoffset;
        // transform matrices to render this entity and effects on this entity
        matrix4x4_t matrix;
        matrix4x4_t inversematrix;