From c775153c21c99fcc94feb0fa7476bf9bc8a54c33 Mon Sep 17 00:00:00 2001 From: Dave Corley Date: Sun, 12 Oct 2025 22:16:43 -0500 Subject: [PATCH] CLEANUP: Remove fastForwardAI method in World --- apps/openmw/mwbase/world.hpp | 8 ++++---- apps/openmw/mwworld/worldimp.cpp | 5 ----- apps/openmw/mwworld/worldimp.hpp | 2 -- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/apps/openmw/mwbase/world.hpp b/apps/openmw/mwbase/world.hpp index 02618d92a2..d59c0c2115 100644 --- a/apps/openmw/mwbase/world.hpp +++ b/apps/openmw/mwbase/world.hpp @@ -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& 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; diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index a0f73b2374..e542873713 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -919,11 +919,6 @@ namespace MWWorld } } - void World::fastForwardAi() const - { - MWBase::Environment::get().getMechanicsManager()->fastForwardAi(); - } - TimeStamp World::getTimeStamp() const { return mTimeManager->getTimeStamp(); diff --git a/apps/openmw/mwworld/worldimp.hpp b/apps/openmw/mwworld/worldimp.hpp index 8bbac22b85..54ad5ab636 100644 --- a/apps/openmw/mwworld/worldimp.hpp +++ b/apps/openmw/mwworld/worldimp.hpp @@ -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.