added support to image loader for loading mask as well (used for fog effects), remove...
[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* loadimagepixelsmask (char* filename, qboolean complain, int matchwidth, int matchheight);
6 extern int loadtextureimagemask (char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap);
7 extern int image_masktexnum;
8 extern int loadtextureimagewithmask (char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap);