Cleanup detournavigator includes

7344-support-launching-the-example-suite
elsid 2 years ago
parent 2cbbdc2879
commit 472a36d92a
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -11,8 +11,6 @@
#include <components/loadinglistener/loadinglistener.hpp> #include <components/loadinglistener/loadinglistener.hpp>
#include <components/misc/thread.hpp> #include <components/misc/thread.hpp>
#include <BulletCollision/CollisionShapes/btBoxShape.h>
#include <DetourNavMesh.h> #include <DetourNavMesh.h>
#include <osg/io_utils> #include <osg/io_utils>

@ -14,8 +14,6 @@
#include "tileposition.hpp" #include "tileposition.hpp"
#include "waitconditiontype.hpp" #include "waitconditiontype.hpp"
#include <osg/Vec3f>
#include <atomic> #include <atomic>
#include <chrono> #include <chrono>
#include <condition_variable> #include <condition_variable>

@ -2,7 +2,6 @@
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_COMMULATIVEAABB_H #define OPENMW_COMPONENTS_DETOURNAVIGATOR_COMMULATIVEAABB_H
#include <BulletCollision/Gimpact/btBoxCollision.h> #include <BulletCollision/Gimpact/btBoxCollision.h>
#include <LinearMath/btTransform.h>
#include <cstdint> #include <cstdint>

@ -3,9 +3,10 @@
#include "flags.hpp" #include "flags.hpp"
#include <optional>
#include <osg/Vec3f> #include <osg/Vec3f>
#include <optional>
class dtNavMeshQuery; class dtNavMeshQuery;
namespace DetourNavigator namespace DetourNavigator

@ -2,6 +2,8 @@
#include <components/misc/convert.hpp> #include <components/misc/convert.hpp>
#include <DetourCommon.h>
#include <algorithm> #include <algorithm>
#include <array> #include <array>

@ -7,7 +7,6 @@
#include "settingsutils.hpp" #include "settingsutils.hpp"
#include "status.hpp" #include "status.hpp"
#include <DetourCommon.h>
#include <DetourNavMesh.h> #include <DetourNavMesh.h>
#include <DetourNavMeshQuery.h> #include <DetourNavMeshQuery.h>

@ -8,7 +8,6 @@
#include <components/debug/debuglog.hpp> #include <components/debug/debuglog.hpp>
#include <osg/Vec3f>
#include <osg/io_utils> #include <osg/io_utils>
#include <functional> #include <functional>

@ -7,10 +7,7 @@
#include <components/sceneutil/workqueue.hpp> #include <components/sceneutil/workqueue.hpp>
#include <osg/Vec3f>
#include <cstdint> #include <cstdint>
#include <functional>
#include <memory> #include <memory>
#include <optional> #include <optional>
#include <string_view> #include <string_view>

@ -19,7 +19,6 @@
#include <DetourNavMesh.h> #include <DetourNavMesh.h>
#include <DetourNavMeshBuilder.h> #include <DetourNavMeshBuilder.h>
#include <Recast.h> #include <Recast.h>
#include <RecastAlloc.h>
#include <algorithm> #include <algorithm>
#include <array> #include <array>

@ -4,7 +4,6 @@
#include "stats.hpp" #include "stats.hpp"
#include <components/esm3/loadpgrd.hpp> #include <components/esm3/loadpgrd.hpp>
#include <components/misc/algorithm.hpp>
#include <components/misc/convert.hpp> #include <components/misc/convert.hpp>
#include <components/misc/coordinateconverter.hpp> #include <components/misc/coordinateconverter.hpp>

@ -4,8 +4,11 @@
#include "navigator.hpp" #include "navigator.hpp"
#include "navmeshmanager.hpp" #include "navmeshmanager.hpp"
#include <map>
#include <memory> #include <memory>
#include <set> #include <optional>
#include <string_view>
#include <unordered_map>
namespace DetourNavigator namespace DetourNavigator
{ {

@ -1,6 +1,5 @@
#include "navmeshmanager.hpp" #include "navmeshmanager.hpp"
#include "debug.hpp" #include "debug.hpp"
#include "exceptions.hpp"
#include "gettilespositions.hpp" #include "gettilespositions.hpp"
#include "makenavmesh.hpp" #include "makenavmesh.hpp"
#include "navmeshcacheitem.hpp" #include "navmeshcacheitem.hpp"
@ -8,9 +7,7 @@
#include "settingsutils.hpp" #include "settingsutils.hpp"
#include "waitconditiontype.hpp" #include "waitconditiontype.hpp"
#include <components/bullethelpers/heightfield.hpp>
#include <components/debug/debuglog.hpp> #include <components/debug/debuglog.hpp>
#include <components/misc/convert.hpp>
#include <osg/io_utils> #include <osg/io_utils>

@ -2,7 +2,7 @@
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_OBJECTID_H #define OPENMW_COMPONENTS_DETOURNAVIGATOR_OBJECTID_H
#include <cstddef> #include <cstddef>
#include <unordered_map> #include <functional>
namespace DetourNavigator namespace DetourNavigator
{ {

@ -2,7 +2,6 @@
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECAST_H #define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECAST_H
#include <Recast.h> #include <Recast.h>
#include <RecastAlloc.h>
#include <cstddef> #include <cstddef>
#include <type_traits> #include <type_traits>

@ -1,9 +1,7 @@
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTALLOCUTILS_H #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTALLOCUTILS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTALLOCUTILS_H #define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTALLOCUTILS_H
#include <RecastAlloc.h> #include <cstddef>
#include <cstdint>
namespace DetourNavigator namespace DetourNavigator
{ {

@ -3,6 +3,8 @@
#include "recasttempallocator.hpp" #include "recasttempallocator.hpp"
#include <RecastAlloc.h>
#include <cstdlib> #include <cstdlib>
namespace DetourNavigator namespace DetourNavigator

@ -1,8 +1,6 @@
#include "recastmesh.hpp" #include "recastmesh.hpp"
#include "exceptions.hpp" #include "exceptions.hpp"
#include <Recast.h>
namespace DetourNavigator namespace DetourNavigator
{ {
Mesh::Mesh(std::vector<int>&& indices, std::vector<float>&& vertices, std::vector<AreaType>&& areaTypes) Mesh::Mesh(std::vector<int>&& indices, std::vector<float>&& vertices, std::vector<AreaType>&& areaTypes)

@ -8,7 +8,6 @@
#include <LinearMath/btTransform.h> #include <LinearMath/btTransform.h>
#include <osg/Referenced>
#include <osg/ref_ptr> #include <osg/ref_ptr>
#include <functional> #include <functional>

@ -3,6 +3,8 @@
#include "recastallocutils.hpp" #include "recastallocutils.hpp"
#include <RecastAlloc.h>
#include <cassert> #include <cassert>
#include <memory> #include <memory>
#include <vector> #include <vector>

@ -16,9 +16,17 @@
#include <boost/geometry/geometries/point.hpp> #include <boost/geometry/geometries/point.hpp>
#include <boost/geometry/index/rtree.hpp> #include <boost/geometry/index/rtree.hpp>
#include <LinearMath/btTransform.h>
#include <osg/Vec2i>
#include <map> #include <map>
#include <memory>
#include <mutex> #include <mutex>
#include <optional> #include <optional>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector> #include <vector>
namespace DetourNavigator namespace DetourNavigator

Loading…
Cancel
Save