Add a "is_card_face" function to take into account if Pareidolia is present

This commit is contained in:
MonteCrysto
2025-09-30 22:47:00 +02:00
parent 74739d87ed
commit c781ee9666
4 changed files with 34 additions and 16 deletions
+3
View File
@@ -86,6 +86,7 @@ typedef struct List List;
// Utility functions for other files
typedef struct CardObject CardObject; // forward declaration, actually declared in card.h
typedef struct Card Card;
typedef struct JokerObject JokerObject;
CardObject** get_hand_array(void);
int get_hand_top(void);
@@ -93,6 +94,8 @@ int hand_get_size(void);
CardObject** get_played_array(void);
int get_played_top(void);
List* get_jokers(void);
bool is_joker_present(int joker_id);
bool card_is_face(Card *card);
int get_deck_top(void);
int get_num_discards_remaining(void);