Changed music to start after Splash Screen

This commit is contained in:
MeirGavish
2025-10-17 13:43:21 +03:00
parent f725c5e1b8
commit 53d2e53d78
6 changed files with 21 additions and 6 deletions
+1 -1
View File
@@ -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)
+1
View File
@@ -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
+1
View File
@@ -9,5 +9,6 @@
void splash_screen_on_init();
void splash_screen_on_update();
void splash_screen_on_exit();
#endif // SPLASH_SCREEN_H