|
|
@ -102,11 +102,14 @@ namespace MWGui
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
/// The constructor needs the main Gui object
|
|
|
|
/// The constructor needs the main Gui object
|
|
|
|
WindowManager(MyGUI::Gui *_gui, MWWorld::Environment& environment,
|
|
|
|
WindowManager(MyGUI::Gui *_gui, MWWorld::Environment& environment,
|
|
|
|
const Compiler::Extensions& extensions);
|
|
|
|
const Compiler::Extensions& extensions, bool newGame);
|
|
|
|
virtual ~WindowManager();
|
|
|
|
virtual ~WindowManager();
|
|
|
|
|
|
|
|
|
|
|
|
void setMode(GuiMode newMode)
|
|
|
|
void setMode(GuiMode newMode)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (newMode==GM_Inventory && allowed==GW_None)
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
mode = newMode;
|
|
|
|
mode = newMode;
|
|
|
|
updateVisible();
|
|
|
|
updateVisible();
|
|
|
|
}
|
|
|
|
}
|
|
|
|