1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-27 05:40:25 +00:00

Remove redundant virtual functions

This commit is contained in:
elsid 2022-05-06 19:56:10 +02:00
parent 5d006ef14b
commit 8473336b06
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40
6 changed files with 3 additions and 8 deletions

View file

@ -53,8 +53,6 @@ namespace MWBase
/// ///
/// \param bypass Skip new game mechanics. /// \param bypass Skip new game mechanics.
virtual void endGame() = 0;
virtual void resumeGame() = 0; virtual void resumeGame() = 0;
virtual void deleteGame (const MWState::Character *character, const MWState::Slot *slot) = 0; virtual void deleteGame (const MWState::Character *character, const MWState::Slot *slot) = 0;

View file

@ -282,8 +282,6 @@ namespace MWBase
/// Warning: do not use MyGUI::InputManager::setKeyFocusWidget directly. Instead use this. /// Warning: do not use MyGUI::InputManager::setKeyFocusWidget directly. Instead use this.
virtual void setKeyFocusWidget (MyGUI::Widget* widget) = 0; virtual void setKeyFocusWidget (MyGUI::Widget* widget) = 0;
virtual void loadUserFonts() = 0;
virtual Loading::Listener* getLoadingScreen() = 0; virtual Loading::Listener* getLoadingScreen() = 0;
/// Should the cursor be visible? /// Should the cursor be visible?

View file

@ -623,7 +623,6 @@ namespace MWBase
virtual bool isPlayerInJail() const = 0; virtual bool isPlayerInJail() const = 0;
virtual void rest(double hours) = 0; virtual void rest(double hours) = 0;
virtual void rechargeItems(double duration, bool activeOnly) = 0;
virtual void setPlayerTraveling(bool traveling) = 0; virtual void setPlayerTraveling(bool traveling) = 0;
virtual bool isPlayerTraveling() const = 0; virtual bool isPlayerTraveling() const = 0;

View file

@ -142,7 +142,7 @@ namespace MWGui
void setStore (const MWWorld::ESMStore& store); void setStore (const MWWorld::ESMStore& store);
void initUI(); void initUI();
void loadUserFonts() override; void loadUserFonts();
Loading::Listener* getLoadingScreen() override; Loading::Listener* getLoadingScreen() override;

View file

@ -46,7 +46,7 @@ namespace MWState
/// ///
/// \param bypass Skip new game mechanics. /// \param bypass Skip new game mechanics.
void endGame() override; void endGame();
void resumeGame() override; void resumeGame() override;

View file

@ -587,7 +587,7 @@ namespace MWWorld
///< check if the player is allowed to rest ///< check if the player is allowed to rest
void rest(double hours) override; void rest(double hours) override;
void rechargeItems(double duration, bool activeOnly) override; void rechargeItems(double duration, bool activeOnly);
/// \todo Probably shouldn't be here /// \todo Probably shouldn't be here
MWRender::Animation* getAnimation(const MWWorld::Ptr &ptr) override; MWRender::Animation* getAnimation(const MWWorld::Ptr &ptr) override;