mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 06:48:20 +00:00
Partial port of der's map rewrite, no new azone format yet but it's coming. Will convert legacy map formats on the fly atm.
This commit is contained in:
+7
-7
@@ -31,7 +31,7 @@ struct NeighbourNode {
|
||||
|
||||
struct PathNode {
|
||||
uint16 id;
|
||||
VERTEX v;
|
||||
Map::Vertex v;
|
||||
float bestz;
|
||||
NeighbourNode Neighbours[PATHNODENEIGHBOURS];
|
||||
};
|
||||
@@ -61,17 +61,17 @@ public:
|
||||
static PathManager *LoadPathFile(const char *ZoneName);
|
||||
bool loadPaths(FILE *fp);
|
||||
void PrintPathing();
|
||||
std::list<int> FindRoute(VERTEX Start, VERTEX End);
|
||||
std::list<int> FindRoute(Map::Vertex Start, Map::Vertex End);
|
||||
std::list<int> FindRoute(int startID, int endID);
|
||||
|
||||
VERTEX GetPathNodeCoordinates(int NodeNumber, bool BestZ = true);
|
||||
bool CheckLosFN(VERTEX a, VERTEX b);
|
||||
Map::Vertex GetPathNodeCoordinates(int NodeNumber, bool BestZ = true);
|
||||
bool CheckLosFN(Map::Vertex a, Map::Vertex b);
|
||||
void SpawnPathNodes();
|
||||
void MeshTest();
|
||||
void SimpleMeshTest();
|
||||
int FindNearestPathNode(VERTEX Position);
|
||||
bool NoHazards(VERTEX From, VERTEX To);
|
||||
bool NoHazardsAccurate(VERTEX From, VERTEX To);
|
||||
int FindNearestPathNode(Map::Vertex Position);
|
||||
bool NoHazards(Map::Vertex From, Map::Vertex To);
|
||||
bool NoHazardsAccurate(Map::Vertex From, Map::Vertex To);
|
||||
void OpenDoors(int Node1, int Node2, Mob* ForWho);
|
||||
|
||||
PathNode* FindPathNodeByCoordinates(float x, float y, float z);
|
||||
|
||||
Reference in New Issue
Block a user