fix(ui): restore effect and player display assets
Load and render DAT400-407 effect panels with the preserved wheel overlap, and add deterministic effect-7 coverage. Restore exact 1008:0996/0b9e score fields, configured-player rows, current/status indicators, signed status thresholds, and six 5x5 per-player ball-marker slots. Test Plan: - cargo test --all-targets - cargo clippy --all-targets --all-features -- -D warnings - rumdl check CHANGELOG.md RECONSTRUCTION.md README.md - cargo run --quiet -- --simulate effect-7 --step 0 --screenshot /tmp/tdkpin-effect7.png - cargo run --quiet -- --simulate launcher --step 0 --screenshot /tmp/tdkpin-display.png - git diff --check
This commit is contained in:
@@ -688,6 +688,14 @@ impl App {
|
||||
return;
|
||||
};
|
||||
|
||||
draw_texture(
|
||||
&self.assets.player_effects[usize::from(game.player_effect())],
|
||||
55.0,
|
||||
79.0,
|
||||
WHITE,
|
||||
);
|
||||
self.draw_inactive_table_region(84, 77, 14, 14);
|
||||
|
||||
if let Some(frame) = game.panel_frame {
|
||||
self.draw_panel_animation(frame);
|
||||
} else if let Some(state) = game
|
||||
|
||||
Reference in New Issue
Block a user