fix(render): restore original game presentation

Compose the running table from the recovered resting bitmap and exact active
UI regions. Remove the procedural replacements that distorted lamps,
flippers, player rows, and display values, and place the plunger strip at its
recovered destination.

Test Plan:
- cargo fmt --check
- cargo test
- cargo clippy --all-targets --all-features -- -D warnings
- launch the game and compare the initial frame and charged plunger visually
This commit is contained in:
2026-08-22 18:07:12 +02:00
parent 91ae8cdfd8
commit aeae63aabe
2 changed files with 70 additions and 150 deletions
-7
View File
@@ -547,13 +547,6 @@ impl Game {
}
self.finished = true;
}
pub fn flippers(&self) -> (Segment, Segment) {
(
flipper_segment(vec2(103.0, 397.0), self.left_flipper_angle),
flipper_segment(vec2(210.0, 397.0), self.right_flipper_angle),
)
}
}
fn flipper_segment(pivot: Vec2, angle: f32) -> Segment {