mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-11 03:23:51 +00:00
feat(editor): add WSRG JSON round-trip (--export/--import-wsrg-json)
Closes the editing loop on the spell-range bucket catalog: dump a
.wsrg to a JSON sidecar, hand-edit the buckets (rename, retune
yards, recolor HUD indicator), re-import to a byte-identical
binary. The exporter emits both the int rangeKind (0..6) and the
human-readable rangeKindName ("self", "melee", "short", "ranged",
"long", "very-long", "unlimited"); the importer accepts either,
so JSON sidecars stay readable without losing the canonical binary
encoding.
Verified byte-identical round-trip on all three presets (starter,
ranged, friendly). CLI flag count 890 -> 892.
This commit is contained in:
parent
ede2d9918a
commit
53611be09d
3 changed files with 157 additions and 0 deletions
|
|
@ -208,6 +208,7 @@ const char* const kArgRequired[] = {
|
|||
"--export-wqso-json", "--import-wqso-json",
|
||||
"--gen-srg", "--gen-srg-ranged", "--gen-srg-friendly",
|
||||
"--info-wsrg", "--validate-wsrg",
|
||||
"--export-wsrg-json", "--import-wsrg-json",
|
||||
"--gen-weather-temperate", "--gen-weather-arctic",
|
||||
"--gen-weather-desert", "--gen-weather-stormy",
|
||||
"--gen-zone-atmosphere",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue