Start menu pressed +/-: 36x36 picture, drawn +2/+2 on the plain background

Compared pixel for pixel with the recording of the real game: the pressed
picture in the bottom rows of KB/20.VGA is 36x36 (minus x 0, plus x 36), not
38x38 at x 0/38, and it is drawn two pixels right/down of the raised button
over the clean background. Raised and pressed now match the recording except
for the mouse cursor.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-11-09 10:36:00 +01:00
1 parent a426b209bf
commit 4c099a93b3
2 files changed
+7 -4

No files matched your search

+3 -2
View File
@@ -29,8 +29,9 @@ already did). Now pressed while held:
decision:** OK of the confirmation. decision:** OK of the confirmation.
- **Start menu (game setup):** the minus and plus buttons show the original's - **Start menu (game setup):** the minus and plus buttons show the original's
darker pressed picture while the mouse button is held (also in the joining darker pressed picture while the mouse button is held (also in the joining
manager's setup). It is a different picture, not a shifted copy of the button, manager's setup). It is a different picture (36x36 pixels, drawn two pixels right
and was taken from a recording of the real game. and down of the raised button on the plain background), not a shifted copy of the
button, and was compared pixel for pixel with a recording of the real game.
- The notices that wait for any click (Sportschau, cup draw, game end screens) have - The notices that wait for any click (Sportschau, cup draw, game end screens) have
no button and are unchanged. Toggles that stay on (training, filters) keep their no button and are unchanged. Toggles that stay on (training, filters) keep their
lasting state. lasting state.
+4 -2
View File
@@ -151,9 +151,11 @@ Image SetupScreen::render() const {
if (joining_ && (!joining_arrow_permission_[b] || if (joining_ && (!joining_arrow_permission_[b] ||
(difficulty_arrows_locked_ && (b == 1 || b == 5)))) (difficulty_arrows_locked_ && (b == 1 || b == 5))))
continue; continue;
// Held down by the mouse: the darker picture at the bottom of the atlas (not a shifted copy of the raised one). // Held down by the mouse: the darker 36x36 picture in the bottom rows of the atlas (minus at x 0, plus at
// x 36), drawn 2 pixels right and down of the raised button over the plain background (measured pixel for
// pixel against a recording of the original).
if (pressed_button_ == b) if (pressed_button_ == b)
copy_rect(out, atlas_, b > 3 ? 0x26 : 0, atlas_.height - 0x26, button_x_[b], button_y_[b], 0x26, 0x26); copy_rect(out, atlas_, b > 3 ? 36 : 0, atlas_.height - 36, button_x_[b] + 2, button_y_[b] + 2, 36, 36);
else else
copy_rect(out, atlas_, 0x36 + (b > 3 ? 0x26 : 0), button_source_y_, copy_rect(out, atlas_, 0x36 + (b > 3 ? 0x26 : 0), button_source_y_,
button_x_[b], button_y_[b], 0x26, 0x26); button_x_[b], button_y_[b], 0x26, 0x26);