]> icculus.org git repositories - divverent/darkplaces.git/blob - image.h
optimized AngleVectors calls (pass NULL for vectors that should not be generated)
[divverent/darkplaces.git] / image.h
1
2 extern void Image_Copy8bitRGBA(byte *in, byte *out, int pixels, int *pal);
3 extern void Image_CopyRGBAGamma(byte *in, byte *out, int pixels);
4 extern int image_makemask (byte *in, byte *out, int size);
5 extern byte* loadimagepixels (char* filename, qboolean complain, int matchwidth, int matchheight);
6 extern rtexture_t *loadtextureimage (char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache);
7 extern byte* loadimagepixelsmask (char* filename, qboolean complain, int matchwidth, int matchheight);
8 extern rtexture_t *loadtextureimagemask (char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache);
9 extern rtexture_t *image_masktex;
10 extern rtexture_t *loadtextureimagewithmask (char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache);
11 extern void Image_WriteTGARGB_preflipped (char *filename, int width, int height, byte *data);
12 extern void Image_WriteTGARGB (char *filename, int width, int height, byte *data);
13 extern void Image_WriteTGARGBA (char *filename, int width, int height, byte *data);