diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index ad8d5f2..1f1b2f0 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -218,6 +218,18 @@ Each original file keeps one-line delegators, so callers are unchanged. `table_card_header` → `table_card_go_button`; `table_card_rows` → `table_card_row_text`, `table_card_odds`. No script is over 400 lines now (largest: test_board_dialog, board_view, 398). +## 3f. Modules added 2026-11-14 (playtest fixes) +- **Ledger:** `core/ledger_members.gd` (entries on the card: clean, adopt older spreads, sync with + saved values), `ui/ledger_edits.gd` (add/rename/start/remove with undo), `ui/ledger_card_rows.gd` + (Build-mode fields on the card). +- **Rolling:** `ui/main_rolling_show.gd` (show a roll at once), `RollCosts.card_gate` (card costs), + `RollPauses` pop-up, `SpreadLinks` (`core/spread_links.gd`, [[Spread::Card]]) with + `ui/spread_loader.gd` and `ui/spread_link_dialog.gd`. +- **Interface:** `ui/delete_key.gd`, `ui/sound_panel.gd`, `ui/format_menu.gd` (right-click Format), + `ui/text_effects/` (sparkle, shimmer, flash RichTextEffects; `RichText.install_effects`), + `ui/colour_dialog.gd` ("Any colour…"). +- **Timing:** `tests/perf_roll.gd` (not in the suite). + ## 4. Data and storage - **Collections:** `user://collections/.json`, format_version 2 (`{format_version, id, name, tables, groups?}`). On Linux that's `~/.local/share/godot/app_userdata/TableTower/`. diff --git a/docs/DESIGN.md b/docs/DESIGN.md index 940de7e..a671731 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -86,11 +86,16 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol Known gaps vs mockup: corner ornaments show on all four corners; no card drop shadows; Terminal has no scanlines. `pipe_layer.gd` is now 456 lines (size audit). -**2026-11-14: the user did the full hand playtest** (all 20 themes, every feature). Findings and -the proposed order are in §4 "Playtest findings"; the user is reviewing that order. Size audit -batch 1 (the 10 files over 450 lines) is done on branch `size-audit` (ARCHITECTURE §3e), tests -pass; not merged yet. Placeholder *writing* (help topics, demos, sample spread, templates) was -added to the Theme Art Guide's checklist. +**2026-11-14: the user did the full hand playtest** (all 20 themes, every feature) and approved +the plan in §4 "Playtest findings". **All 7 steps are built** on branch `size-audit` (37 commits +over `main`, 46 suites pass, smoke clean). **Not merged or pushed:** the user said to finish the +list before pushing; ask before merging to `main` and pushing. Placeholder *writing* (help, demos, +sample, templates) is on the Theme Art Guide checklist. + +**Next, likely:** the user hand-tests the new features (Ledger entries on cards, card costs and +the pause pop-up, Format menu and effects, spread folders, [[Spread::Card]], the Delete key, +group tabs). Untested by hand: windowed resize of frame corners, Book editor after undo (the +test couldn't reproduce the reported case), Terminal at small zoom (now faint, not flickering). ## 3b. Theme slots plan (2026-11-11, user-approved order) Mockups: "Morgan's Wardrobe" artifact (https://claude.ai/code/artifact/136b4ce8-1ef7-47ca-a39a-a75eb34d64b7): @@ -159,7 +164,7 @@ that works on any theme (solid background, stronger text, thicker borders, no ef folders in the spread switcher and a useful tooltip; collapse button on expanded large cards; Book editor refresh after undo; hint where "Roll it with … instead" is hidden (ranged targets only); call diagram exports "Export as diagram" (only JSON is a full save). -7. Bigger: spreads calling other spreads (not built). +7. ~~Spreads calling other spreads~~ done 2026-11-14: `[[Spread::Card]]` (LOGIC.md §5.3). **Known, not urgent** - `export_presets.cfg` (and `project.godot`) hold the user's uncommitted edits. The Windows preset's