54 Commits

Author SHA1 Message Date
Calic
9fefe7619a Add editor actions module composing maps write APIs
paint_cell_at, erase_cell_at, cycle_rotation, save plus thin
wrappers for the UI hit-tests (set_active_layer/_atlas/_tile,
toggle_layer_visible/_roof_mode/_picker). Each action updates
state and delegates the actual map mutation to lib-core.maps.
2026-05-24 01:11:35 +02:00
Calic
0b2eb20199 Add editor state module with accessor API
Singleton table covering map id+path, active layer/atlas/tile/rot,
roof-mode flag, per-layer visibility flags, dirty flag, and picker
open/close state. Mutations go through setters so the test module
can verify state transitions without poking the internal table.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-24 01:09:08 +02:00
Calic
45992065a1 Add manifest.core for engine bootstrap
Engine requires both manifest.core (lib metadata) and manifest.module
(module metadata) for proper package discovery and loading.
2026-05-24 01:06:04 +02:00
Calic
9d41ba8890 Scaffold sporel-module-map-editor package
Empty launchable module with deps on lib-core.maps 0.4.0, render,
camera, input, and the fa_terrain_v1 asset alias. Renders the
default 4x4 empty work-map; interactive editing wired in
subsequent commits.
2026-05-24 01:04:44 +02:00