mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Add pathfinding interfaces, still heavily wip
This commit is contained in:
@@ -430,15 +430,7 @@ Mob::Mob(const char* in_name,
|
||||
m_TargetRing = glm::vec3();
|
||||
|
||||
flymode = FlyMode3;
|
||||
// Pathing
|
||||
PathingLOSState = UnknownLOS;
|
||||
PathingLoopCount = 0;
|
||||
PathingLastNodeVisited = -1;
|
||||
PathingLOSCheckTimer = new Timer(RuleI(Pathing, LOSCheckFrequency));
|
||||
PathingRouteUpdateTimerShort = new Timer(RuleI(Pathing, RouteUpdateFrequencyShort));
|
||||
PathingRouteUpdateTimerLong = new Timer(RuleI(Pathing, RouteUpdateFrequencyLong));
|
||||
DistractedFromGrid = false;
|
||||
PathingTraversedNodes = 0;
|
||||
hate_list.SetHateOwner(this);
|
||||
|
||||
m_AllowBeneficial = false;
|
||||
@@ -485,9 +477,6 @@ Mob::~Mob()
|
||||
entity_list.DestroyTempPets(this);
|
||||
}
|
||||
entity_list.UnMarkNPC(GetID());
|
||||
safe_delete(PathingLOSCheckTimer);
|
||||
safe_delete(PathingRouteUpdateTimerShort);
|
||||
safe_delete(PathingRouteUpdateTimerLong);
|
||||
UninitializeBuffSlots();
|
||||
|
||||
#ifdef BOTS
|
||||
@@ -1642,7 +1631,6 @@ void Mob::ShowBuffList(Client* client) {
|
||||
}
|
||||
|
||||
void Mob::GMMove(float x, float y, float z, float heading, bool SendUpdate) {
|
||||
|
||||
Route.clear();
|
||||
|
||||
if(IsNPC()) {
|
||||
|
||||
Reference in New Issue
Block a user