Refactor/game over screen (#468)

* Move game over (win/lose) state functions to their own file

* remove unused enum

* clang format

* Implement suggestions from @ricfehr3

* Fixing lack of highlighted button after skipping  ablind

* factorize as much game over state code as possible

---------

Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com>
This commit is contained in:
Geralt
2026-05-07 21:36:12 -07:00
committed by GitHub
co-authored by MathisMartin31
parent 9561e0e738
commit 6373fee144
6 changed files with 225 additions and 147 deletions
+1
View File
@@ -222,6 +222,7 @@ static void game_blind_select_handle_input()
}
game_blind_select_print_blinds_reqs_and_rewards();
highlight_select_button();
timer = TM_ZERO;
}