1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 21:59:55 +00:00
openmw/components/detournavigator/debug.hpp

79 lines
2.1 KiB
C++
Raw Normal View History

2018-03-13 22:49:08 +00:00
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_DEBUG_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_DEBUG_H
#include "agentbounds.hpp"
2022-06-26 17:36:03 +00:00
#include "areatype.hpp"
#include "changetype.hpp"
2022-09-22 18:26:05 +00:00
#include "flags.hpp"
#include "recastmesh.hpp"
#include "status.hpp"
#include "tilebounds.hpp"
2018-03-13 22:49:08 +00:00
2022-06-26 17:36:03 +00:00
#include <DetourStatus.h>
2018-03-13 22:49:08 +00:00
2022-06-26 17:36:03 +00:00
#include <iosfwd>
2022-09-22 18:26:05 +00:00
#include <string>
2018-03-13 22:49:08 +00:00
class dtNavMesh;
namespace DetourNavigator
{
struct Version;
struct TilesPositionsRange;
struct AreaCosts;
2023-05-08 20:28:32 +00:00
struct DetourSettings;
2022-06-26 17:36:03 +00:00
std::ostream& operator<<(std::ostream& stream, const TileBounds& value);
2018-03-13 22:49:08 +00:00
2022-06-26 17:36:03 +00:00
std::ostream& operator<<(std::ostream& stream, Status value);
2021-11-05 22:48:48 +00:00
2022-06-26 17:36:03 +00:00
std::ostream& operator<<(std::ostream& s, const Water& v);
2021-11-05 22:48:48 +00:00
2022-06-26 17:36:03 +00:00
std::ostream& operator<<(std::ostream& s, const CellWater& v);
2021-11-05 22:48:48 +00:00
2022-06-26 17:36:03 +00:00
std::ostream& operator<<(std::ostream& s, const FlatHeightfield& v);
std::ostream& operator<<(std::ostream& s, const Heightfield& v);
std::ostream& operator<<(std::ostream& s, CollisionShapeType v);
std::ostream& operator<<(std::ostream& s, const AgentBounds& v);
struct WriteDtStatus
{
2022-06-26 17:36:03 +00:00
dtStatus mStatus;
};
std::ostream& operator<<(std::ostream& stream, const WriteDtStatus& value);
std::ostream& operator<<(std::ostream& stream, const Flag value);
struct WriteFlags
{
2022-06-26 17:36:03 +00:00
Flags mValue;
};
std::ostream& operator<<(std::ostream& stream, const WriteFlags& value);
std::ostream& operator<<(std::ostream& stream, AreaType value);
std::ostream& operator<<(std::ostream& stream, ChangeType value);
std::ostream& operator<<(std::ostream& stream, const Version& value);
std::ostream& operator<<(std::ostream& stream, const TilesPositionsRange& value);
std::ostream& operator<<(std::ostream& stream, const AreaCosts& value);
2023-05-08 20:28:32 +00:00
std::ostream& operator<<(std::ostream& stream, const DetourSettings& value);
2018-03-13 22:49:08 +00:00
class RecastMesh;
struct RecastSettings;
2018-03-13 22:49:08 +00:00
2022-09-22 18:26:05 +00:00
void writeToFile(const RecastMesh& recastMesh, const std::string& pathPrefix, const std::string& revision,
const RecastSettings& settings);
void writeToFile(const dtNavMesh& navMesh, const std::string& pathPrefix, const std::string& revision);
2018-03-13 22:49:08 +00:00
}
#endif