// draw.h -- these are the only functions outside the refresh allowed
// to touch the vid buffer
+#ifndef DRAW_H
+#define DRAW_H
+
// FIXME: move this stuff to cl_screen
typedef struct cachepic_s
{
void Draw_Init (void);
cachepic_t *Draw_CachePic (char *path);
+// create or update a pic's image
+cachepic_t *Draw_NewPic(char *picname, int width, int height, int alpha, qbyte *pixels);
+// free the texture memory used by a pic
+void Draw_FreePic(char *picname);
void R_DrawQueue(void);
+
+#endif
+