mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-24 23:41:33 +00:00
Remove unused code
This commit is contained in:
parent
6c1e3a0618
commit
f986e3fafa
3 changed files with 2 additions and 9 deletions
|
@ -104,7 +104,6 @@ namespace MWBase
|
||||||
* new dialogs.
|
* new dialogs.
|
||||||
*/
|
*/
|
||||||
virtual void update() = 0;
|
virtual void update() = 0;
|
||||||
virtual void updateVisible() = 0;
|
|
||||||
|
|
||||||
/// @note This method will block until the video finishes playing
|
/// @note This method will block until the video finishes playing
|
||||||
/// (and will continually update the window while doing so)
|
/// (and will continually update the window while doing so)
|
||||||
|
|
|
@ -485,6 +485,7 @@ namespace MWGui
|
||||||
void WindowManager::update()
|
void WindowManager::update()
|
||||||
{
|
{
|
||||||
cleanupGarbage();
|
cleanupGarbage();
|
||||||
|
|
||||||
mHud->update();
|
mHud->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -559,13 +560,6 @@ namespace MWGui
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// No need to check GUI if game mode
|
|
||||||
if (gameMode)
|
|
||||||
{
|
|
||||||
mInventoryWindow->setGuiMode(GM_None);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(mGuiModes.size() != 0)
|
if(mGuiModes.size() != 0)
|
||||||
{
|
{
|
||||||
GuiMode mode = mGuiModes.back();
|
GuiMode mode = mGuiModes.back();
|
||||||
|
|
|
@ -361,7 +361,7 @@ namespace MWGui
|
||||||
|
|
||||||
virtual void pinWindow (MWGui::GuiWindow window);
|
virtual void pinWindow (MWGui::GuiWindow window);
|
||||||
|
|
||||||
virtual void updatePinnedWindows ();
|
void updatePinnedWindows ();
|
||||||
|
|
||||||
/// Fade the screen in, over \a time seconds
|
/// Fade the screen in, over \a time seconds
|
||||||
virtual void fadeScreenIn(const float time, bool clearQueue);
|
virtual void fadeScreenIn(const float time, bool clearQueue);
|
||||||
|
|
Loading…
Reference in a new issue