aboutsummaryrefslogtreecommitdiff
path: root/src/common/Collision/DynamicTree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Collision/DynamicTree.h')
-rw-r--r--src/common/Collision/DynamicTree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/Collision/DynamicTree.h b/src/common/Collision/DynamicTree.h
index 75cbf8466f4..5581702a504 100644
--- a/src/common/Collision/DynamicTree.h
+++ b/src/common/Collision/DynamicTree.h
@@ -31,6 +31,11 @@ class GameObjectModel;
class PhaseShift;
struct DynTreeImpl;
+namespace VMAP
+{
+ struct AreaAndLiquidData;
+}
+
class TC_COMMON_API DynamicMapTree
{
DynTreeImpl *impl;
@@ -46,6 +51,7 @@ public:
float getHeight(float x, float y, float z, float maxSearchDist, PhaseShift const& phaseShift) const;
bool getAreaInfo(float x, float y, float& z, PhaseShift const& phaseShift, uint32& flags, int32& adtId, int32& rootId, int32& groupId) const;
+ void getAreaAndLiquidData(float x, float y, float z, PhaseShift const& phaseShift, uint8 reqLiquidType, VMAP::AreaAndLiquidData& data) const;
void insert(const GameObjectModel&);
void remove(const GameObjectModel&);