Replace flag literals with constants in menudialog definitions

This commit is contained in:
Ryan Dwyer
2022-01-28 22:50:50 +10:00
parent c5b387551c
commit b7550f19d9
19 changed files with 225 additions and 225 deletions
+11 -11
View File
@@ -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