Remove renderWorldMap()

0.6.1
scrawl 8 years ago
parent bfdde0262f
commit 1ffb9e1bf3

@ -526,7 +526,6 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings)
window->setStore(mEnvironment.getWorld()->getStore());
window->initUI();
window->renderWorldMap();
//Load translation data
mTranslationDataStorage.setEncoder(mEncoder);

@ -289,6 +289,7 @@ namespace MWGui
mMenu = new MainMenu(w, h, mResourceSystem->getVFS(), mVersionDescription);
mLocalMapRender = new MWRender::LocalMap(mViewer->getSceneData()->asGroup());
mMap = new MapWindow(mCustomMarkers, mDragAndDrop, mLocalMapRender, mWorkQueue);
mMap->renderGlobalMap();
trackWindow(mMap, "map");
mStatsWindow = new StatsWindow(mDragAndDrop);
trackWindow(mStatsWindow, "stats");
@ -374,11 +375,6 @@ namespace MWGui
MWBase::Environment::get().getInputManager()->changeInputMode(false);
}
void WindowManager::renderWorldMap()
{
mMap->renderGlobalMap();
}
void WindowManager::setNewGame(bool newgame)
{
// This method will always be called after loading a savegame or starting a new game

@ -137,7 +137,6 @@ namespace MWGui
void setStore (const MWWorld::ESMStore& store);
void initUI();
void renderWorldMap();
virtual Loading::Listener* getLoadingScreen();

Loading…
Cancel
Save