From af58ef4a2a04ccda7c29316b7befabf49cb8f8c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=20?= =?UTF-8?q?=D0=A1=D1=83=D1=85=D0=BE=D0=B2?= <22411953+Vladislav4KZ@users.noreply.github.com> Date: Tue, 19 May 2026 11:53:57 +0000 Subject: [PATCH] engine: menu_int: add flags for mipmaps and alpha channel support in image handling --- engine/menu_int.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/menu_int.h b/engine/menu_int.h index f86c8b10..c9cbc416 100644 --- a/engine/menu_int.h +++ b/engine/menu_int.h @@ -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)