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:
@@ -6,8 +6,6 @@
|
||||
#ifndef GAME_OPTIONS_MENU_H
|
||||
#define GAME_OPTIONS_MENU_H
|
||||
|
||||
#include "game_variables.h"
|
||||
|
||||
/**
|
||||
* @brief Change the options menu background
|
||||
*/
|
||||
@@ -28,4 +26,4 @@ void game_options_menu_on_update(void);
|
||||
*/
|
||||
void game_options_menu_on_exit(void);
|
||||
|
||||
#endif // GAME_OPTIONS_MENU_H
|
||||
#endif // GAME_OPTIONS_MENU_H
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* @file round_end.h
|
||||
*
|
||||
* @brief Round end game state functions
|
||||
*/
|
||||
#ifndef GAME_ROUND_END_H
|
||||
#define GAME_ROUND_END_H
|
||||
|
||||
/**
|
||||
* @brief Change to the round end background
|
||||
*/
|
||||
void game_round_end_change_background(void);
|
||||
|
||||
/**
|
||||
* @brief Round end state initialization
|
||||
*/
|
||||
void game_round_end_on_init(void);
|
||||
|
||||
/**
|
||||
* @brief Round end state update
|
||||
*/
|
||||
void game_round_end_on_update(void);
|
||||
|
||||
/**
|
||||
* @brief Round end cleanup
|
||||
*/
|
||||
void game_round_end_on_exit(void);
|
||||
|
||||
#endif // GAME_ROUND_END_H
|
||||
Reference in New Issue
Block a user