Refactor/hand (#490)
* move all hand funcs to their new file. now to clean up * WIP * Cleanup + doc hand.h * clang format * Refactor loose variables in hand.c into a proper Hand struct * Fix some more issues * Apply *some* suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * remove outdated comment * fix rebase issue * fix rng_info missing from g_game_vars init --------- Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI
MathisMartin31
parent
d7414157a5
commit
2329c4c681
@@ -27,6 +27,8 @@
|
||||
#define MAX_HANDS 4
|
||||
#define MAX_DISCARDS 4
|
||||
|
||||
#define DEFAULT_HAND_SIZE 8
|
||||
|
||||
/**
|
||||
* @brief A central location for all game variables.
|
||||
*
|
||||
@@ -45,6 +47,7 @@ typedef struct
|
||||
s32 round;
|
||||
s32 ante;
|
||||
s32 money;
|
||||
s32 hand_size;
|
||||
|
||||
// Blind variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user