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
@@ -527,6 +527,7 @@ public:
}
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 uiPointId) override
{
switch (uiPointId)
@@ -303,6 +303,7 @@ public:
}
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
switch (waypointId)
@@ -1014,6 +1015,7 @@ public:
Start(false);
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
if (waypointId == 7)
@@ -227,6 +227,7 @@ struct npc_general_andorov : public npc_escortAI
events.ScheduleEvent(EVENT_STRIKE, 2s, 5s);
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
switch (waypointId)
@@ -126,6 +126,7 @@ public:
}
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
if (Player* player = GetPlayerForEscort())
@@ -246,6 +246,7 @@ public:
}
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
if (Player* player = GetPlayerForEscort())
@@ -330,6 +330,7 @@ public:
// pSummoned->AI()->AttackStart(me);
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
if (Player* player = GetPlayerForEscort())
@@ -257,6 +257,7 @@ public:
me->SetFaction(faction);
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
RelocateSummons();
@@ -553,6 +553,7 @@ public:
else if (EventOnWait) EventTimer -= diff;
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
CurrWP = waypointId;
@@ -102,6 +102,7 @@ public:
{
npc_kaya_flathoofAI(Creature* creature) : npc_escortAI(creature) {}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
Player* player = GetPlayerForEscort();
@@ -168,6 +168,7 @@ public:
{
npc_custodian_of_timeAI(Creature* creature) : npc_escortAI(creature) { }
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
if (Player* player = GetPlayerForEscort())
@@ -74,6 +74,7 @@ public:
void Reset() override { }
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
Player* player = GetPlayerForEscort();
@@ -494,6 +495,7 @@ public:
}
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
switch (waypointId)
@@ -85,6 +85,7 @@ public:
void Reset() override { }
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
switch (waypointId)
@@ -170,6 +171,7 @@ public:
void Reset() override { }
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
switch (waypointId)
@@ -69,6 +69,7 @@ public:
uint32 DemoralizingShoutTimer;
using CreatureAI::WaypointReached;
void WaypointReached(uint32 waypointId) override
{
if (Player* player = GetPlayerForEscort())
@@ -383,6 +383,7 @@ public:
StartNextDialogueText(SAY_PRIESTESS_ALTAR_3);
}
using CreatureAI::WaypointReached;
void WaypointReached(uint32 pointId) override
{
switch (pointId)