Extract ADV host contract
This commit is contained in:
@@ -166,12 +166,13 @@ reporting contracts, while `engine/Age.Engine/Hosting/ILifecycleHost.cs` owns sc
|
||||
timed-deadline waiting, frame yield, and scene reset. `engine/Age.Engine/Hosting/IAudioHost.cs` owns BGM, voice,
|
||||
SFX, fade, volume, and route-control contracts, including the compatibility overload/default chains used by
|
||||
simple hosts. `engine/Age.Engine/Hosting/IMovieHost.cs` owns ordinary, positioned, mask-transition, activity-query,
|
||||
and modal movie playback contracts. `IHost` inherits all four focused contracts; their required and default
|
||||
behavior is unchanged. `engine/Age.Engine/Hosting/IGraphicsHost.cs` owns mutable surfaces, retained-range/frame
|
||||
presentation, transitions, texture lifecycle, pixel capture/replace, draw, and size contracts; `IHost` also
|
||||
inherits this focused surface without changing existing hosts. `engine/Age.Engine/Hosting/IInputHost.cs` owns
|
||||
modal fullwidth entry, ADV waits/callback servicing, input clock, cursor resources, and skip-state interaction;
|
||||
its required wait and overload/default chains remain unchanged. The neutral
|
||||
and modal movie playback contracts. `engine/Age.Engine/Hosting/IGraphicsHost.cs` owns mutable surfaces,
|
||||
retained-range/frame presentation, transitions, texture lifecycle, pixel capture/replace, draw, and size
|
||||
contracts. `engine/Age.Engine/Hosting/IInputHost.cs` owns modal fullwidth entry, ADV waits/callback servicing,
|
||||
input clock, cursor resources, and skip-state interaction. `engine/Age.Engine/Hosting/IAdvHost.cs` owns live and
|
||||
surface text, history presentation, ADV layout publication, message presentation settings, wait indicators, and
|
||||
page-presentation suspension. `IHost` inherits all seven focused contracts; every required member and
|
||||
overload/default chain remains unchanged. The neutral
|
||||
`engine/Age.Engine/Model/MovieMaskTransitionRequest.cs` record carries movie mask work between the VM, host, and
|
||||
retained graphics without making `Model` depend on `Hosting`.
|
||||
`engine/Age.Engine/Model/RgbaImage.cs` owns the format-independent packed RGBA image transported between SYS4
|
||||
|
||||
@@ -809,6 +809,12 @@ do not mix mechanical moves with semantic changes.
|
||||
its focused tests required new imports; record shape, editor defaults, wait overloads, and all runtime behavior
|
||||
remain unchanged. Runtime validation remains green.
|
||||
|
||||
The tenth bounded contract slice introduced `IAdvHost` for live and surface text, text-history presentation,
|
||||
ADV layout publication, message presentation settings, wait-indicator control, and page-presentation
|
||||
suspension. `IHost` now contains no members of its own and inherits all seven focused host contracts; all
|
||||
twenty-three ADV members, required implementations, overload/default chains, existing hosts, and transport
|
||||
record locations remain behaviorally unchanged. Runtime validation remains green.
|
||||
|
||||
4. **Make the build graph express source ownership.** Stop linking production `.cs` files from `godot/` and
|
||||
`tools/movie-corpus-gate/` into `Age.Engine.Tests`. Extract the platform-neutral frontend/movie/diagnostic
|
||||
code into a small production project referenced by Godot, tests, and the corpus gate. Retain both existing
|
||||
@@ -1169,8 +1175,8 @@ layer's rendering diverges from ADV; save layout.
|
||||
## 8. Immediate next step
|
||||
Continue step 3 of the **codebase consolidation** maintenance slice: clarify runtime contracts without changing
|
||||
behavior or the aggregate host accepted by the VM. With diagnostic, lifecycle, audio, and movie contracts
|
||||
established beneath `IHost`, shared graphics transport neutral, and graphics/input contracts now separated, move
|
||||
the remaining ADV text/history/layout/presentation members into `IAdvHost` next. Preserve all required/default
|
||||
members and existing hosts, leaving `IHost` as the unchanged aggregate runtime entry point.
|
||||
established beneath `IHost`, shared graphics/input transport neutral, and graphics/input/ADV contracts now
|
||||
separated, move the unchanged `AdvWaitIndicatorConfig` and `DiagnosticMessage` declarations from `Hosting` to
|
||||
`Model` next. Preserve all consumers while removing the remaining transport declarations from interface files.
|
||||
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