Refactored jokers stack to be a list (AI used)
This commit is contained in:
+5
-2
@@ -74,6 +74,10 @@ enum HandType
|
||||
void game_init();
|
||||
void game_update();
|
||||
|
||||
// Forward declaration
|
||||
struct List;
|
||||
typedef struct List List;
|
||||
|
||||
// Utility functions for other files
|
||||
typedef struct CardObject CardObject; // forward declaration, actually declared in card.h
|
||||
typedef struct JokerObject JokerObject;
|
||||
@@ -82,8 +86,7 @@ int get_hand_top(void);
|
||||
int hand_get_size(void);
|
||||
CardObject** get_played_array(void);
|
||||
int get_played_top(void);
|
||||
JokerObject** get_jokers(void);
|
||||
int get_jokers_top(void);
|
||||
List* get_jokers(void);
|
||||
|
||||
int get_num_discards_remaining(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user