mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-11 03:23:51 +00:00
feat(editor): add WMAR JSON round-trip (--export/--import-wmar-json)
Dual encoding for markerKind (int 0..3 OR token "raidtarget"/"worldmap"/"party"/"custom"). iconPath and displayChar serialize as plain JSON strings for direct authoring. The displayChar field round-trip preserves exact byte content — important since chat-overlay glyphs may include short Unicode sequences (the Diamond marker uses "<>" as a 2-char ASCII fallback for its glyph rendering). All 3 presets (raid/world/party) byte-identical roundtrip OK. CLI flag count 1246 -> 1248.
This commit is contained in:
parent
42842958df
commit
e7755c77c9
3 changed files with 147 additions and 0 deletions
|
|
@ -361,6 +361,7 @@ const char* const kArgRequired[] = {
|
|||
"--export-wwfl-json", "--import-wwfl-json",
|
||||
"--gen-mar", "--gen-mar-world", "--gen-mar-party",
|
||||
"--info-wmar", "--validate-wmar",
|
||||
"--export-wmar-json", "--import-wmar-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