mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Infer and animate elevator transport paths
This commit is contained in:
parent
c5ecf7d475
commit
76edd3260f
4 changed files with 40 additions and 8 deletions
|
|
@ -102,6 +102,12 @@ public:
|
|||
// Returns 0 when no suitable path match is found.
|
||||
uint32_t inferMovingPathForSpawn(const glm::vec3& spawnWorldPos, float maxDistance = 1200.0f) const;
|
||||
|
||||
// Infer a DBC path by spawn position, optionally including z-only elevator paths.
|
||||
// Returns 0 when no suitable path match is found.
|
||||
uint32_t inferDbcPathForSpawn(const glm::vec3& spawnWorldPos,
|
||||
float maxDistance,
|
||||
bool allowZOnly) const;
|
||||
|
||||
// Choose a deterministic fallback moving DBC path for known server transport entries/displayIds.
|
||||
// Returns 0 when no suitable moving path is available.
|
||||
uint32_t pickFallbackMovingPath(uint32_t entry, uint32_t displayId) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue