]> icculus.org git repositories - divverent/darkplaces.git/blob - image.h
greatly improved movetype bounce stopping check to consider the angle of the surface
[divverent/darkplaces.git] / image.h
1
2 void Image_GammaRemapRGB(qbyte *in, qbyte *out, int pixels, qbyte *gammar, qbyte *gammag, qbyte *gammab);
3 void Image_Copy8bitRGBA(qbyte *in, qbyte *out, int pixels, int *pal);
4 int image_makemask (qbyte *in, qbyte *out, int size);
5 qbyte *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 qbyte *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, qbyte *data);
12 void Image_WriteTGARGB (char *filename, int width, int height, qbyte *data);
13 void Image_WriteTGARGBA (char *filename, int width, int height, qbyte *data);
14 qboolean Image_CheckAlpha(qbyte *data, int size, qboolean rgba);