[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
+10
View File
@@ -75,6 +75,16 @@ static Hand hand = {
static ContainedHandTypes compute_contained_hand_types(void);
static enum HandType compute_hand_type(struct ContainedHandTypes contained_types);
// Misc Hand Functions
const char* get_hand_type_name(enum HandType hand_type)
{
if (hand_type <= NONE || hand_type > FLUSH_FIVE)
return NULL;
return hand_base_values[hand_type].display_name;
}
// Hand Struct Manipulation
enum HandState get_hand_state(void)