From dc5e246ff1e8d89e59acf70c149f180fb41dd584 Mon Sep 17 00:00:00 2001 From: NielsCoding <48092678+heavydemon21@users.noreply.github.com> Date: Wed, 5 Apr 2023 20:46:53 +0200 Subject: enemy and ai, bullets and gameplay ai needs finetuning --- src/game_loop/gameplay.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game_loop/gameplay.h') diff --git a/src/game_loop/gameplay.h b/src/game_loop/gameplay.h index 9d66c37..8adddb4 100644 --- a/src/game_loop/gameplay.h +++ b/src/game_loop/gameplay.h @@ -15,8 +15,9 @@ typedef enum { hh_e_level_complete, hh_e_game_over, }hh_e_gameplay; + /** @brief resets all the levels the first condition */ -void hh_reset_levels(); +void hh_reset_levels(hh_entity* player); /** @brief game loop function to handle the gameplay*/ void hh_gameplay(hh_g_all_levels* game, hh_e_game_state* hh_game_state); /** @brief renders all the entities*/ -- cgit v1.2.3