diff --git a/apps/openmw/mwgui/layouts.hpp b/apps/openmw/mwgui/layouts.hpp index 8ab533161..1c1b2dcb6 100644 --- a/apps/openmw/mwgui/layouts.hpp +++ b/apps/openmw/mwgui/layouts.hpp @@ -271,6 +271,7 @@ namespace MWGui } }; +#if 0 class InventoryWindow : public OEngine::GUI::Layout { public: @@ -389,5 +390,6 @@ namespace MWGui MyGUI::Colour activeColor; MyGUI::Colour inactiveColor; }; +#endif } #endif diff --git a/apps/openmw/mwgui/window_manager.cpp b/apps/openmw/mwgui/window_manager.cpp index 6bcc2743a..7ee0b46c0 100644 --- a/apps/openmw/mwgui/window_manager.cpp +++ b/apps/openmw/mwgui/window_manager.cpp @@ -37,7 +37,9 @@ WindowManager::WindowManager(MyGUI::Gui *_gui, MWWorld::Environment& environment menu = new MainMenu(w,h); map = new MapWindow(); stats = new StatsWindow (environment.mWorld->getStore()); +#if 0 inventory = new InventoryWindow (); +#endif console = new Console(w,h, environment, extensions); // The HUD is always on @@ -54,7 +56,9 @@ WindowManager::~WindowManager() delete map; delete menu; delete stats; +#if 0 delete inventory; +#endif delete nameDialog; delete raceDialog; @@ -66,7 +70,9 @@ void WindowManager::updateVisible() map->setVisible(false); menu->setVisible(false); stats->setVisible(false); +#if 0 inventory->setVisible(false); +#endif console->disable(); // Mouse is visible whenever we're not in game mode @@ -124,7 +130,9 @@ void WindowManager::updateVisible() // Show the windows we want map -> setVisible( eff & GW_Map ); stats -> setVisible( eff & GW_Stats ); +#if 0 // inventory -> setVisible( eff & GW_Inventory ); +#endif return; } diff --git a/apps/openmw/mwgui/window_manager.hpp b/apps/openmw/mwgui/window_manager.hpp index 7be3bf991..31b091c78 100644 --- a/apps/openmw/mwgui/window_manager.hpp +++ b/apps/openmw/mwgui/window_manager.hpp @@ -85,7 +85,9 @@ namespace MWGui MapWindow *map; MainMenu *menu; StatsWindow *stats; +#if 0 InventoryWindow *inventory; +#endif Console *console; // Character creation