GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
GameVariables Struct Reference

A central location for all game variables. More...

#include <game_variables.h>

Data Fields

s32 timer
 
RngInfo rng_info
 
s32 round
 
s32 ante
 
s32 money
 
s32 hand_size
 
s32 deck
 
u32 best_hand_score
 
u32 nb_played_hands [HAND_TYPE_MAX]
 
enum BlindType current_blind
 
enum BlindType next_boss_blind
 
enum BlindState blinds_states [NUM_BLINDS_PER_ANTE]
 
s32 hands
 
s32 discards
 
u32 score
 
u32 chips
 
u32 mult
 
Spriteplaying_blind_token
 
Spriteround_end_blind_token
 
u8 game_speed
 
u8 music_volume
 
u8 sound_volume
 

Detailed Description

A central location for all game variables.

NOTE: This is currently WIP and will be populated with a refactor effort. NOT ALL VARIABLES ARE LOCATED HERE YET

Definition at line 38 of file game_variables.h.

Field Documentation

◆ ante

s32 ante

Definition at line 48 of file game_variables.h.

◆ best_hand_score

u32 best_hand_score

Definition at line 53 of file game_variables.h.

◆ blinds_states

enum BlindState blinds_states[NUM_BLINDS_PER_ANTE]

Definition at line 60 of file game_variables.h.

◆ chips

u32 chips

Definition at line 65 of file game_variables.h.

◆ current_blind

enum BlindType current_blind

Definition at line 58 of file game_variables.h.

◆ deck

s32 deck

Definition at line 51 of file game_variables.h.

◆ discards

s32 discards

Definition at line 63 of file game_variables.h.

◆ game_speed

u8 game_speed

Definition at line 74 of file game_variables.h.

◆ hand_size

s32 hand_size

Definition at line 50 of file game_variables.h.

◆ hands

s32 hands

Definition at line 62 of file game_variables.h.

◆ money

s32 money

Definition at line 49 of file game_variables.h.

◆ mult

u32 mult

Definition at line 66 of file game_variables.h.

◆ music_volume

u8 music_volume

Definition at line 75 of file game_variables.h.

◆ nb_played_hands

u32 nb_played_hands[HAND_TYPE_MAX]

Definition at line 54 of file game_variables.h.

◆ next_boss_blind

enum BlindType next_boss_blind

Definition at line 59 of file game_variables.h.

◆ playing_blind_token

Sprite* playing_blind_token

Definition at line 68 of file game_variables.h.

◆ rng_info

RngInfo rng_info

Definition at line 43 of file game_variables.h.

◆ round

s32 round

Definition at line 47 of file game_variables.h.

◆ round_end_blind_token

Sprite* round_end_blind_token

Definition at line 69 of file game_variables.h.

◆ score

u32 score

Definition at line 64 of file game_variables.h.

◆ sound_volume

u8 sound_volume

Definition at line 76 of file game_variables.h.

◆ timer

s32 timer

Definition at line 42 of file game_variables.h.


The documentation for this struct was generated from the following file: