Merge branch 'main' of https://github.com/cellos51/balatro-gba into main_menu_and_splash_screen
This commit is contained in:
+10
-3
@@ -24,6 +24,7 @@
|
||||
#define PEEK_DECK KEY_L // Not implemented
|
||||
#define SORT_HAND KEY_R
|
||||
#define PAUSE_GAME KEY_START // Not implemented
|
||||
#define SELL_KEY KEY_L
|
||||
|
||||
enum GameState
|
||||
{
|
||||
@@ -33,6 +34,7 @@ enum GameState
|
||||
GAME_SHOP,
|
||||
GAME_BLIND_SELECT,
|
||||
GAME_LOSE,
|
||||
GAME_WIN
|
||||
};
|
||||
|
||||
enum HandState
|
||||
@@ -76,6 +78,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;
|
||||
@@ -84,9 +90,10 @@ 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_deck_top(void);
|
||||
int get_num_discards_remaining(void);
|
||||
int get_money(void);
|
||||
|
||||
#endif // GAME_H
|
||||
#endif // GAME_H
|
||||
|
||||
Reference in New Issue
Block a user