feat(Core/Movement): port smooth waypoint movement from Cataclysm Preservation Project (#25106)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: Ovahlord <dreadkiller@gmx.de>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Kitzunu <Kitzunu@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-03-23 08:08:14 -05:00
committed by GitHub
parent 3da6e30196
commit 4201acddd5
69 changed files with 844 additions and 386 deletions

View File

@@ -195,6 +195,7 @@ public:
npc_escortAI::MoveInLineOfSight(who);
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
switch (waypointId)
@@ -320,6 +321,7 @@ public:
}
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
Player* player = GetPlayerForEscort();

View File

@@ -114,6 +114,7 @@ public:
}
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
switch (waypointId)
@@ -340,6 +341,7 @@ public:
}
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
switch (waypointId)

View File

@@ -164,6 +164,7 @@ public:
}
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 i) override
{
Player* player = GetPlayerForEscort();
@@ -626,6 +627,7 @@ public:
player->FailQuest(Q_ALMABTRIEB);
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
Player* player = GetPlayerForEscort();
@@ -709,6 +711,7 @@ public:
uiTakeTimer = 3000;
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
Player* player = GetPlayerForEscort();

View File

@@ -161,6 +161,7 @@ public:
public:
npc_kservantAI(Creature* creature) : npc_escortAI(creature) { }
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
Player* player = GetPlayerForEscort();

View File

@@ -374,6 +374,7 @@ public:
{
npc_isla_starmaneAI(Creature* creature) : npc_escortAI(creature) { }
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
Player* player = GetPlayerForEscort();