aboutsummaryrefslogtreecommitdiff
path: root/src/engine/level_const.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/level_const.h')
-rw-r--r--src/engine/level_const.h24
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;