]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.h
now pretends gfx.wad pics are in the gfx/ directory, this changes the override path...
[xonotic/darkplaces.git] / cl_screen.h
index 57552be4dd1f0210cd5512f3a76d637981a5b3a6..f54d99a9a4546d5445998c649f4d6e62b6d11157 100644 (file)
@@ -3,8 +3,6 @@
 #define CL_SCREEN_H
 
 // drawqueue stuff for use by client to feed 2D art to renderer
-#define MAX_DRAWQUEUE 262144
-
 #define DRAWQUEUE_PIC 0
 #define DRAWQUEUE_STRING 1
 #define DRAWQUEUE_MESH 2
@@ -19,6 +17,9 @@ typedef struct drawqueue_s
 drawqueue_t;
 
 // a triangle mesh... embedded in the drawqueue
+// each vertex is 4 floats (3 are used)
+// each texcoord pair is 2 floats
+// each color is 4 floats
 typedef struct drawqueuemesh_s
 {
        rtexture_t *texture;
@@ -27,7 +28,7 @@ typedef struct drawqueuemesh_s
        int *indices;
        float *vertices;
        float *texcoords;
-       qbyte *colors;
+       float *colors;
 }
 drawqueuemesh_t;