#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
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;
int *indices;
float *vertices;
float *texcoords;
- qbyte *colors;
+ float *colors;
}
drawqueuemesh_t;