OpenMW
apps/openmw/mwgui/mode.hpp
Go to the documentation of this file.
00001 #ifndef MWGUI_MODE_H
00002 #define MWGUI_MODE_H
00003 
00004 namespace MWGui
00005 {
00006   enum GuiMode
00007     {
00008       GM_None,
00009       GM_Settings,      // Settings window
00010       GM_Inventory,     // Inventory mode
00011       GM_Container,
00012       GM_Companion,
00013       GM_MainMenu,      // Main menu mode
00014 
00015       GM_Console,       // Console mode
00016       GM_Journal,       // Journal mode
00017 
00018       GM_Scroll,        // Read scroll
00019       GM_Book,          // Read book
00020       GM_Alchemy,       // Make potions
00021       GM_Repair,
00022 
00023       GM_Dialogue,      // NPC interaction
00024       GM_Barter,
00025       GM_Rest,
00026       GM_RestBed,
00027       GM_SpellBuying,
00028       GM_Travel,
00029       GM_SpellCreation,
00030       GM_Enchanting,
00031       GM_Recharge,
00032       GM_Training,
00033       GM_MerchantRepair,
00034 
00035       GM_Levelup,
00036 
00037       // Startup character creation dialogs
00038       GM_Name,
00039       GM_Race,
00040       GM_Birth,
00041       GM_Class,
00042       GM_ClassGenerate,
00043       GM_ClassPick,
00044       GM_ClassCreate,
00045       GM_Review,
00046       
00047       GM_Loading,
00048       GM_LoadingWallpaper,
00049 
00050       GM_QuickKeysMenu,
00051 
00052       GM_Video
00053     };
00054 
00055   // Windows shown in inventory mode
00056   enum GuiWindow
00057     {
00058       GW_None           = 0,
00059 
00060       GW_Map            = 0x01,
00061       GW_Inventory      = 0x02,
00062       GW_Magic          = 0x04,
00063       GW_Stats          = 0x08,
00064 
00065       GW_ALL            = 0xFF
00066     };
00067 }
00068 
00069 #endif