mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: menu_int: add flags for mipmaps and alpha channel support in image handling
This commit is contained in:
committed by
a1batross
parent
dbe3f42485
commit
af58ef4a2a
@@ -32,6 +32,8 @@ typedef int HIMAGE; // handle to a graphic
|
||||
#define PIC_KEEP_SOURCE (1<<1) // some images keep source
|
||||
#define PIC_NOFLIP_TGA (1<<2) // Steam background completely ignore tga attribute 0x20
|
||||
#define PIC_EXPAND_SOURCE (1<<3) // don't keep as 8-bit source, expand to RGBA
|
||||
#define PIC_NOMIPMAP (1<<12) // disable mipmaps
|
||||
#define PIC_HAS_ALPHA (1<<16) // image has alpha channel
|
||||
|
||||
// flags for COM_ParseFileSafe
|
||||
#define PFILE_IGNOREBRACKET (1<<0)
|
||||
|
||||
Reference in New Issue
Block a user