Files
balatro-gba/include/game/shop.h
桌子潔 188ab2c8e6 refactor: remove game prefix from extracted functions (#611)
* refactor: remove game prefix from extracted functions

* fix: align state info table callbacks
2026-09-04 14:01:10 +03:00

46 lines
748 B
C

/**
* @file shop.h
*
* @brief Shop state functions.
*/
#ifndef GAME_SHOP_H
#define GAME_SHOP_H
#include "joker.h"
#include <stdbool.h>
/**
* @brief Initialize the shop for a run.
* Resets all the shop data for the run, needs to be called once per run.
*/
void shop_reset(void);
/**
* @brief Get a pointer to the Card we are currently showing the description of.
*
* @return JokerObject*
*/
JokerObject* shop_get_description_card(void);
/**
* @brief Change to the shop background
*/
void shop_change_background(void);
/**
* @brief Shop state initialization
*/
void shop_on_init(void);
/**
* @brief Shop state update
*/
void shop_on_update(void);
/**
* @brief Shop cleanup
*/
void shop_on_exit(void);
#endif // GAME_SHOP_H