Kelsidavis-WoWee/include
Kelsi 610ed71922 Opcode registry: move to generated canonical+alias pipeline
Introduce data-driven opcode registry with canonical and alias sources:

- Added Data/opcodes/canonical.json as the single canonical LogicalOpcode set.

- Added Data/opcodes/aliases.json for cross-core naming aliases (CMaNGOS/AzerothCore/local legacy).

Added generator and generated include fragments:

- tools/gen_opcode_registry.py emits include/game/opcode_enum_generated.inc, include/game/opcode_names_generated.inc, and include/game/opcode_aliases_generated.inc.

- include/game/opcode_table.hpp now consumes generated enum entries.

- src/game/opcode_table.cpp now consumes generated name and alias tables.

Loader canonicalization behavior:

- OpcodeTable::nameToLogical canonicalizes incoming JSON opcode names via alias table before enum lookup, so implementation code stays stable while expansion maps can use different core spellings.

Validation and build integration:

- Added tools/validate_opcode_maps.py to validate canonical contract across expansions.

- Added CMake targets opcodes-generate and opcodes-validate.

- wowee target now depends on opcodes-generate so generated headers stay current.

Validation/build run:

- cmake -S . -B build

- cmake --build build --target opcodes-generate opcodes-validate

- cmake --build build -j32
2026-02-20 03:02:31 -08:00
..
audio Add combat sounds, melee ability animations, and player vocalizations 2026-02-19 21:31:37 -08:00
auth Vanilla/Turtle WoW support: M2 loading, bone parsing, textures, auth 2026-02-13 16:53:28 -08:00
core Opcode tables: sync Classic/WotLK to canonical headers and expand logical mapping coverage 2026-02-20 02:50:59 -08:00
game Opcode registry: move to generated canonical+alias pipeline 2026-02-20 03:02:31 -08:00
network Fix two more Windows/MinGW compile errors 2026-02-18 17:59:11 -08:00
pipeline Prefer canonical case-resolved files for Warden MPQ hash checks 2026-02-20 01:49:43 -08:00
platform Fix three Windows-specific compile errors 2026-02-18 17:52:28 -08:00
rendering Fix combat vocalizations with correct MPQ paths, add combat idle stance 2026-02-19 21:50:32 -08:00
ui Add bag bar drag-to-reorder, fix three wrong WotLK opcodes 2026-02-19 22:34:22 -08:00