11#define MAX_DECK_SIZE 52
12#define MAX_JOKERS_HELD_SIZE 5
13#define MAX_SHOP_ITEMS 2
14#define FRAMES(x) (((x) + (g_game_vars.game_speed) - 1) / (g_game_vars.game_speed))
18#define INTEREST_PER_5 1
21#define SELECT_CARD KEY_A
22#define DESELECT_CARDS KEY_B
23#define PEEK_DECK KEY_L
24#define SORT_HAND KEY_R
25#define PAUSE_GAME KEY_START
28#define TAB_RIGHT KEY_R
31#define PLAY_HAND_KEY KEY_L
34#define DISCARD_HAND_KEY KEY_R
47#define DEF_STATE_INFO(stateEnum, on_init, on_update, on_exit) stateEnum,
48#include "def_state_info_table.h"
67void game_update(
void);
68void game_change_state(
enum GameState new_game_state);
69enum GameState game_get_state(
void);
71bool is_joker_owned(
int joker_id);
72bool joker_object_can_acquire(
Item* item);
73bool card_is_face(
Card* card);
75void remove_owned_joker(
int owned_joker_idx);
76List* get_jokers_list(
void);
77List* get_expired_jokers_list(
void);
83void item_start_discard_animation(
Item* item);
85int deck_get_size(
void);
86int get_deck_top(
void);
87void deck_push(
Card* card);
89void deck_shuffle(
void);
90int get_num_discards_remaining(
void);
91int get_num_hands_remaining(
void);
93void display_deck_size_max(
void);
94void display_chips(
void);
95void display_mult(
void);
96void display_money(
void);
97void display_ante(
void);
100bool is_shortcut_joker_active(
void);
101int get_straight_and_flush_size(
void);
103void game_start(
void);
105void display_round(
void);
106void display_hands(
void);
107void display_discards(
void);
108void display_temp_score(u32 value);
109void erase_temp_score(
void);
110void display_score(u32 value);
Common functions to render UI elements.
Game global game variables struct definition.
Graphic utility functions.
The core structure for items in the shop and inventory. Provides a common API for the shop and invent...
A generic interface for all items that can appear in the shop or be in the inventory....