mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
Remove redundant update virtual functions
This commit is contained in:
parent
79676aee15
commit
2dc6e755b2
@ -66,12 +66,6 @@ namespace MWBase
|
||||
virtual void drop (const MWWorld::CellStore *cellStore) = 0;
|
||||
///< Deregister all objects in the given cell.
|
||||
|
||||
virtual void update (float duration, bool paused) = 0;
|
||||
///< Update objects
|
||||
///
|
||||
/// \param paused In game type does not currently advance (this usually means some GUI
|
||||
/// component is up).
|
||||
|
||||
virtual void setPlayerName (const std::string& name) = 0;
|
||||
///< Set player name.
|
||||
|
||||
|
@ -176,8 +176,6 @@ namespace MWBase
|
||||
virtual void pausePlayback() = 0;
|
||||
virtual void resumePlayback() = 0;
|
||||
|
||||
virtual void update(float duration) = 0;
|
||||
|
||||
virtual void setListenerPosDir(const osg::Vec3f &pos, const osg::Vec3f &dir, const osg::Vec3f &up, bool underwater) = 0;
|
||||
|
||||
virtual void updatePtr(const MWWorld::ConstPtr& old, const MWWorld::ConstPtr& updated) = 0;
|
||||
|
@ -88,8 +88,6 @@ namespace MWBase
|
||||
/// iterator.
|
||||
|
||||
virtual CharacterIterator characterEnd() = 0;
|
||||
|
||||
virtual void update (float duration) = 0;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -247,8 +247,6 @@ namespace MWBase
|
||||
/// returns the index of the pressed button or -1 if no button was pressed (->MessageBoxmanager->InteractiveMessageBox)
|
||||
virtual int readPressedButton() = 0;
|
||||
|
||||
virtual void update (float duration) = 0;
|
||||
|
||||
virtual void updateConsoleObjectPtr(const MWWorld::Ptr& currentPtr, const MWWorld::Ptr& newPtr) = 0;
|
||||
|
||||
/**
|
||||
|
@ -408,11 +408,6 @@ namespace MWBase
|
||||
///< Write this record to the ESM store, allowing it to override a pre-existing record with the same ID.
|
||||
/// \return pointer to created record
|
||||
|
||||
virtual void update (float duration, bool paused) = 0;
|
||||
virtual void updatePhysics (float duration, bool paused, osg::Timer_t frameStart, unsigned int frameNumber, osg::Stats& stats) = 0;
|
||||
|
||||
virtual void updateWindowManager () = 0;
|
||||
|
||||
virtual MWWorld::Ptr placeObject (const MWWorld::ConstPtr& object, float cursorX, float cursorY, int amount) = 0;
|
||||
///< copy and place an object into the gameworld at the specified cursor position
|
||||
/// @param object
|
||||
|
@ -277,7 +277,7 @@ namespace MWGui
|
||||
|
||||
int readPressedButton () override; ///< returns the index of the pressed button or -1 if no button was pressed (->MessageBoxmanager->InteractiveMessageBox)
|
||||
|
||||
void update (float duration) override;
|
||||
void update (float duration);
|
||||
|
||||
/**
|
||||
* Fetches a GMST string from the store, if there is no setting with the given
|
||||
|
@ -61,7 +61,7 @@ namespace MWInput
|
||||
/// Clear all savegame-specific data
|
||||
void clear() override;
|
||||
|
||||
void update(float dt, bool disableControls=false, bool disableEvents=false) override;
|
||||
void update(float dt, bool disableControls, bool disableEvents=false) override;
|
||||
|
||||
void changeInputMode(bool guiMode) override;
|
||||
|
||||
|
@ -54,7 +54,7 @@ namespace MWMechanics
|
||||
void drop(const MWWorld::CellStore *cellStore) override;
|
||||
///< Deregister all objects in the given cell.
|
||||
|
||||
void update (float duration, bool paused) override;
|
||||
void update(float duration, bool paused);
|
||||
///< Update objects
|
||||
///
|
||||
/// \param paused In game type does not currently advance (this usually means some GUI
|
||||
|
@ -244,7 +244,7 @@ namespace MWSound
|
||||
void pausePlayback() override;
|
||||
void resumePlayback() override;
|
||||
|
||||
void update(float duration) override;
|
||||
void update(float duration);
|
||||
|
||||
void setListenerPosDir(const osg::Vec3f &pos, const osg::Vec3f &dir, const osg::Vec3f &up, bool underwater) override;
|
||||
|
||||
|
@ -84,7 +84,7 @@ namespace MWState
|
||||
|
||||
CharacterIterator characterEnd() override;
|
||||
|
||||
void update (float duration) override;
|
||||
void update(float duration);
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -495,10 +495,10 @@ namespace MWWorld
|
||||
///< Write this record to the ESM store, allowing it to override a pre-existing record with the same ID.
|
||||
/// \return pointer to created record
|
||||
|
||||
void update (float duration, bool paused) override;
|
||||
void updatePhysics (float duration, bool paused, osg::Timer_t frameStart, unsigned int frameNumber, osg::Stats& stats) override;
|
||||
void update(float duration, bool paused);
|
||||
void updatePhysics(float duration, bool paused, osg::Timer_t frameStart, unsigned int frameNumber, osg::Stats& stats);
|
||||
|
||||
void updateWindowManager () override;
|
||||
void updateWindowManager();
|
||||
|
||||
MWWorld::Ptr placeObject (const MWWorld::ConstPtr& object, float cursorX, float cursorY, int amount) override;
|
||||
///< copy and place an object into the gameworld at the specified cursor position
|
||||
|
Loading…
x
Reference in New Issue
Block a user