2012-08-12 16:11:09 +00:00
|
|
|
#ifndef GAME_MWBASE_WINDOWMANAGER_H
|
|
|
|
#define GAME_MWBASE_WINDOWMANAGER_H
|
|
|
|
|
2015-02-09 15:37:20 +00:00
|
|
|
#include <stdint.h>
|
2012-08-12 16:11:09 +00:00
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include <map>
|
2015-02-09 15:23:41 +00:00
|
|
|
#include <set>
|
2012-08-12 16:11:09 +00:00
|
|
|
|
|
|
|
#include "../mwgui/mode.hpp"
|
|
|
|
|
2015-01-31 22:27:34 +00:00
|
|
|
namespace Loading
|
|
|
|
{
|
|
|
|
class Listener;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace Translation
|
|
|
|
{
|
|
|
|
class Storage;
|
|
|
|
}
|
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
namespace MyGUI
|
|
|
|
{
|
|
|
|
class Gui;
|
|
|
|
class Widget;
|
|
|
|
class UString;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
struct Class;
|
2014-01-25 17:20:17 +00:00
|
|
|
class ESMReader;
|
|
|
|
class ESMWriter;
|
2015-01-31 16:50:19 +00:00
|
|
|
struct CellId;
|
2012-08-12 16:11:09 +00:00
|
|
|
}
|
|
|
|
|
2015-02-09 15:23:41 +00:00
|
|
|
namespace MWMechanics
|
|
|
|
{
|
|
|
|
class AttributeValue;
|
|
|
|
template<typename T>
|
|
|
|
class DynamicStat;
|
|
|
|
class SkillValue;
|
|
|
|
}
|
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
namespace MWWorld
|
|
|
|
{
|
|
|
|
class CellStore;
|
|
|
|
class Ptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace MWGui
|
|
|
|
{
|
2015-05-01 00:09:57 +00:00
|
|
|
class Layout;
|
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
class Console;
|
|
|
|
class SpellWindow;
|
|
|
|
class TradeWindow;
|
2012-09-26 16:30:47 +00:00
|
|
|
class TravelWindow;
|
2012-09-09 18:10:07 +00:00
|
|
|
class SpellBuyingWindow;
|
2012-08-12 16:11:09 +00:00
|
|
|
class ConfirmationDialog;
|
|
|
|
class CountDialog;
|
|
|
|
class ScrollWindow;
|
|
|
|
class BookWindow;
|
|
|
|
class InventoryWindow;
|
|
|
|
class ContainerWindow;
|
|
|
|
class DialogueWindow;
|
2014-05-27 07:00:31 +00:00
|
|
|
class WindowModal;
|
2015-02-07 03:05:28 +00:00
|
|
|
class JailScreen;
|
2014-02-11 17:26:57 +00:00
|
|
|
|
|
|
|
enum ShowInDialogueMode {
|
|
|
|
ShowInDialogueMode_IfPossible,
|
|
|
|
ShowInDialogueMode_Only,
|
|
|
|
ShowInDialogueMode_Never
|
|
|
|
};
|
2012-08-12 16:11:09 +00:00
|
|
|
}
|
|
|
|
|
2013-01-11 12:27:59 +00:00
|
|
|
namespace SFO
|
|
|
|
{
|
2013-01-12 15:57:29 +00:00
|
|
|
class CursorManager;
|
2013-01-11 12:27:59 +00:00
|
|
|
}
|
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
namespace MWBase
|
|
|
|
{
|
|
|
|
/// \brief Interface for widnow manager (implemented in MWGui)
|
|
|
|
class WindowManager
|
|
|
|
{
|
|
|
|
WindowManager (const WindowManager&);
|
|
|
|
///< not implemented
|
|
|
|
|
|
|
|
WindowManager& operator= (const WindowManager&);
|
|
|
|
///< not implemented
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
typedef std::vector<int> SkillList;
|
|
|
|
|
|
|
|
WindowManager() {}
|
|
|
|
|
|
|
|
virtual ~WindowManager() {}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Should be called each frame to update windows/gui elements.
|
|
|
|
* This could mean updating sizes of gui elements or opening
|
|
|
|
* new dialogs.
|
|
|
|
*/
|
|
|
|
virtual void update() = 0;
|
|
|
|
|
2014-03-27 18:10:15 +00:00
|
|
|
/// @note This method will block until the video finishes playing
|
|
|
|
/// (and will continually update the window while doing so)
|
|
|
|
virtual void playVideo(const std::string& name, bool allowSkipping) = 0;
|
|
|
|
|
2013-05-15 15:54:18 +00:00
|
|
|
virtual void setNewGame(bool newgame) = 0;
|
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual void pushGuiMode (MWGui::GuiMode mode) = 0;
|
|
|
|
virtual void popGuiMode() = 0;
|
|
|
|
|
|
|
|
virtual void removeGuiMode (MWGui::GuiMode mode) = 0;
|
|
|
|
///< can be anywhere in the stack
|
|
|
|
|
2015-02-07 03:05:28 +00:00
|
|
|
virtual void goToJail(int days) = 0;
|
|
|
|
|
2013-05-15 15:54:18 +00:00
|
|
|
virtual void updatePlayer() = 0;
|
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual MWGui::GuiMode getMode() const = 0;
|
2013-01-09 10:09:47 +00:00
|
|
|
virtual bool containsMode(MWGui::GuiMode) const = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
|
|
|
|
virtual bool isGuiMode() const = 0;
|
|
|
|
|
2013-03-18 20:33:12 +00:00
|
|
|
virtual bool isConsoleMode() const = 0;
|
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual void toggleVisible (MWGui::GuiWindow wnd) = 0;
|
|
|
|
|
2013-08-05 21:15:26 +00:00
|
|
|
virtual void forceHide(MWGui::GuiWindow wnd) = 0;
|
|
|
|
virtual void unsetForceHide(MWGui::GuiWindow wnd) = 0;
|
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
/// Disallow all inventory mode windows
|
|
|
|
virtual void disallowAll() = 0;
|
|
|
|
|
|
|
|
/// Allow one or more windows
|
|
|
|
virtual void allow (MWGui::GuiWindow wnd) = 0;
|
|
|
|
|
|
|
|
virtual bool isAllowed (MWGui::GuiWindow wnd) const = 0;
|
|
|
|
|
|
|
|
/// \todo investigate, if we really need to expose every single lousy UI element to the outside world
|
|
|
|
virtual MWGui::DialogueWindow* getDialogueWindow() = 0;
|
|
|
|
virtual MWGui::InventoryWindow* getInventoryWindow() = 0;
|
|
|
|
virtual MWGui::CountDialog* getCountDialog() = 0;
|
|
|
|
virtual MWGui::ConfirmationDialog* getConfirmationDialog() = 0;
|
|
|
|
virtual MWGui::TradeWindow* getTradeWindow() = 0;
|
2015-03-11 19:04:25 +00:00
|
|
|
|
2015-09-07 19:32:28 +00:00
|
|
|
/// Make the player use an item, while updating GUI state accordingly
|
|
|
|
virtual void useItem(const MWWorld::Ptr& item) = 0;
|
|
|
|
|
2015-03-11 19:04:25 +00:00
|
|
|
virtual void updateSpellWindow() = 0;
|
|
|
|
|
|
|
|
virtual void setConsoleSelectedObject(const MWWorld::Ptr& object) = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
|
2015-05-02 15:48:24 +00:00
|
|
|
virtual void wmUpdateFps(float fps) = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
|
|
|
|
/// Set value for the given ID.
|
2014-01-03 00:59:15 +00:00
|
|
|
virtual void setValue (const std::string& id, const MWMechanics::AttributeValue& value) = 0;
|
|
|
|
virtual void setValue (int parSkill, const MWMechanics::SkillValue& value) = 0;
|
2012-09-15 15:12:42 +00:00
|
|
|
virtual void setValue (const std::string& id, const MWMechanics::DynamicStat<float>& value) = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual void setValue (const std::string& id, const std::string& value) = 0;
|
|
|
|
virtual void setValue (const std::string& id, int value) = 0;
|
|
|
|
|
2013-08-07 13:34:11 +00:00
|
|
|
/// Set time left for the player to start drowning (update the drowning bar)
|
2014-04-27 02:27:26 +00:00
|
|
|
/// @param time time left to start drowning
|
|
|
|
/// @param maxTime how long we can be underwater (in total) until drowning starts
|
|
|
|
virtual void setDrowningTimeLeft (float time, float maxTime) = 0;
|
2013-08-07 13:34:11 +00:00
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual void setPlayerClass (const ESM::Class &class_) = 0;
|
|
|
|
///< set current class of player
|
|
|
|
|
|
|
|
virtual void configureSkills (const SkillList& major, const SkillList& minor) = 0;
|
|
|
|
///< configure skill groups, each set contains the skill ID for that group.
|
|
|
|
|
|
|
|
virtual void updateSkillArea() = 0;
|
|
|
|
///< update display of skills, factions, birth sign, reputation and bounty
|
|
|
|
|
|
|
|
virtual void changeCell(MWWorld::CellStore* cell) = 0;
|
|
|
|
///< change the active cell
|
|
|
|
|
|
|
|
virtual void setFocusObject(const MWWorld::Ptr& focus) = 0;
|
|
|
|
virtual void setFocusObjectScreenCoords(float min_x, float min_y, float max_x, float max_y) = 0;
|
|
|
|
|
2013-01-11 13:32:29 +00:00
|
|
|
virtual void setCursorVisible(bool visible) = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual void getMousePosition(int &x, int &y) = 0;
|
|
|
|
virtual void getMousePosition(float &x, float &y) = 0;
|
|
|
|
virtual void setDragDrop(bool dragDrop) = 0;
|
|
|
|
virtual bool getWorldMouseOver() = 0;
|
|
|
|
|
2014-05-16 07:21:08 +00:00
|
|
|
virtual bool toggleFogOfWar() = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
|
2014-05-16 07:21:08 +00:00
|
|
|
virtual bool toggleFullHelp() = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
///< show extra info in item tooltips (owner, script)
|
|
|
|
|
|
|
|
virtual bool getFullHelp() const = 0;
|
|
|
|
|
2014-05-11 00:27:43 +00:00
|
|
|
virtual void setActiveMap(int x, int y, bool interior) = 0;
|
|
|
|
///< set the indices of the map texture that should be used
|
2012-08-12 16:11:09 +00:00
|
|
|
|
2013-08-07 13:34:11 +00:00
|
|
|
/// sets the visibility of the drowning bar
|
|
|
|
virtual void setDrowningBarVisibility(bool visible) = 0;
|
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
/// sets the visibility of the hud health/magicka/stamina bars
|
|
|
|
virtual void setHMSVisibility(bool visible) = 0;
|
|
|
|
|
|
|
|
/// sets the visibility of the hud minimap
|
|
|
|
virtual void setMinimapVisibility(bool visible) = 0;
|
|
|
|
virtual void setWeaponVisibility(bool visible) = 0;
|
|
|
|
virtual void setSpellVisibility(bool visible) = 0;
|
2013-08-03 00:45:26 +00:00
|
|
|
virtual void setSneakVisibility(bool visible) = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
|
2012-08-27 13:51:01 +00:00
|
|
|
virtual void activateQuickKey (int index) = 0;
|
|
|
|
|
2013-12-26 21:32:39 +00:00
|
|
|
virtual std::string getSelectedSpell() = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual void setSelectedSpell(const std::string& spellId, int successChancePercent) = 0;
|
2013-04-03 19:14:49 +00:00
|
|
|
virtual void setSelectedEnchantItem(const MWWorld::Ptr& item) = 0;
|
|
|
|
virtual void setSelectedWeapon(const MWWorld::Ptr& item) = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual void unsetSelectedSpell() = 0;
|
|
|
|
virtual void unsetSelectedWeapon() = 0;
|
|
|
|
|
2012-08-27 17:18:55 +00:00
|
|
|
virtual void showCrosshair(bool show) = 0;
|
2012-08-29 09:15:17 +00:00
|
|
|
virtual bool getSubtitlesEnabled() = 0;
|
2014-06-20 16:49:19 +00:00
|
|
|
virtual bool toggleGui() = 0;
|
2012-08-27 17:18:55 +00:00
|
|
|
|
2012-08-12 23:26:15 +00:00
|
|
|
virtual void disallowMouse() = 0;
|
|
|
|
virtual void allowMouse() = 0;
|
|
|
|
virtual void notifyInputActionBound() = 0;
|
|
|
|
|
2012-09-20 16:02:37 +00:00
|
|
|
virtual void addVisitedLocation(const std::string& name, int x, int y) = 0;
|
|
|
|
|
2014-05-27 03:13:37 +00:00
|
|
|
/// Hides dialog and schedules dialog to be deleted.
|
2015-05-01 00:09:57 +00:00
|
|
|
virtual void removeDialog(MWGui::Layout* dialog) = 0;
|
2014-05-27 03:13:37 +00:00
|
|
|
|
|
|
|
///Gracefully attempts to exit the topmost GUI mode
|
|
|
|
/** No guarentee of actually closing the window **/
|
|
|
|
virtual void exitCurrentGuiMode() = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
|
2015-01-10 22:21:39 +00:00
|
|
|
virtual void messageBox (const std::string& message, enum MWGui::ShowInDialogueMode showInDialogueMode = MWGui::ShowInDialogueMode_IfPossible) = 0;
|
2013-05-03 10:44:27 +00:00
|
|
|
virtual void staticMessageBox(const std::string& message) = 0;
|
|
|
|
virtual void removeStaticMessageBox() = 0;
|
2015-01-10 22:21:39 +00:00
|
|
|
virtual void interactiveMessageBox (const std::string& message,
|
|
|
|
const std::vector<std::string>& buttons = std::vector<std::string>(), bool block=false) = 0;
|
2014-05-27 03:13:37 +00:00
|
|
|
|
|
|
|
/// returns the index of the pressed button or -1 if no button was pressed (->MessageBoxmanager->InteractiveMessageBox)
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual int readPressedButton() = 0;
|
|
|
|
|
|
|
|
virtual void onFrame (float frameDuration) = 0;
|
|
|
|
|
|
|
|
/// \todo get rid of this stuff. Move it to the respective UI element classes, if needed.
|
2014-01-03 00:59:15 +00:00
|
|
|
virtual std::map<int, MWMechanics::SkillValue > getPlayerSkillValues() = 0;
|
|
|
|
virtual std::map<int, MWMechanics::AttributeValue > getPlayerAttributeValues() = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual SkillList getPlayerMinorSkills() = 0;
|
|
|
|
virtual SkillList getPlayerMajorSkills() = 0;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Fetches a GMST string from the store, if there is no setting with the given
|
|
|
|
* ID or it is not a string the default string is returned.
|
|
|
|
*
|
|
|
|
* @param id Identifier for the GMST setting, e.g. "aName"
|
|
|
|
* @param default Default value if the GMST setting cannot be used.
|
|
|
|
*/
|
2012-10-01 08:03:49 +00:00
|
|
|
virtual std::string getGameSettingString(const std::string &id, const std::string &default_) = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
|
2015-02-02 23:53:30 +00:00
|
|
|
virtual void processChangedSettings(const std::set< std::pair<std::string, std::string> >& changed) = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
|
2013-07-29 00:32:08 +00:00
|
|
|
virtual void windowResized(int x, int y) = 0;
|
|
|
|
|
2012-08-12 16:11:09 +00:00
|
|
|
virtual void executeInConsole (const std::string& path) = 0;
|
2012-09-11 14:37:54 +00:00
|
|
|
|
2012-09-15 18:18:41 +00:00
|
|
|
virtual void enableRest() = 0;
|
|
|
|
virtual bool getRestEnabled() = 0;
|
2013-05-16 11:35:28 +00:00
|
|
|
virtual bool getJournalAllowed() = 0;
|
2012-09-19 01:11:23 +00:00
|
|
|
|
|
|
|
virtual bool getPlayerSleeping() = 0;
|
2012-09-29 07:41:34 +00:00
|
|
|
virtual void wakeUpPlayer() = 0;
|
2012-09-22 22:36:20 +00:00
|
|
|
|
2013-03-31 11:13:46 +00:00
|
|
|
virtual void showCompanionWindow(MWWorld::Ptr actor) = 0;
|
2012-09-22 22:36:20 +00:00
|
|
|
virtual void startSpellMaking(MWWorld::Ptr actor) = 0;
|
2012-09-27 06:47:47 +00:00
|
|
|
virtual void startEnchanting(MWWorld::Ptr actor) = 0;
|
2013-11-19 05:48:47 +00:00
|
|
|
virtual void startRecharge(MWWorld::Ptr soulgem) = 0;
|
2013-03-30 14:51:07 +00:00
|
|
|
virtual void startSelfEnchanting(MWWorld::Ptr soulgem) = 0;
|
2012-10-17 16:03:02 +00:00
|
|
|
virtual void startTraining(MWWorld::Ptr actor) = 0;
|
2013-03-22 13:13:10 +00:00
|
|
|
virtual void startRepair(MWWorld::Ptr actor) = 0;
|
2013-03-23 07:16:46 +00:00
|
|
|
virtual void startRepairItem(MWWorld::Ptr item) = 0;
|
2015-03-11 19:04:25 +00:00
|
|
|
virtual void startTravel(const MWWorld::Ptr& actor) = 0;
|
|
|
|
virtual void startSpellBuying(const MWWorld::Ptr& actor) = 0;
|
|
|
|
virtual void startTrade(const MWWorld::Ptr& actor) = 0;
|
|
|
|
virtual void openContainer(const MWWorld::Ptr& container, bool loot) = 0;
|
2015-03-11 19:33:55 +00:00
|
|
|
virtual void showBook(const MWWorld::Ptr& item, bool showTakeButton) = 0;
|
|
|
|
virtual void showScroll(const MWWorld::Ptr& item, bool showTakeButton) = 0;
|
2012-12-31 00:15:47 +00:00
|
|
|
|
2013-03-30 14:51:07 +00:00
|
|
|
virtual void showSoulgemDialog (MWWorld::Ptr item) = 0;
|
|
|
|
|
2013-03-07 11:46:26 +00:00
|
|
|
virtual void changePointer (const std::string& name) = 0;
|
2012-12-31 00:15:47 +00:00
|
|
|
|
2013-07-30 04:00:20 +00:00
|
|
|
virtual void setEnemy (const MWWorld::Ptr& enemy) = 0;
|
|
|
|
|
2012-12-31 00:15:47 +00:00
|
|
|
virtual const Translation::Storage& getTranslationDataStorage() const = 0;
|
2013-06-16 16:06:55 +00:00
|
|
|
|
2014-01-29 16:26:18 +00:00
|
|
|
/// Warning: do not use MyGUI::InputManager::setKeyFocusWidget directly. Instead use this.
|
2013-06-16 16:06:55 +00:00
|
|
|
virtual void setKeyFocusWidget (MyGUI::Widget* widget) = 0;
|
2013-08-27 13:48:13 +00:00
|
|
|
|
|
|
|
virtual Loading::Listener* getLoadingScreen() = 0;
|
2013-11-20 15:05:24 +00:00
|
|
|
|
|
|
|
/// Should the cursor be visible?
|
|
|
|
virtual bool getCursorVisible() = 0;
|
2014-01-25 12:34:56 +00:00
|
|
|
|
|
|
|
/// Clear all savegame-specific data
|
|
|
|
virtual void clear() = 0;
|
2014-01-25 17:20:17 +00:00
|
|
|
|
2014-04-28 09:29:57 +00:00
|
|
|
virtual void write (ESM::ESMWriter& writer, Loading::Listener& progress) = 0;
|
2015-01-22 18:04:59 +00:00
|
|
|
virtual void readRecord (ESM::ESMReader& reader, uint32_t type) = 0;
|
2014-05-01 19:16:32 +00:00
|
|
|
virtual int countSavedGameRecords() const = 0;
|
2014-05-02 09:20:43 +00:00
|
|
|
|
|
|
|
/// Does the current stack of GUI-windows permit saving?
|
|
|
|
virtual bool isSavingAllowed() const = 0;
|
2014-05-27 07:00:31 +00:00
|
|
|
|
2015-03-11 19:04:25 +00:00
|
|
|
/// Send exit command to active Modal window
|
|
|
|
virtual void exitCurrentModal() = 0;
|
2014-05-27 07:00:31 +00:00
|
|
|
|
|
|
|
/// Sets the current Modal
|
|
|
|
/** Used to send exit command to active Modal when Esc is pressed **/
|
2014-05-27 08:38:13 +00:00
|
|
|
virtual void addCurrentModal(MWGui::WindowModal* input) = 0;
|
|
|
|
|
|
|
|
/// Removes the top Modal
|
|
|
|
/** Used when one Modal adds another Modal
|
|
|
|
\param input Pointer to the current modal, to ensure proper modal is removed **/
|
|
|
|
virtual void removeCurrentModal(MWGui::WindowModal* input) = 0;
|
2014-06-10 15:47:59 +00:00
|
|
|
|
|
|
|
virtual void pinWindow (MWGui::GuiWindow window) = 0;
|
2014-08-01 14:25:41 +00:00
|
|
|
|
|
|
|
/// Fade the screen in, over \a time seconds
|
2014-12-01 18:13:04 +00:00
|
|
|
virtual void fadeScreenIn(const float time, bool clearQueue=true) = 0;
|
2014-08-01 14:25:41 +00:00
|
|
|
/// Fade the screen out to black, over \a time seconds
|
2014-12-01 18:13:04 +00:00
|
|
|
virtual void fadeScreenOut(const float time, bool clearQueue=true) = 0;
|
2014-08-01 14:25:41 +00:00
|
|
|
/// Fade the screen to a specified percentage of black, over \a time seconds
|
2014-12-01 18:13:04 +00:00
|
|
|
virtual void fadeScreenTo(const int percent, const float time, bool clearQueue=true) = 0;
|
2014-10-12 17:06:40 +00:00
|
|
|
/// Darken the screen to a specified percentage
|
|
|
|
virtual void setBlindness(const int percent) = 0;
|
2014-09-28 15:57:14 +00:00
|
|
|
|
2014-10-11 20:21:48 +00:00
|
|
|
virtual void activateHitOverlay(bool interrupt=true) = 0;
|
2014-10-05 15:53:50 +00:00
|
|
|
virtual void setWerewolfOverlay(bool set) = 0;
|
|
|
|
|
2014-09-28 15:57:14 +00:00
|
|
|
virtual void toggleDebugWindow() = 0;
|
2014-12-15 14:23:03 +00:00
|
|
|
|
|
|
|
/// Cycle to next or previous spell
|
|
|
|
virtual void cycleSpell(bool next) = 0;
|
|
|
|
/// Cycle to next or previous weapon
|
|
|
|
virtual void cycleWeapon(bool next) = 0;
|
2015-05-01 16:37:24 +00:00
|
|
|
|
|
|
|
// In WindowManager for now since there isn't a VFS singleton
|
|
|
|
virtual std::string correctIconPath(const std::string& path) = 0;
|
|
|
|
virtual std::string correctBookartPath(const std::string& path, int width, int height) = 0;
|
|
|
|
virtual std::string correctTexturePath(const std::string& path) = 0;
|
2015-05-26 14:40:44 +00:00
|
|
|
|
|
|
|
virtual void requestMap(std::set<MWWorld::CellStore*> cells) = 0;
|
|
|
|
virtual void removeCell(MWWorld::CellStore* cell) = 0;
|
2015-05-28 01:50:44 +00:00
|
|
|
virtual void writeFog(MWWorld::CellStore* cell) = 0;
|
2012-08-12 16:11:09 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|