2012-08-12 18:11:09 +02:00
|
|
|
#ifndef GAME_MWBASE_WINDOWMANAGER_H
|
|
|
|
#define GAME_MWBASE_WINDOWMANAGER_H
|
|
|
|
|
2015-02-09 16:37:20 +01:00
|
|
|
#include <stdint.h>
|
2012-08-12 18:11:09 +02:00
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include <map>
|
2015-02-09 16:23:41 +01:00
|
|
|
#include <set>
|
2012-08-12 18:11:09 +02:00
|
|
|
|
|
|
|
#include "../mwgui/mode.hpp"
|
|
|
|
|
2015-01-31 23:27:34 +01:00
|
|
|
namespace Loading
|
|
|
|
{
|
|
|
|
class Listener;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace Translation
|
|
|
|
{
|
|
|
|
class Storage;
|
|
|
|
}
|
|
|
|
|
2012-08-12 18:11:09 +02:00
|
|
|
namespace MyGUI
|
|
|
|
{
|
|
|
|
class Gui;
|
|
|
|
class Widget;
|
|
|
|
class UString;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
struct Class;
|
2014-01-25 18:20:17 +01:00
|
|
|
class ESMReader;
|
|
|
|
class ESMWriter;
|
2015-01-31 17:50:19 +01:00
|
|
|
struct CellId;
|
2012-08-12 18:11:09 +02:00
|
|
|
}
|
|
|
|
|
2015-02-09 16:23:41 +01:00
|
|
|
namespace MWMechanics
|
|
|
|
{
|
|
|
|
class AttributeValue;
|
|
|
|
template<typename T>
|
|
|
|
class DynamicStat;
|
|
|
|
class SkillValue;
|
|
|
|
}
|
|
|
|
|
2012-08-12 18:11:09 +02:00
|
|
|
namespace MWWorld
|
|
|
|
{
|
|
|
|
class CellStore;
|
|
|
|
class Ptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace MWGui
|
|
|
|
{
|
2015-05-01 02:09:57 +02:00
|
|
|
class Layout;
|
|
|
|
|
2012-08-12 18:11:09 +02:00
|
|
|
class Console;
|
|
|
|
class SpellWindow;
|
|
|
|
class TradeWindow;
|
2012-09-26 18:30:47 +02:00
|
|
|
class TravelWindow;
|
2012-09-09 14:10:07 -04:00
|
|
|
class SpellBuyingWindow;
|
2012-08-12 18:11:09 +02:00
|
|
|
class ConfirmationDialog;
|
|
|
|
class CountDialog;
|
|
|
|
class ScrollWindow;
|
|
|
|
class BookWindow;
|
|
|
|
class InventoryWindow;
|
|
|
|
class ContainerWindow;
|
|
|
|
class DialogueWindow;
|
2014-05-27 03:00:31 -04:00
|
|
|
class WindowModal;
|
2015-02-07 04:05:28 +01:00
|
|
|
class JailScreen;
|
2014-02-11 18:26:57 +01:00
|
|
|
|
|
|
|
enum ShowInDialogueMode {
|
|
|
|
ShowInDialogueMode_IfPossible,
|
|
|
|
ShowInDialogueMode_Only,
|
|
|
|
ShowInDialogueMode_Never
|
|
|
|
};
|
2012-08-12 18:11:09 +02:00
|
|
|
}
|
|
|
|
|
2013-01-11 08:27:59 -04:00
|
|
|
namespace SFO
|
|
|
|
{
|
2013-01-12 11:57:29 -04:00
|
|
|
class CursorManager;
|
2013-01-11 08:27:59 -04:00
|
|
|
}
|
|
|
|
|
2012-08-12 18:11:09 +02: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 19:10:15 +01: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 17:54:18 +02:00
|
|
|
virtual void setNewGame(bool newgame) = 0;
|
|
|
|
|
2012-08-12 18:11:09 +02: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 04:05:28 +01:00
|
|
|
virtual void goToJail(int days) = 0;
|
|
|
|
|
2013-05-15 17:54:18 +02:00
|
|
|
virtual void updatePlayer() = 0;
|
|
|
|
|
2012-08-12 18:11:09 +02:00
|
|
|
virtual MWGui::GuiMode getMode() const = 0;
|
2013-01-09 06:09:47 -04:00
|
|
|
virtual bool containsMode(MWGui::GuiMode) const = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
|
|
|
|
virtual bool isGuiMode() const = 0;
|
|
|
|
|
2013-03-18 21:33:12 +01:00
|
|
|
virtual bool isConsoleMode() const = 0;
|
|
|
|
|
2012-08-12 18:11:09 +02:00
|
|
|
virtual void toggleVisible (MWGui::GuiWindow wnd) = 0;
|
|
|
|
|
2013-08-05 23:15:26 +02:00
|
|
|
virtual void forceHide(MWGui::GuiWindow wnd) = 0;
|
|
|
|
virtual void unsetForceHide(MWGui::GuiWindow wnd) = 0;
|
|
|
|
|
2012-08-12 18:11:09 +02: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 20:04:25 +01:00
|
|
|
|
|
|
|
virtual void updateSpellWindow() = 0;
|
|
|
|
|
|
|
|
virtual void setConsoleSelectedObject(const MWWorld::Ptr& object) = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
|
2015-05-02 17:48:24 +02:00
|
|
|
virtual void wmUpdateFps(float fps) = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
|
|
|
|
/// Set value for the given ID.
|
2014-01-03 01:59:15 +01: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 17:12:42 +02:00
|
|
|
virtual void setValue (const std::string& id, const MWMechanics::DynamicStat<float>& value) = 0;
|
2012-08-12 18:11:09 +02: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 15:34:11 +02:00
|
|
|
/// Set time left for the player to start drowning (update the drowning bar)
|
2014-04-27 04:27:26 +02: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 15:34:11 +02:00
|
|
|
|
2012-08-12 18:11:09 +02: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 09:32:29 -04:00
|
|
|
virtual void setCursorVisible(bool visible) = 0;
|
2012-08-12 18:11:09 +02: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 09:21:08 +02:00
|
|
|
virtual bool toggleFogOfWar() = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
|
2014-05-16 09:21:08 +02:00
|
|
|
virtual bool toggleFullHelp() = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
///< show extra info in item tooltips (owner, script)
|
|
|
|
|
|
|
|
virtual bool getFullHelp() const = 0;
|
|
|
|
|
2014-05-11 02:27:43 +02: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 18:11:09 +02:00
|
|
|
|
2013-08-07 15:34:11 +02:00
|
|
|
/// sets the visibility of the drowning bar
|
|
|
|
virtual void setDrowningBarVisibility(bool visible) = 0;
|
|
|
|
|
2012-08-12 18:11:09 +02: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 02:45:26 +02:00
|
|
|
virtual void setSneakVisibility(bool visible) = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
|
2012-08-27 15:51:01 +02:00
|
|
|
virtual void activateQuickKey (int index) = 0;
|
|
|
|
|
2013-12-26 22:32:39 +01:00
|
|
|
virtual std::string getSelectedSpell() = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
virtual void setSelectedSpell(const std::string& spellId, int successChancePercent) = 0;
|
2013-04-03 21:14:49 +02:00
|
|
|
virtual void setSelectedEnchantItem(const MWWorld::Ptr& item) = 0;
|
|
|
|
virtual void setSelectedWeapon(const MWWorld::Ptr& item) = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
virtual void unsetSelectedSpell() = 0;
|
|
|
|
virtual void unsetSelectedWeapon() = 0;
|
|
|
|
|
2012-08-27 19:18:55 +02:00
|
|
|
virtual void showCrosshair(bool show) = 0;
|
2012-08-29 11:15:17 +02:00
|
|
|
virtual bool getSubtitlesEnabled() = 0;
|
2014-06-20 18:49:19 +02:00
|
|
|
virtual bool toggleGui() = 0;
|
2012-08-27 19:18:55 +02:00
|
|
|
|
2012-08-13 01:26:15 +02:00
|
|
|
virtual void disallowMouse() = 0;
|
|
|
|
virtual void allowMouse() = 0;
|
|
|
|
virtual void notifyInputActionBound() = 0;
|
|
|
|
|
2012-09-20 18:02:37 +02:00
|
|
|
virtual void addVisitedLocation(const std::string& name, int x, int y) = 0;
|
|
|
|
|
2014-05-26 23:13:37 -04:00
|
|
|
/// Hides dialog and schedules dialog to be deleted.
|
2015-05-01 02:09:57 +02:00
|
|
|
virtual void removeDialog(MWGui::Layout* dialog) = 0;
|
2014-05-26 23:13:37 -04:00
|
|
|
|
|
|
|
///Gracefully attempts to exit the topmost GUI mode
|
|
|
|
/** No guarentee of actually closing the window **/
|
|
|
|
virtual void exitCurrentGuiMode() = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
|
2015-01-10 23:21:39 +01:00
|
|
|
virtual void messageBox (const std::string& message, enum MWGui::ShowInDialogueMode showInDialogueMode = MWGui::ShowInDialogueMode_IfPossible) = 0;
|
2013-05-03 12:44:27 +02:00
|
|
|
virtual void staticMessageBox(const std::string& message) = 0;
|
|
|
|
virtual void removeStaticMessageBox() = 0;
|
2015-01-10 23:21:39 +01:00
|
|
|
virtual void interactiveMessageBox (const std::string& message,
|
|
|
|
const std::vector<std::string>& buttons = std::vector<std::string>(), bool block=false) = 0;
|
2014-05-26 23:13:37 -04:00
|
|
|
|
|
|
|
/// returns the index of the pressed button or -1 if no button was pressed (->MessageBoxmanager->InteractiveMessageBox)
|
2012-08-12 18:11:09 +02: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 01:59:15 +01:00
|
|
|
virtual std::map<int, MWMechanics::SkillValue > getPlayerSkillValues() = 0;
|
|
|
|
virtual std::map<int, MWMechanics::AttributeValue > getPlayerAttributeValues() = 0;
|
2012-08-12 18:11:09 +02: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 10:03:49 +02:00
|
|
|
virtual std::string getGameSettingString(const std::string &id, const std::string &default_) = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
|
2015-02-03 00:53:30 +01:00
|
|
|
virtual void processChangedSettings(const std::set< std::pair<std::string, std::string> >& changed) = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
|
2013-07-29 02:32:08 +02:00
|
|
|
virtual void windowResized(int x, int y) = 0;
|
|
|
|
|
2012-08-12 18:11:09 +02:00
|
|
|
virtual void executeInConsole (const std::string& path) = 0;
|
2012-09-11 16:37:54 +02:00
|
|
|
|
2012-09-15 20:18:41 +02:00
|
|
|
virtual void enableRest() = 0;
|
|
|
|
virtual bool getRestEnabled() = 0;
|
2013-05-16 13:35:28 +02:00
|
|
|
virtual bool getJournalAllowed() = 0;
|
2012-09-19 03:11:23 +02:00
|
|
|
|
|
|
|
virtual bool getPlayerSleeping() = 0;
|
2012-09-29 09:41:34 +02:00
|
|
|
virtual void wakeUpPlayer() = 0;
|
2012-09-23 00:36:20 +02:00
|
|
|
|
2013-03-31 13:13:46 +02:00
|
|
|
virtual void showCompanionWindow(MWWorld::Ptr actor) = 0;
|
2012-09-23 00:36:20 +02:00
|
|
|
virtual void startSpellMaking(MWWorld::Ptr actor) = 0;
|
2012-09-27 08:47:47 +02:00
|
|
|
virtual void startEnchanting(MWWorld::Ptr actor) = 0;
|
2013-11-19 06:48:47 +01:00
|
|
|
virtual void startRecharge(MWWorld::Ptr soulgem) = 0;
|
2013-03-30 15:51:07 +01:00
|
|
|
virtual void startSelfEnchanting(MWWorld::Ptr soulgem) = 0;
|
2012-10-17 18:03:02 +02:00
|
|
|
virtual void startTraining(MWWorld::Ptr actor) = 0;
|
2013-03-22 14:13:10 +01:00
|
|
|
virtual void startRepair(MWWorld::Ptr actor) = 0;
|
2013-03-23 08:16:46 +01:00
|
|
|
virtual void startRepairItem(MWWorld::Ptr item) = 0;
|
2015-03-11 20:04:25 +01: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 20:33:55 +01:00
|
|
|
virtual void showBook(const MWWorld::Ptr& item, bool showTakeButton) = 0;
|
|
|
|
virtual void showScroll(const MWWorld::Ptr& item, bool showTakeButton) = 0;
|
2012-12-31 04:15:47 +04:00
|
|
|
|
2013-03-30 15:51:07 +01:00
|
|
|
virtual void showSoulgemDialog (MWWorld::Ptr item) = 0;
|
|
|
|
|
2013-03-07 12:46:26 +01:00
|
|
|
virtual void changePointer (const std::string& name) = 0;
|
2012-12-31 04:15:47 +04:00
|
|
|
|
2013-07-30 06:00:20 +02:00
|
|
|
virtual void setEnemy (const MWWorld::Ptr& enemy) = 0;
|
|
|
|
|
2012-12-31 04:15:47 +04:00
|
|
|
virtual const Translation::Storage& getTranslationDataStorage() const = 0;
|
2013-06-16 18:06:55 +02:00
|
|
|
|
2014-01-29 17:26:18 +01:00
|
|
|
/// Warning: do not use MyGUI::InputManager::setKeyFocusWidget directly. Instead use this.
|
2013-06-16 18:06:55 +02:00
|
|
|
virtual void setKeyFocusWidget (MyGUI::Widget* widget) = 0;
|
2013-08-27 15:48:13 +02:00
|
|
|
|
|
|
|
virtual Loading::Listener* getLoadingScreen() = 0;
|
2013-11-20 16:05:24 +01:00
|
|
|
|
|
|
|
/// Should the cursor be visible?
|
|
|
|
virtual bool getCursorVisible() = 0;
|
2014-01-25 13:34:56 +01:00
|
|
|
|
|
|
|
/// Clear all savegame-specific data
|
|
|
|
virtual void clear() = 0;
|
2014-01-25 18:20:17 +01:00
|
|
|
|
2014-04-28 11:29:57 +02:00
|
|
|
virtual void write (ESM::ESMWriter& writer, Loading::Listener& progress) = 0;
|
2015-01-22 19:04:59 +01:00
|
|
|
virtual void readRecord (ESM::ESMReader& reader, uint32_t type) = 0;
|
2014-05-01 21:16:32 +02:00
|
|
|
virtual int countSavedGameRecords() const = 0;
|
2014-05-02 11:20:43 +02:00
|
|
|
|
|
|
|
/// Does the current stack of GUI-windows permit saving?
|
|
|
|
virtual bool isSavingAllowed() const = 0;
|
2014-05-27 03:00:31 -04:00
|
|
|
|
2015-03-11 20:04:25 +01:00
|
|
|
/// Send exit command to active Modal window
|
|
|
|
virtual void exitCurrentModal() = 0;
|
2014-05-27 03:00:31 -04:00
|
|
|
|
|
|
|
/// Sets the current Modal
|
|
|
|
/** Used to send exit command to active Modal when Esc is pressed **/
|
2014-05-27 04:38:13 -04: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 17:47:59 +02:00
|
|
|
|
|
|
|
virtual void pinWindow (MWGui::GuiWindow window) = 0;
|
2014-08-01 16:25:41 +02:00
|
|
|
|
|
|
|
/// Fade the screen in, over \a time seconds
|
2014-12-01 19:13:04 +01:00
|
|
|
virtual void fadeScreenIn(const float time, bool clearQueue=true) = 0;
|
2014-08-01 16:25:41 +02:00
|
|
|
/// Fade the screen out to black, over \a time seconds
|
2014-12-01 19:13:04 +01:00
|
|
|
virtual void fadeScreenOut(const float time, bool clearQueue=true) = 0;
|
2014-08-01 16:25:41 +02:00
|
|
|
/// Fade the screen to a specified percentage of black, over \a time seconds
|
2014-12-01 19:13:04 +01:00
|
|
|
virtual void fadeScreenTo(const int percent, const float time, bool clearQueue=true) = 0;
|
2014-10-12 19:06:40 +02:00
|
|
|
/// Darken the screen to a specified percentage
|
|
|
|
virtual void setBlindness(const int percent) = 0;
|
2014-09-28 17:57:14 +02:00
|
|
|
|
2014-10-11 22:21:48 +02:00
|
|
|
virtual void activateHitOverlay(bool interrupt=true) = 0;
|
2014-10-05 17:53:50 +02:00
|
|
|
virtual void setWerewolfOverlay(bool set) = 0;
|
|
|
|
|
2014-09-28 17:57:14 +02:00
|
|
|
virtual void toggleDebugWindow() = 0;
|
2014-12-15 15:23:03 +01: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 18:37:24 +02: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 16:40:44 +02:00
|
|
|
|
|
|
|
virtual void requestMap(std::set<MWWorld::CellStore*> cells) = 0;
|
|
|
|
virtual void removeCell(MWWorld::CellStore* cell) = 0;
|
2015-05-28 03:50:44 +02:00
|
|
|
virtual void writeFog(MWWorld::CellStore* cell) = 0;
|
2012-08-12 18:11:09 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|