mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 16:58:02 +00:00
Prelim swimming support
This commit is contained in:
@@ -6,6 +6,24 @@
|
||||
class Client;
|
||||
class Seperator;
|
||||
|
||||
enum PathingPolyFlags
|
||||
{
|
||||
PathingNormal = 1,
|
||||
PathingWater = 2,
|
||||
PathingLava = 4,
|
||||
PathingZoneLine = 8,
|
||||
PathingPvP = 16,
|
||||
PathingSlime = 32,
|
||||
PathingIce = 64,
|
||||
PathingVWater = 128,
|
||||
PathingGeneralArea = 256,
|
||||
PathingPortal = 512,
|
||||
PathingPrefer = 1024,
|
||||
PathingDisabled = 2048,
|
||||
PathingAll = 65535,
|
||||
PathingNotDisabled = PathingAll ^ PathingDisabled
|
||||
};
|
||||
|
||||
class IPathfinder
|
||||
{
|
||||
public:
|
||||
@@ -29,7 +47,7 @@ public:
|
||||
IPathfinder() { }
|
||||
virtual ~IPathfinder() { }
|
||||
|
||||
virtual IPath FindRoute(const glm::vec3 &start, const glm::vec3 &end, bool &partial, bool &stuck) = 0;
|
||||
virtual IPath FindRoute(const glm::vec3 &start, const glm::vec3 &end, bool &partial, bool &stuck, int flags = PathingNotDisabled) = 0;
|
||||
virtual glm::vec3 GetRandomLocation(const glm::vec3 &start) = 0;
|
||||
virtual void DebugCommand(Client *c, const Seperator *sep) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user