mirror of
https://github.com/cellos51/balatro-gba.git
synced 2026-09-10 09:56:11 -05:00
* Add basic common_ui background gfx functions * clang format * document common_ui.h * Remove unused tonc header * Fix header guard name convention * more header cleanup * claaaaanggggg format
23 lines
448 B
C
23 lines
448 B
C
#include "game/common_ui.h"
|
|
|
|
#include "game.h"
|
|
|
|
typedef void (*BackgroundRenderCallback)(void);
|
|
|
|
// Map to fill in for refactor
|
|
BackgroundRenderCallback bgCallbacks[] =
|
|
{
|
|
[BG_NONE] = NULL,
|
|
[BG_CARD_SELECTING] = NULL,
|
|
[BG_CARD_PLAYING] = NULL,
|
|
[BG_ROUND_END] = NULL,
|
|
[BG_SHOP] = NULL,
|
|
[BG_BLIND_SELECT] = NULL,
|
|
[BG_MAIN_MENU] = NULL,
|
|
};
|
|
|
|
void change_background(enum BackgroundId id)
|
|
{
|
|
change_background_legacy(id);
|
|
}
|