Split Main movie playback into partial class
This commit is contained in:
@@ -138,7 +138,8 @@ complete disposable artifact under `build/export/linux-x64/`.
|
||||
`godot/Main.cs` retains the front-end's startup and runtime coordination. Behavior-neutral partial-class
|
||||
companions keep cohesive surfaces independently navigable without changing the Godot node type or invocation
|
||||
paths: `godot/Main.SelfTest.cs` owns the synthetic threaded/headless regression harness, while
|
||||
`godot/Main.Audio.cs` owns BGM, voice, sound-effect, mixer-routing/persistence, and audio-bus control.
|
||||
`godot/Main.Audio.cs` owns BGM, voice, sound-effect, mixer-routing/persistence, and audio-bus control, and
|
||||
`godot/Main.Movie.cs` owns decoder staging, movie frame/audio publication, completion, and teardown.
|
||||
|
||||
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
|
||||
|
||||
@@ -559,11 +559,12 @@ do not mix mechanical moves with semantic changes.
|
||||
stage, battle, card, routine, gallery, and general table implementations plus tests into importable
|
||||
modules.
|
||||
|
||||
**Progress (2026-08-02):** the first two bounded splits moved `Main`'s synthetic scene builder/threaded
|
||||
**Progress (2026-08-02):** the first three bounded splits moved `Main`'s synthetic scene builder/threaded
|
||||
self-test harness into `godot/Main.SelfTest.cs`, then its BGM, voice, sound-effect, mixer, and bus-control
|
||||
surface into `godot/Main.Audio.cs`. The partial class retains the same node type, fields, signatures, and
|
||||
call sites; runtime validation, including all 590 engine tests and the Godot threaded self-test, remains
|
||||
green after each move.
|
||||
surface into `godot/Main.Audio.cs`, then decoder staging, movie frame/audio publication, completion, and
|
||||
teardown into `godot/Main.Movie.cs`. 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.
|
||||
|
||||
**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
|
||||
@@ -935,8 +936,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 embedded `Main` self-test and audio surfaces
|
||||
isolated, move the `Main` movie playback surface next, then one existing domain at a time while preserving
|
||||
public types, commands, and generated output.
|
||||
by the tracked launcher and layered validation driver. With the embedded `Main` self-test, audio, and movie
|
||||
surfaces isolated, move the retained compositor surface next, then 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.
|
||||
|
||||
Reference in New Issue
Block a user