Replace include by RecastMesh forward declaration

To reduce dependency between navigator interface and implementation.
pull/3077/head
elsid 4 years ago
parent ec87b3f8f7
commit 865ef56a09
No known key found for this signature in database
GPG Key ID: D27B8E8D10A2896B

@ -6,7 +6,6 @@
#include "settings.hpp"
#include "objectid.hpp"
#include "navmeshcacheitem.hpp"
#include "recastmesh.hpp"
#include "recastmeshtiles.hpp"
namespace ESM

@ -2,13 +2,14 @@
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESHTILE_H
#include "tileposition.hpp"
#include "recastmesh.hpp"
#include <map>
#include <memory>
namespace DetourNavigator
{
class RecastMesh;
using RecastMeshTiles = std::map<TilePosition, std::shared_ptr<RecastMesh>>;
}

Loading…
Cancel
Save