mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-19 10:53:07 +00:00
CLEANUP: Remove fastForwardAI method in World
This commit is contained in:
parent
e3af2db511
commit
c775153c21
3 changed files with 4 additions and 11 deletions
|
|
@ -210,8 +210,6 @@ namespace MWBase
|
|||
virtual void advanceTime(double hours, bool incremental = false) = 0;
|
||||
///< Advance in-game time.
|
||||
|
||||
virtual void fastForwardAi() const = 0;
|
||||
|
||||
virtual MWWorld::TimeStamp getTimeStamp() const = 0;
|
||||
///< Return current in-game time and number of day since new game start.
|
||||
|
||||
|
|
@ -579,7 +577,8 @@ namespace MWBase
|
|||
virtual DetourNavigator::Navigator* getNavigator() const = 0;
|
||||
|
||||
virtual void updateActorPath(const MWWorld::ConstPtr& actor, const std::deque<osg::Vec3f>& path,
|
||||
const DetourNavigator::AgentBounds& agentBounds, const osg::Vec3f& start, const osg::Vec3f& end) const = 0;
|
||||
const DetourNavigator::AgentBounds& agentBounds, const osg::Vec3f& start, const osg::Vec3f& end) const
|
||||
= 0;
|
||||
|
||||
virtual void removeActorPath(const MWWorld::ConstPtr& actor) const = 0;
|
||||
|
||||
|
|
@ -588,7 +587,8 @@ namespace MWBase
|
|||
virtual DetourNavigator::AgentBounds getPathfindingAgentBounds(const MWWorld::ConstPtr& actor) const = 0;
|
||||
|
||||
virtual bool hasCollisionWithDoor(
|
||||
const MWWorld::ConstPtr& door, const osg::Vec3f& position, const osg::Vec3f& destination) const = 0;
|
||||
const MWWorld::ConstPtr& door, const osg::Vec3f& position, const osg::Vec3f& destination) const
|
||||
= 0;
|
||||
|
||||
virtual bool isAreaOccupiedByOtherActor(const MWWorld::ConstPtr& actor, const osg::Vec3f& position) const = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -919,11 +919,6 @@ namespace MWWorld
|
|||
}
|
||||
}
|
||||
|
||||
void World::fastForwardAi() const
|
||||
{
|
||||
MWBase::Environment::get().getMechanicsManager()->fastForwardAi();
|
||||
}
|
||||
|
||||
TimeStamp World::getTimeStamp() const
|
||||
{
|
||||
return mTimeManager->getTimeStamp();
|
||||
|
|
|
|||
|
|
@ -309,8 +309,6 @@ namespace MWWorld
|
|||
void advanceTime(double hours, bool incremental = false) override;
|
||||
///< Advance in-game time.
|
||||
|
||||
void fastForwardAi() const override;
|
||||
|
||||
TimeStamp getTimeStamp() const override;
|
||||
///< Return current in-game time and number of day since new game start.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue