Changed music to start after Splash Screen
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// (stateEnum, on_init, on_update, on_exit)
|
||||
DEF_STATE_INFO(GAME_STATE_SPLASH_SCREEN, splash_screen_on_init, splash_screen_on_update, _noop)
|
||||
DEF_STATE_INFO(GAME_STATE_SPLASH_SCREEN, splash_screen_on_init, splash_screen_on_update, splash_screen_on_exit)
|
||||
DEF_STATE_INFO(GAME_STATE_MAIN_MENU, game_main_menu_on_init, game_main_menu_on_update, _noop)
|
||||
DEF_STATE_INFO(GAME_STATE_PLAYING, game_round_on_init, game_playing_on_update, _noop)
|
||||
DEF_STATE_INFO(GAME_STATE_ROUND_END, _noop, game_round_end_on_update, game_round_end_on_exit)
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
// Enum value names in ../include/def_state_info_table.h
|
||||
enum GameState
|
||||
{
|
||||
GAME_STATE_UNDEFINED = -1,
|
||||
#define DEF_STATE_INFO(stateEnum, on_init, on_update, on_exit) stateEnum,
|
||||
#include "def_state_info_table.h"
|
||||
#undef DEF_STATE_INFO
|
||||
|
||||
@@ -9,5 +9,6 @@
|
||||
|
||||
void splash_screen_on_init();
|
||||
void splash_screen_on_update();
|
||||
void splash_screen_on_exit();
|
||||
|
||||
#endif // SPLASH_SCREEN_H
|
||||
|
||||
Reference in New Issue
Block a user