diff options
author | NielsCoding <48092678+heavydemon21@users.noreply.github.com> | 2023-04-02 20:48:06 +0200 |
---|---|---|
committer | NielsCoding <48092678+heavydemon21@users.noreply.github.com> | 2023-04-02 20:48:06 +0200 |
commit | e987d23d915942ec4a3910b9cc2729f1b21361a9 (patch) | |
tree | c74b48322acb426a205d5cc9a31351c902dfbb65 /src/engine/level_const.h | |
parent | 552dcc17db2b98287ba1b480c2e70759cd94d81f (diff) |
snake case/background
Diffstat (limited to 'src/engine/level_const.h')
-rw-r--r-- | src/engine/level_const.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/engine/level_const.h b/src/engine/level_const.h index 7a4aac5..b86ae7b 100644 --- a/src/engine/level_const.h +++ b/src/engine/level_const.h @@ -3,27 +3,27 @@ #include <stdint.h> #include <stdlib.h> #include <stdbool.h> -#include <math.h>` +#include "engine/maths.h" +#include "engine/entity.h" typedef enum { - hh_e_STATE_startingScreen, - hh_e_STATE_Shop, - hh_e_STATE_Gameplay, - hh_e_STATE_GameOver, - hh_e_STATE_HighScore -} hh_e_GameState; - + hh_e_state_starting_screen, + hh_e_state_shop, + hh_e_state_gameplay, + hh_e_state_game_over, + hh_e_state_high_score +} hh_e_game_state; +//entity array met enemeies typedef struct { - int x; - int y; + vec2 size; int hh_total_enemies; int* place; bool hh_level_completed; }hh_level_entity; typedef struct { - hh_level_entity level[1]; - int currentLevel; + hh_level_entity level[2]; + int current_level; }hh_g_all_levels; |