feat: enhance map renderer with catalog synchronization and reload functionality
- Added a "Reload Current Map" button to the left panel for refreshing the selected map after catalog edits. - Updated catalog CSV handling to support non-authoritative `categorization` and `qualities` columns. - Implemented automatic addition of newly observed shapes to the game catalog CSV during cache builds. - Modified catalog entry handling to ensure proper boolean overrides for `roof` and `semitransparency`. - Introduced `ensureShapeCatalogCoverage` function to maintain catalog integrity based on observed shapes. - Enhanced the serialization of catalog entries to include new fields and proper formatting. - Updated UI to reflect changes in reload state and button functionality.
This commit is contained in:
parent
f93cfc31c8
commit
90954fbf37
7 changed files with 2686 additions and 409 deletions
|
|
@ -29,7 +29,10 @@ Viewer behavior:
|
|||
- inspect mode lets you pin a shape tooltip, hide a single instance, and restore hidden instances from the left panel
|
||||
- PNG export is generated in the browser from the cached scene instead of being rasterized server-side
|
||||
- hidden instances can be exported as JSON and each catalog CSV can be downloaded from the viewer
|
||||
- catalog CSV rows support `roof` and `semitransparency` boolean overrides; leave them blank to use decoded defaults, or set `true`/`false` per shape
|
||||
- the left panel includes a `Reload Current Map` button that forces a fresh rebuild/load of the currently selected map after catalog edits
|
||||
- catalog CSV rows support `roof` and `semitransparency` boolean overrides; the catalog is authoritative for those properties, so blank means `false` and only explicit `true` turns them on
|
||||
- cache builds automatically add any newly observed shapes into the matching game catalog CSV without overwriting existing rows, then rewrite the file sorted by `shape_code`
|
||||
- catalog CSV rows also support non-authoritative `categorization` and `qualities` columns; cache builds auto-fill them when blank from the existing derived categorization and observed per-shape quality values
|
||||
|
||||
## Cache Warming
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue