1 #ifndef MWGUI_MODE_H 2 #define MWGUI_MODE_H 3 4 namespace MWGui 5 { 6 enum GuiMode 7 { 8 GM_None, 9 GM_Settings, // Settings window 10 GM_Inventory, // Inventory mode 11 GM_Container, 12 GM_Companion, 13 GM_MainMenu, // Main menu mode 14 15 GM_Journal, // Journal mode 16 17 GM_Scroll, // Read scroll 18 GM_Book, // Read book 19 GM_Alchemy, // Make potions 20 GM_Repair, 21 22 GM_Dialogue, // NPC interaction 23 GM_Barter, 24 GM_Rest, 25 GM_SpellBuying, 26 GM_Travel, 27 GM_SpellCreation, 28 GM_Enchanting, 29 GM_Recharge, 30 GM_Training, 31 GM_MerchantRepair, 32 33 GM_Levelup, 34 35 // Startup character creation dialogs 36 GM_Name, 37 GM_Race, 38 GM_Birth, 39 GM_Class, 40 GM_ClassGenerate, 41 GM_ClassPick, 42 GM_ClassCreate, 43 GM_Review, 44 45 GM_Loading, 46 GM_LoadingWallpaper, 47 GM_Jail, 48 49 GM_QuickKeysMenu 50 }; 51 52 // Windows shown in inventory mode 53 enum GuiWindow 54 { 55 GW_None = 0, 56 57 GW_Map = 0x01, 58 GW_Inventory = 0x02, 59 GW_Magic = 0x04, 60 GW_Stats = 0x08, 61 62 GW_ALL = 0xFF 63 }; 64 } 65 66 #endif 67