Document hand analysis functions in hand.h (#572)

* doxygen

* clang format

* Update round.cFix call to `find_straight_in_played_cards`

* Update straight/flush functions docs in hand.h

* typo

---------

Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com>
This commit is contained in:
Geralt
2026-07-10 17:46:05 -07:00
committed by GitHub
co-authored by MathisMartin31
parent d24b0b5619
commit 6e7d8a8399
3 changed files with 44 additions and 28 deletions
+1 -7
View File
@@ -869,13 +869,7 @@ static inline void select_flush_and_straight_cards_in_played_hand(void)
get_hand_type() == ROYAL_FLUSH)
{
bool straight_selection[MAX_HAND_SIZE] = {false};
find_straight_in_played_cards(
played,
played_top,
is_shortcut_joker_active(),
min_len,
straight_selection
);
find_straight_in_played_cards(played, played_top, min_len, straight_selection);
// Add the results into the final selection
for (int i = 0; i <= played_top; i++)
{