mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-06 01:28:25 -04:00
Replace flag literals with constants in menudialog definitions
This commit is contained in:
+11
-11
@@ -1445,17 +1445,17 @@
|
||||
#define MENUBG_8 8
|
||||
#define MENUBG_TUNNELOPAQUE 9 // 4MB combat simulator
|
||||
|
||||
#define MENUDIALOGFLAG_0001 0x0001
|
||||
#define MENUDIALOGFLAG_0002 0x0002
|
||||
#define MENUDIALOGFLAG_0004 0x0004
|
||||
#define MENUDIALOGFLAG_0008 0x0008
|
||||
#define MENUDIALOGFLAG_0010 0x0010
|
||||
#define MENUDIALOGFLAG_0020 0x0020
|
||||
#define MENUDIALOGFLAG_0040 0x0040
|
||||
#define MENUDIALOGFLAG_0080 0x0080
|
||||
#define MENUDIALOGFLAG_0200 0x0200
|
||||
#define MENUDIALOGFLAG_0400 0x0400
|
||||
#define MENUDIALOGFLAG_0800 0x0800
|
||||
#define MENUDIALOGFLAG_CLOSEONSELECT 0x0001
|
||||
#define MENUDIALOGFLAG_0002 0x0002
|
||||
#define MENUDIALOGFLAG_STARTSELECTS 0x0004
|
||||
#define MENUDIALOGFLAG_DISABLEITEMSCROLL 0x0008
|
||||
#define MENUDIALOGFLAG_MPLOCKABLE 0x0010
|
||||
#define MENUDIALOGFLAG_IGNOREBACK 0x0020
|
||||
#define MENUDIALOGFLAG_SMOOTHSCROLLABLE 0x0040
|
||||
#define MENUDIALOGFLAG_DISABLEBANNER 0x0080
|
||||
#define MENUDIALOGFLAG_DISABLERESIZE 0x0200
|
||||
#define MENUDIALOGFLAG_0400 0x0400
|
||||
#define MENUDIALOGFLAG_DROPOUTONCLOSE 0x0800
|
||||
|
||||
#define MENUDIALOGSTATE_PREOPEN 0
|
||||
#define MENUDIALOGSTATE_OPENING 1
|
||||
|
||||
Reference in New Issue
Block a user