diff options
| author | arngo <[email protected]> | 2023-05-30 23:31:01 -0400 |
|---|---|---|
| committer | arngo <[email protected]> | 2023-05-30 23:31:01 -0400 |
| commit | 8ff42715e5971f0257c70a639af0106b0199c7c6 (patch) | |
| tree | 800684fcc1ab26416622f308b35f724f57159677 /src/init.c | |
| parent | 5d1931537edb60b48538b714944eca7ce5db2739 (diff) | |
| download | rodeo_sample_game-8ff42715e5971f0257c70a639af0106b0199c7c6.tar.gz rodeo_sample_game-8ff42715e5971f0257c70a639af0106b0199c7c6.zip | |
implement menu system
Diffstat (limited to 'src/init.c')
| -rw-r--r-- | src/init.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -3,10 +3,12 @@ #include "player.h" #include "enemies.h" #include "wall.h" +#include "menu.h" void init_game_systems(void) { + init_menu(); init_bullets(); init_player(); init_enemies(); @@ -16,8 +18,17 @@ init_game_systems(void) void deinit_game_systems(void) { + deinit_menu(); deinit_bullets(); deinit_player(); deinit_enemies(); deinit_wall(); } + +void +reset_game_systems(void) +{ + reset_bullets(); + reset_player(); + reset_enemies(); +} |
