mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 00:15:06 +00:00
31 lines
670 B
C++
31 lines
670 B
C++
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTCONTEXT_H
|
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTCONTEXT_H
|
|
|
|
#include "tileposition.hpp"
|
|
|
|
#include <components/esm/refid.hpp>
|
|
|
|
#include <string>
|
|
|
|
#include <Recast.h>
|
|
|
|
namespace DetourNavigator
|
|
{
|
|
struct AgentBounds;
|
|
|
|
class RecastContext final : public rcContext
|
|
{
|
|
public:
|
|
explicit RecastContext(ESM::RefId worldspace, const TilePosition& tilePosition, const AgentBounds& agentBounds);
|
|
|
|
const std::string& getPrefix() const { return mPrefix; }
|
|
|
|
private:
|
|
std::string mPrefix;
|
|
|
|
void doLog(rcLogCategory category, const char* msg, int len) override;
|
|
};
|
|
}
|
|
|
|
#endif
|