return LoadLMP(f, matchwidth, matchheight, false);
}
-qbyte *LoadLMPAs8Bit (const qbyte *f, int matchwidth, int matchheight)
-{
- return LoadLMP(f, matchwidth, matchheight, true);
-}
-
typedef struct
{
void Image_MipReduce(const qbyte *in, qbyte *out, int *width, int *height, int *depth, int destwidth, int destheight, int destdepth, int bytesperpixel);
// only used by menuplyr coloring
-qbyte *LoadLMPAs8Bit (const qbyte *f, int matchwidth, int matchheight);
+qbyte *LoadLMP (const qbyte *f, int matchwidth, int matchheight, qboolean loadAs8Bit);
void Image_HeightmapToNormalmap(const unsigned char *inpixels, unsigned char *outpixels, int width, int height, int clamp, float bumpscale);
menuplyr_bottom = -1;
if ((f = FS_LoadFile("gfx/menuplyr.lmp", tempmempool, true)))
{
- data = LoadLMPAs8Bit (f, 0, 0);
+ data = LoadLMP (f, 0, 0, true);
menuplyr_width = image_width;
menuplyr_height = image_height;
Mem_Free(f);