]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.h
mdl/md2 transitioned to meshes
[xonotic/darkplaces.git] / cl_screen.h
index f54d99a9a4546d5445998c649f4d6e62b6d11157..c48a2cf4592c859e7b961b2f87f097fc1fa001d5 100644 (file)
@@ -18,12 +18,12 @@ 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
+// each texcoord is 4 floats (3 are used)
+// each color is 4 floats (4 are used)
 typedef struct drawqueuemesh_s
 {
        rtexture_t *texture;
-       int numindices;
+       int numtriangles;
        int numvertices;
        int *indices;
        float *vertices;
@@ -39,7 +39,7 @@ void DrawQ_Clear(void);
 // draw an image
 void DrawQ_Pic(float x, float y, char *picname, float width, float height, float red, float green, float blue, float alpha, int flags);
 // draw a text string
-void DrawQ_String(float x, float y, char *string, int maxlen, float scalex, float scaley, float red, float green, float blue, float alpha, int flags);
+void DrawQ_String(float x, float y, const char *string, int maxlen, float scalex, float scaley, float red, float green, float blue, float alpha, int flags);
 // draw a filled rectangle
 void DrawQ_Fill (float x, float y, float w, float h, float red, float green, float blue, float alpha, int flags);
 // draw a triangle mesh