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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user