rtexture_t *loadtextureimagewithmask (rtexturepool_t *pool, char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache);
// writes a RGB TGA that is already upside down (which TGA wants)
-void Image_WriteTGARGB_preflipped (char *filename, int width, int height, qbyte *data);
+qboolean Image_WriteTGARGB_preflipped (char *filename, int width, int height, qbyte *data);
// writes a RGB TGA
void Image_WriteTGARGB (char *filename, int width, int height, qbyte *data);
void Image_MipReduce(qbyte *in, qbyte *out, int *width, int *height, int destwidth, int destheight, int bytesperpixel);
#endif
+