Split Godot host ADV text into partial class

This commit is contained in:
gamer147
2026-08-02 19:11:34 -04:00
parent 4b6d0c9c49
commit 1ffd8a0853
4 changed files with 611 additions and 589 deletions

View File

@@ -145,6 +145,10 @@ surface-transition drawing, raster helpers, and compositor decision logging. `go
Godot input routing, locator/debug hotkeys, debug-scene dispatch, cursor control, native alerts, and
full-width text entry.
`godot/GodotAdvHost.cs` retains cross-domain host coordination. Its partial-class companion
`godot/GodotAdvHost.AdvText.cs` owns live/retained ADV text, surface glyph rasterization and caching,
history presentation, message-window alpha, and retained wait-indicator configuration/publication.
The disposable `build/page-map-<SCENE>.jsonl` files are produced by editor/development Godot runs and map
runtime ADV page ordinals to their authoritative script offsets for `tools/locate_page.py`. Packaged exports
have no repository output tree and write their automatic maps below `user://diagnostics/page-maps` instead.

View File

@@ -569,6 +569,12 @@ do not mix mechanical moves with semantic changes.
The partial class retains the same node type, fields, signatures, execution order, and call sites; runtime
validation, including all 590 engine tests and the Godot threaded self-test, remains green after each move.
The first bounded `GodotAdvHost` split moved live/retained ADV text, surface glyph rasterization and cache
state, history presentation, message-window alpha, and retained wait-indicator publication into
`godot/GodotAdvHost.AdvText.cs`. The host remains a sealed `IHost` implementation, and presentation/input,
reset, and surface-lifecycle consumers retain direct partial-class access to the moved state. Runtime
validation remains green.
**Gate:** no externally visible behavior or command changes; generated artifacts are byte-identical where
deterministic, and the corresponding engine, Python, Godot, and corpus validations remain green after
each domain move.
@@ -939,8 +945,8 @@ layer's rendering diverges from ADV; save layout.
## 8. Immediate next step
Continue step 2 of the **codebase consolidation** maintenance slice: behavior-neutral physical splits backed
by the tracked launcher and layered validation driver. With the planned `Main` domains isolated, begin
`GodotAdvHost` with its ADV-text surface, then continue one existing domain at a time while preserving public
types, commands, and generated output.
by the tracked launcher and layered validation driver. With the planned `Main` domains and the first
`GodotAdvHost` ADV-text surface isolated, move host presentation/input next, then continue one existing domain
at a time while preserving public types, commands, and generated output.
Concrete playthrough blockers may still preempt this bounded maintenance work; the consolidation effort does
not replace Phase B gameplay validation or the open cross-platform gates.