[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user