Implement original gadget panel and playable shrink ray

This commit is contained in:
UnixNight committed 2026-10-27 12:18:45 -04:00
1 parent 0272f7bef7
commit 7b5230ceb8
57 files changed
+3545 -48

No files matched your search

+19
View File
@@ -5,6 +5,25 @@ SDL3 for platform windowing, input and audio. Linux x64 and Windows x64 are
equally required. Source is `src/GamePort/`; root executable csproj allows
`dotnet build` and `dotnet run` from GamePort. No runtime network dependencies.
The first gadget slice separates UI display selection from the equipped raw mode.
`GadgetScreen` owns group0 panel state/hit regions; `GadgetMenuOverlay` loads54
original canvases and applies shared uniform640×480 viewport/pointer transforms.
Closing precedes the inventory selection event. Practice captures the existing
departure context and requests the selected VR01..08 without a pickup prompt.
The panel gates new gameplay SFX; full simulation pause is a declared port policy.
`SceneGadgets` subscribes to the player's existing input phase and owns ray sound,
energy, actual3SOL targets and score callbacks to `SceneInteractions`/TSK.
`ShrinkRay` isolates strict source heading/height/distance/wall gates and texture
clock; `OriginalHeading` implements the copied-DLL numeric references.
`ShrinkSoldier` separates authored/reset AI mode from prior dynamic mode, shrink
timer/marker and provisional NPC body support. `ShrinkSoldierVisuals` samples
original WALK/SHRINK morphs with nonloop hold rather than scaling the mesh.
`ShrinkRayVisuals` captures the effect root/yaw and three source textures.
Generic draw opacity and opaque/alpha/additive variants support the recovered
half-opacity ray. Blended-world depth writes disabled is an explicit renderer
policy. See gameplay/gadgets-implementation.md for evidence and remaining gates.
Original assets stay in `../Original`. Python tools parse undocumented original
formats into generated scene resources under `artifacts/`. The modern application
loads these original-derived resources and big endian GAM entity data. Portable