X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=image.h;h=c955fafbcf36bf201afc19d6bf05c3862e1ff804;hb=d57be67cb00229acb8564b92c8b7c58eeed8a0cb;hp=0a1d73fd97bfcee28094a7f2bcdca24510406b2f;hpb=45982a9894c5bff60ff494a0f82865ec267d52f7;p=xonotic%2Fdarkplaces.git diff --git a/image.h b/image.h index 0a1d73fd..c955fafb 100644 --- a/image.h +++ b/image.h @@ -1,14 +1,13 @@ void Image_GammaRemapRGB(byte *in, byte *out, int pixels, byte *gammar, byte *gammag, byte *gammab); void Image_Copy8bitRGBA(byte *in, byte *out, int pixels, int *pal); -void Image_CopyRGBAGamma(byte *in, byte *out, int pixels); int image_makemask (byte *in, byte *out, int size); byte* loadimagepixels (char* filename, qboolean complain, int matchwidth, int matchheight); -rtexture_t *loadtextureimage (char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache); +rtexture_t *loadtextureimage (rtexturepool_t *pool, char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache); byte* loadimagepixelsmask (char* filename, qboolean complain, int matchwidth, int matchheight); -rtexture_t *loadtextureimagemask (char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache); +rtexture_t *loadtextureimagemask (rtexturepool_t *pool, char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache); rtexture_t *image_masktex; -rtexture_t *loadtextureimagewithmask (char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache); +rtexture_t *loadtextureimagewithmask (rtexturepool_t *pool, char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache); void Image_WriteTGARGB_preflipped (char *filename, int width, int height, byte *data); void Image_WriteTGARGB (char *filename, int width, int height, byte *data); void Image_WriteTGARGBA (char *filename, int width, int height, byte *data);