Refactor of scoring flow, Joker Callbacks and Card Retriggers (#160)

* Remove Baseball Card for now, will have to wait a future PR

* Removed cards held in hand joker scoring stage - should be in another PR

---------

Co-authored-by: MonteCrysto <mathis.martin31@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: MeirGavish <meir.gavish@gmail.com>
This commit is contained in:
Geralt
2025-11-01 15:50:52 +02:00
committed by GitHub
co-authored by MonteCrysto Copilot MeirGavish
parent 2c532b5bd8
commit eb815b7820
14 changed files with 906 additions and 373 deletions
+3 -1
View File
@@ -53,7 +53,8 @@ enum HandState
enum PlayState
{
PLAY_PLAYING,
PLAY_SCORING,
PLAY_SCORING_CARDS,
PLAY_SCORING_JOKERS,
PLAY_ENDING,
PLAY_ENDED
};
@@ -104,6 +105,7 @@ int get_hand_top(void);
int hand_get_size(void);
CardObject** get_played_array(void);
int get_played_top(void);
int get_scored_card_index(void);
List* get_jokers(void);
bool is_joker_owned(int joker_id);
bool card_is_face(Card *card);