[Enhancement] Game Over screen rework (#548)

* WIP

* getting somewhere

* clean up everything real good

* doc

* clang format

* Fix round.c after merge

* Remove extra deck_pop declaration

* Remove unnecessary comment

* address MeirGavish's review

---------

Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com>
This commit is contained in:
Geralt
2026-07-08 03:48:31 +03:00
committed by GitHub
co-authored by MathisMartin31
parent da16e6a486
commit 369c680cb7
10 changed files with 359 additions and 81 deletions
+7 -1
View File
@@ -497,8 +497,11 @@ static inline void game_round_execute_play_hand(void)
return;
set_hand_state(HAND_PLAY);
--g_game_vars.hands;
display_hands();
g_game_vars.nb_played_hands[get_hand_type() - 1]++;
}
/**
@@ -1069,6 +1072,9 @@ static inline void game_round_process_input_and_state(void)
lerped_temp_score = int2fx(temp_score);
lerped_score = int2fx(g_game_vars.score);
if (temp_score > g_game_vars.best_hand_score)
g_game_vars.best_hand_score = temp_score;
display_temp_score(temp_score);
g_game_vars.chips = 0;
@@ -2071,4 +2077,4 @@ void game_round_on_update(void)
// animate score flames if we exceed the score requirement
game_round_process_flaming_score();
}
}