mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
610 B
C++
29 lines
610 B
C++
2 years ago
|
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTCONTEXT_H
|
||
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTCONTEXT_H
|
||
|
|
||
|
#include "tileposition.hpp"
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include <Recast.h>
|
||
|
|
||
|
namespace DetourNavigator
|
||
|
{
|
||
|
struct AgentBounds;
|
||
|
|
||
|
class RecastContext final : public rcContext
|
||
|
{
|
||
|
public:
|
||
|
explicit RecastContext(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
|