add a bit more of dc nte

This commit is contained in:
Martin Michelsen
2022-10-29 19:27:44 -07:00
parent 52625aed9c
commit 2ce9e58177
7 changed files with 106 additions and 36 deletions
+12 -8
View File
@@ -68,19 +68,23 @@ namespace ProxyOptionsMenuItemID {
struct MenuItem {
enum Flag {
INVISIBLE_ON_DC = 0x01,
INVISIBLE_ON_PC = 0x02,
INVISIBLE_ON_GC = 0x04,
INVISIBLE_ON_XB = 0x08,
INVISIBLE_ON_BB = 0x10,
// 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,
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,
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 = 0x20,
REQUIRES_SEND_FUNCTION_CALL = 0x40,
REQUIRES_SAVE_DISABLED = 0x80,
REQUIRES_MESSAGE_BOXES = 0x080,
REQUIRES_SEND_FUNCTION_CALL = 0x100,
REQUIRES_SAVE_DISABLED = 0x200,
};
uint32_t item_id;