fix(game): restore original scoring and sound dispatch
The rewrite assigned one WAV resource to each logical event, which could not represent the original call-site behavior. It played reserved WAV 2022 for media awards, omitted multi-sound bank sequences, and used the wrong cues for captures, bumpers, targets, nudges, and tilt. Emit explicit sound-resource events at the reconstructed C control-flow sites so logical rendering events no longer imply audio. Move media threshold advancement into score addition, retain one threshold transition per call, and use wrapping 32-bit score arithmetic. Restore the ninth-diamond 24,464-point completion, the subsequent double-score activation, and later 100,000-point secondary-score awards. Test Plan: - `cargo test --all-targets` -- passed, 53 tests - `cargo clippy --all-targets -- -D warnings` -- passed - `rumdl check CHANGELOG.md RECONSTRUCTION.md` -- passed - `git diff --cached --check` -- passed
This commit is contained in:
@@ -10,6 +10,12 @@ and this project adheres to
|
||||
|
||||
### Fixed
|
||||
|
||||
- Dispatch the original per-call-site sound sequences instead of assigning one
|
||||
guessed WAV to each logical event. This removes the nonexistent WAV 2022
|
||||
playback and restores bank, trigger, capture, nudge, tilt, and drain cues.
|
||||
- Advance media/extra-ball thresholds only from score additions, preserve
|
||||
32-bit score wrapping, and restore the ninth-diamond 24,464-point award plus
|
||||
the later double-score and secondary-score bank states.
|
||||
- Match the original 640x460 window, native 16x28 score glyphs, and
|
||||
`TDK Pinball Machine 1.00` title so the recovered artwork is presented
|
||||
one-for-one instead of enlarged or resampled.
|
||||
|
||||
Reference in New Issue
Block a user