2022-12-19 18:21:05 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTCONTEXT_H
|
|
|
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTCONTEXT_H
|
|
|
|
|
|
|
|
#include "tileposition.hpp"
|
|
|
|
|
2024-05-19 12:26:28 +00:00
|
|
|
#include <components/esm/refid.hpp>
|
|
|
|
|
2022-12-19 18:21:05 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <Recast.h>
|
|
|
|
|
|
|
|
namespace DetourNavigator
|
|
|
|
{
|
|
|
|
struct AgentBounds;
|
|
|
|
|
|
|
|
class RecastContext final : public rcContext
|
|
|
|
{
|
|
|
|
public:
|
2024-05-19 12:26:28 +00:00
|
|
|
explicit RecastContext(ESM::RefId worldspace, const TilePosition& tilePosition, const AgentBounds& agentBounds);
|
2022-12-19 18:21:05 +00:00
|
|
|
|
|
|
|
const std::string& getPrefix() const { return mPrefix; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::string mPrefix;
|
|
|
|
|
|
|
|
void doLog(rcLogCategory category, const char* msg, int len) override;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|