|
|
@ -566,9 +566,8 @@ namespace MWWorld
|
|
|
|
|
|
|
|
|
|
|
|
Loading::Listener* loadingListener = MWBase::Environment::get().getWindowManager()->getLoadingScreen();
|
|
|
|
Loading::Listener* loadingListener = MWBase::Environment::get().getWindowManager()->getLoadingScreen();
|
|
|
|
Loading::ScopedLoad load(loadingListener);
|
|
|
|
Loading::ScopedLoad load(loadingListener);
|
|
|
|
int messagesCount = MWBase::Environment::get().getWindowManager()->getMessagesCount();
|
|
|
|
|
|
|
|
std::string loadingExteriorText = "#{sLoadingMessage3}";
|
|
|
|
std::string loadingExteriorText = "#{sLoadingMessage3}";
|
|
|
|
loadingListener->setLabel(loadingExteriorText, false, messagesCount > 0);
|
|
|
|
loadingListener->setLabel(loadingExteriorText);
|
|
|
|
loadingListener->setProgressRange(refsToLoad);
|
|
|
|
loadingListener->setProgressRange(refsToLoad);
|
|
|
|
|
|
|
|
|
|
|
|
const auto getDistanceToPlayerCell = [&] (const std::pair<int, int>& cellPosition)
|
|
|
|
const auto getDistanceToPlayerCell = [&] (const std::pair<int, int>& cellPosition)
|
|
|
@ -798,9 +797,8 @@ namespace MWWorld
|
|
|
|
MWBase::Environment::get().getWindowManager()->fadeScreenOut(0.5);
|
|
|
|
MWBase::Environment::get().getWindowManager()->fadeScreenOut(0.5);
|
|
|
|
|
|
|
|
|
|
|
|
Loading::Listener* loadingListener = MWBase::Environment::get().getWindowManager()->getLoadingScreen();
|
|
|
|
Loading::Listener* loadingListener = MWBase::Environment::get().getWindowManager()->getLoadingScreen();
|
|
|
|
int messagesCount = MWBase::Environment::get().getWindowManager()->getMessagesCount();
|
|
|
|
|
|
|
|
std::string loadingInteriorText = "#{sLoadingMessage2}";
|
|
|
|
std::string loadingInteriorText = "#{sLoadingMessage2}";
|
|
|
|
loadingListener->setLabel(loadingInteriorText, false, messagesCount > 0);
|
|
|
|
loadingListener->setLabel(loadingInteriorText);
|
|
|
|
Loading::ScopedLoad load(loadingListener);
|
|
|
|
Loading::ScopedLoad load(loadingListener);
|
|
|
|
|
|
|
|
|
|
|
|
if(mCurrentCell != nullptr && *mCurrentCell == *cell)
|
|
|
|
if(mCurrentCell != nullptr && *mCurrentCell == *cell)
|
|
|
|