add support for PC NTE

This commit is contained in:
Martin Michelsen
2023-12-17 23:31:19 -08:00
parent a6c4217875
commit 3f9cad1ca5
30 changed files with 1688 additions and 1527 deletions
+13 -12
View File
@@ -96,24 +96,25 @@ constexpr uint32_t MEMBERS_100_LEADERS_10 = 0x06060606;
struct MenuItem {
enum Flag {
// For menu items to be visible on DCNTE, they must not have either of the
// following two flags. (The INVISIBLE_ON_GCNTE flag behaves similarly.)
INVISIBLE_ON_DCNTE = 0x001,
// For menu items to be visible on DC NTE, they must not have either of the
// following two flags. (The INVISIBLE_ON_GC_NTE flag behaves similarly.)
INVISIBLE_ON_DC_NTE = 0x001,
INVISIBLE_ON_DC = 0x002,
INVISIBLE_ON_PC = 0x004,
INVISIBLE_ON_GC_TRIAL_EDITION = 0x008,
INVISIBLE_ON_GC = 0x010,
INVISIBLE_ON_XB = 0x020,
INVISIBLE_ON_BB = 0x040,
INVISIBLE_ON_PC_NTE = 0x004,
INVISIBLE_ON_PC = 0x008,
INVISIBLE_ON_GC_NTE = 0x010,
INVISIBLE_ON_GC = 0x020,
INVISIBLE_ON_XB = 0x040,
INVISIBLE_ON_BB = 0x080,
DC_ONLY = INVISIBLE_ON_PC | INVISIBLE_ON_GC | INVISIBLE_ON_XB | INVISIBLE_ON_BB,
PC_ONLY = INVISIBLE_ON_DC | INVISIBLE_ON_GC | INVISIBLE_ON_XB | INVISIBLE_ON_BB,
GC_ONLY = INVISIBLE_ON_DC | INVISIBLE_ON_PC | INVISIBLE_ON_XB | INVISIBLE_ON_BB,
XB_ONLY = INVISIBLE_ON_DC | INVISIBLE_ON_PC | INVISIBLE_ON_GC | INVISIBLE_ON_BB,
BB_ONLY = INVISIBLE_ON_DC | INVISIBLE_ON_PC | INVISIBLE_ON_GC | INVISIBLE_ON_XB,
REQUIRES_MESSAGE_BOXES = 0x080,
REQUIRES_SEND_FUNCTION_CALL = 0x100,
REQUIRES_SAVE_DISABLED = 0x200,
INVISIBLE_IN_INFO_MENU = 0x400,
REQUIRES_MESSAGE_BOXES = 0x100,
REQUIRES_SEND_FUNCTION_CALL = 0x200,
REQUIRES_SAVE_DISABLED = 0x400,
INVISIBLE_IN_INFO_MENU = 0x800,
};
uint32_t item_id;