mirror of
https://github.com/cellos51/balatro-gba.git
synced 2026-09-09 17:36:16 -05:00
* refactor: remove game prefix from extracted functions * fix: align state info table callbacks
46 lines
748 B
C
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
|