GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
shop.h File Reference

Shop state functions. More...

#include "joker.h"
#include <stdbool.h>

Go to the source code of this file.

Functions

void game_shop_reset (void)
 Initialize the shop for a run. Resets all the shop data for the run, needs to be called once per run.
 
JokerObjectgame_shop_get_description_card (void)
 Get a pointer to the Card we are currently showing the description of.
 
void game_shop_change_background (void)
 Change to the shop background.
 
void game_shop_on_init (void)
 Shop state initialization.
 
void game_shop_on_update (void)
 Shop state update.
 
void game_shop_on_exit (void)
 Shop cleanup.
 

Detailed Description

Shop state functions.

Definition in file shop.h.

Function Documentation

◆ game_shop_change_background()

void game_shop_change_background ( void  )

Change to the shop background.

Definition at line 194 of file shop.c.

◆ game_shop_get_description_card()

JokerObject * game_shop_get_description_card ( void  )

Get a pointer to the Card we are currently showing the description of.

Returns
JokerObject*

Definition at line 182 of file shop.c.

◆ game_shop_on_exit()

void game_shop_on_exit ( void  )

Shop cleanup.

Definition at line 909 of file shop.c.

◆ game_shop_on_init()

void game_shop_on_init ( void  )

Shop state initialization.

Definition at line 218 of file shop.c.

◆ game_shop_on_update()

void game_shop_on_update ( void  )

Shop state update.

Definition at line 899 of file shop.c.

◆ game_shop_reset()

void game_shop_reset ( void  )

Initialize the shop for a run. Resets all the shop data for the run, needs to be called once per run.

Definition at line 187 of file shop.c.