mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 12:41:30 +00:00
* Lots of flee updates primarily based on TAKPs source * Update Values to EQEmu values. * Add rule * Adjustments to fear pathing * Flee/Pathing adjustments (More TAKP code adjusted) * updates * Updates (Massaged functions from TAKP source) --------- Co-authored-by: Kinglykrab <kinglykrab@gmail.com>
27 lines
633 B
C++
27 lines
633 B
C++
#include "pathfinder_null.h"
|
|
|
|
IPathfinder::IPath PathfinderNull::FindRoute(const glm::vec3 &start, const glm::vec3 &end, bool &partial, bool &stuck, int flags)
|
|
{
|
|
partial = false;
|
|
stuck = false;
|
|
IPath ret;
|
|
ret.push_back(start);
|
|
ret.push_back(end);
|
|
return ret;
|
|
}
|
|
|
|
IPathfinder::IPath PathfinderNull::FindPath(const glm::vec3 &start, const glm::vec3 &end, bool &partial, bool &stuck, const PathfinderOptions &opts)
|
|
{
|
|
partial = false;
|
|
stuck = false;
|
|
IPath ret;
|
|
ret.push_back(start);
|
|
ret.push_back(end);
|
|
return ret;
|
|
}
|
|
|
|
glm::vec3 PathfinderNull::GetRandomLocation(const glm::vec3 &start, int flags)
|
|
{
|
|
return glm::vec3(0.0f);
|
|
}
|