Split Main movie playback into partial class

This commit is contained in:
gamer147
2026-08-02 18:17:25 -04:00
parent 123794cace
commit 2f7e53ebde
4 changed files with 134 additions and 125 deletions

View File

@@ -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.