]> icculus.org git repositories - divverent/darkplaces.git/blob - image.h
moved cl_visedicts to r_refdef.entities
[divverent/darkplaces.git] / image.h
1
2 void Image_GammaRemapRGB(byte *in, byte *out, int pixels, byte *gammar, byte *gammag, byte *gammab);
3 void Image_Copy8bitRGBA(byte *in, byte *out, int pixels, int *pal);
4 int image_makemask (byte *in, byte *out, int size);
5 byte* loadimagepixels (char* filename, qboolean complain, int matchwidth, int matchheight);
6 rtexture_t *loadtextureimage (rtexturepool_t *pool, char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache);
7 byte* loadimagepixelsmask (char* filename, qboolean complain, int matchwidth, int matchheight);
8 rtexture_t *loadtextureimagemask (rtexturepool_t *pool, char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache);
9 rtexture_t *image_masktex;
10 rtexture_t *loadtextureimagewithmask (rtexturepool_t *pool, char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache);
11 void Image_WriteTGARGB_preflipped (char *filename, int width, int height, byte *data);
12 void Image_WriteTGARGB (char *filename, int width, int height, byte *data);
13 void Image_WriteTGARGBA (char *filename, int width, int height, byte *data);
14 qboolean Image_CheckAlpha(byte *data, int size, qboolean rgba);