feat(editor): add WGLY JSON round-trip (export/import sidecar)

Closes the JSON round-trip gap on the glyph catalog format
shipped last batch. --export-wgly-json emits all 8 scalar
fields plus a dual int + name form for glyphType so hand-edits
can use either representation. --import-wgly-json accepts
either form, falling back to the int when both are present.
Verified byte-identical round-trip on all three preset emitters
(starter / warrior / universal). 700 documented CLI flags.
This commit is contained in:
Kelsi 2026-05-09 19:01:03 -07:00
parent dcbc9706f2
commit 7c00a491a5
3 changed files with 132 additions and 0 deletions

View file

@ -124,6 +124,7 @@ const char* const kArgRequired[] = {
"--export-wcms-json", "--import-wcms-json",
"--gen-glyphs", "--gen-glyphs-warrior", "--gen-glyphs-universal",
"--info-wgly", "--validate-wgly",
"--export-wgly-json", "--import-wgly-json",
"--gen-vehicles", "--gen-vehicles-siege", "--gen-vehicles-flying",
"--info-wvhc", "--validate-wvhc",
"--gen-weather-temperate", "--gen-weather-arctic",