|
|
@ -4,6 +4,8 @@
|
|
|
|
#include <MyGUI_ScrollView.h>
|
|
|
|
#include <MyGUI_ScrollView.h>
|
|
|
|
#include <MyGUI_Gui.h>
|
|
|
|
#include <MyGUI_Gui.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <components/settings/settings.hpp>
|
|
|
|
|
|
|
|
|
|
|
|
#include "../mwbase/environment.hpp"
|
|
|
|
#include "../mwbase/environment.hpp"
|
|
|
|
#include "../mwbase/world.hpp"
|
|
|
|
#include "../mwbase/world.hpp"
|
|
|
|
#include "../mwbase/windowmanager.hpp"
|
|
|
|
#include "../mwbase/windowmanager.hpp"
|
|
|
@ -72,6 +74,9 @@ namespace MWGui
|
|
|
|
MWWorld::ActionTeleport::getFollowersToTeleport(player, followers);
|
|
|
|
MWWorld::ActionTeleport::getFollowersToTeleport(player, followers);
|
|
|
|
|
|
|
|
|
|
|
|
// Apply followers cost, in vanilla one follower travels for free
|
|
|
|
// Apply followers cost, in vanilla one follower travels for free
|
|
|
|
|
|
|
|
if (Settings::Manager::getBool("charge for every follower travelling", "Game"))
|
|
|
|
|
|
|
|
price *= 1 + static_cast<int>(followers.size());
|
|
|
|
|
|
|
|
else
|
|
|
|
price *= std::max(1, static_cast<int>(followers.size()));
|
|
|
|
price *= std::max(1, static_cast<int>(followers.size()));
|
|
|
|
|
|
|
|
|
|
|
|
MyGUI::Button* toAdd = mDestinationsView->createWidget<MyGUI::Button>("SandTextButton", 0, mCurrentY, 200, sLineHeight, MyGUI::Align::Default);
|
|
|
|
MyGUI::Button* toAdd = mDestinationsView->createWidget<MyGUI::Button>("SandTextButton", 0, mCurrentY, 200, sLineHeight, MyGUI::Align::Default);
|
|
|
|