Kelsidavis-WoWee/include
Kelsi 411ee8b485 Fix WMO instance duplication causing 16x Stormwind rendering
Added deduplication for WMO instances based on uniqueId, matching the
existing M2 doodad deduplication logic. This prevents creating multiple
instances of the same WMO when it's referenced from multiple ADT tiles.

Before: STORMWIND.WMO (uniqueId=10047) was being rendered 16 times
        (one instance per ADT tile that references it)
After:  Only 1 instance is created and shared across all tiles

Changes:
- Added placedWmoIds set to TerrainManager (like placedDoodadIds)
- Check uniqueId before creating WMO instance
- Skip duplicate WMO placements across tile boundaries
- Log dedup statistics: 'X instances, Y dedup skipped'

This should fix the floating cathedral visual issue if it was caused by
rendering artifacts from 16x overdraw, and will massively improve
performance in Stormwind.
2026-02-09 18:38:45 -08:00
..
audio Add goblin voice support for NPCs 2026-02-09 17:14:34 -08:00
auth Use auth username for world connection 2026-02-05 18:18:15 -08:00
core Add ambient sound system and eliminate log spam 2026-02-09 14:50:14 -08:00
game Add body type selection for nonbinary characters and reduce preview rotation sensitivity 2026-02-09 17:56:04 -08:00
network Fix online mode creature spawning and packet parsing 2026-02-05 21:55:52 -08:00
pipeline Add dynamic memory-based asset caching and aggressive loading 2026-02-08 23:15:26 -08:00
platform Fix hair/vendor/loot bugs, revamp spellbook with tabs and icons, clean up action bar, add talent placeholder 2026-02-06 16:04:25 -08:00
rendering Fix WMO instance duplication causing 16x Stormwind rendering 2026-02-09 18:38:45 -08:00
ui Add body type selection for nonbinary characters and reduce preview rotation sensitivity 2026-02-09 17:56:04 -08:00