Commit build outputs via LFS; right-click markers, inline edit box, panel pin
Make a fresh clone servable after `git lfs pull` alone, and rebuildable with `tools/build.py` without re-rendering unchanged PSDs: - Track build/ (rendered base PNGs, previews, world composites), web/tiles/, web/tiles-trimmed/, web/data/world.json and web/data/markers/. Large PNGs and the tile pyramids go through Git LFS (.gitattributes); JSON stays plain. - build.py: decide PSD re-export from build/<id>/base.stamp.json (PSD size, mtime, SHA-256 recorded at export time) instead of file mtimes, which are meaningless after an LFS checkout. Same size + new mtime hashes once and refreshes the stamp; --stamp-only writes stamps for existing base.pngs. - Ignore .DS_Store and .env files; track sources/**/*.jpg through LFS. Viewer: - Right-click (long-press) the map for a category menu that drops a draft marker under the pointer and enters marker edit mode for that map. - Marker editing moves out of the side panel into a box anchored next to the marker: Enter or a left click anywhere else saves, Esc cancels, Delete inside the box; drags save position plus the box contents. - Maps panel expands on hover, header click pins/unpins (status shown in the header), unpinned collapses 2 s after the pointer leaves; Overview is the first list entry instead of a separate button. Only the panel scrolls; the page never grows past the viewport. Hover tooltips render above markers. Also includes the pending source additions (overall square base, skirt textures, AI regeneration tooling and notes), service worker, Caddyfile and map config updates. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
234dc32c86
commit
472c983287
10884 files changed
+48384
-351
No files matched your search
@@ -76,6 +76,8 @@ solid fills, so they may need `excludeLayers`.
|
||||
| `place` | center anchor and dimensions on the world map; optional `h` enables independent stretch — see step 4 |
|
||||
| `parent` | optional parent map id; groups the sub-map directly below its parent and includes it in parent focus |
|
||||
| `pxPerMeter` | optional, from the map's scale bar; recorded for later use |
|
||||
| `skirt` | optional, experimental: AI terrain texture around the playable polygon — `python tools/skirt.py <id>` creates it and the config (needs `mmx`) |
|
||||
| `background` | optional colour baked under the artwork (feathered halo, not a rectangle) — for floor plans drawn on transparency. `"#5c6168"` or `{color, halo?, opacity?}` (Factory) |
|
||||
| `trim` | optional normalized playable-area polygon and outside transparency |
|
||||
|
||||
---
|
||||
|
||||
Reference in new issue
Block a user