Refactor/round end (#479)
* Initial round_end extraction * move hands to game vars * Checkpoint * Finish removing all variables for state fns * Move over round_end substate functions * Move over round_end with compile * working in general * Fix round start state issue * clang-format * Fix clang format issue * PR fixes and standardize types in game vars struct * Clang-format
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "game.h"
|
||||
#include "game/main_menu.h"
|
||||
#include "game/options_menu.h"
|
||||
#include "game/round_end.h"
|
||||
|
||||
typedef void (*BackgroundRenderCallback)(void);
|
||||
|
||||
@@ -14,7 +15,7 @@ static const BackgroundRenderCallback bgCallbacks[] = {
|
||||
[BG_NONE] = NULL,
|
||||
[BG_CARD_SELECTING] = NULL,
|
||||
[BG_CARD_PLAYING] = NULL,
|
||||
[BG_ROUND_END] = NULL,
|
||||
[BG_ROUND_END] = game_round_end_change_background,
|
||||
[BG_SHOP] = NULL,
|
||||
[BG_BLIND_SELECT] = game_blind_select_change_background,
|
||||
[BG_OPTIONS_MENU] = game_options_menu_change_background,
|
||||
|
||||
Reference in New Issue
Block a user