mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 12:41:30 +00:00
I don't think this should open up any chance to exploit Trying to use a ZL to go somewhere else is still detected etc This should really cut down on false positives and we really can't see real cheater from all the noise this creates
31 lines
795 B
C++
31 lines
795 B
C++
#ifndef EQEMU_WATER_MAP_V2_H
|
|
#define EQEMU_WATER_MAP_V2_H
|
|
|
|
#include "water_map.h"
|
|
#include "oriented_bounding_box.h"
|
|
#include <vector>
|
|
#include <utility>
|
|
|
|
class WaterMapV2 : public WaterMap
|
|
{
|
|
public:
|
|
WaterMapV2();
|
|
~WaterMapV2();
|
|
|
|
virtual WaterRegionType ReturnRegionType(const glm::vec3& location) const;
|
|
virtual bool InWater(const glm::vec3& location) const;
|
|
virtual bool InVWater(const glm::vec3& location) const;
|
|
virtual bool InLava(const glm::vec3& location) const;
|
|
virtual bool InLiquid(const glm::vec3& location) const;
|
|
virtual bool InPvP(const glm::vec3& location) const;
|
|
virtual bool InZoneLine(const glm::vec3& location) const;
|
|
|
|
protected:
|
|
virtual bool Load(FILE *fp);
|
|
|
|
std::vector<std::pair<WaterRegionType, OrientedBoundingBox>> regions;
|
|
friend class WaterMap;
|
|
};
|
|
|
|
#endif
|