aboutsummaryrefslogtreecommitdiff
path: root/src/engine/level_const.h
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-04-03 09:52:40 +0200
committerGitHub <noreply@github.com>2023-04-03 09:52:40 +0200
commit0a014f39c375c0cf28de70ebaab6cb0a5266f3c2 (patch)
tree4ee2404a1e796e8803035dd9285debcfdcb7bbea /src/engine/level_const.h
parentd32a4942c7e16af5daf71a769906b17cb44de8e1 (diff)
parentcc23564547b736125fe7e7869de277ea4d4455ab (diff)
Merge branch 'lonkaars:dev' into dev
Diffstat (limited to 'src/engine/level_const.h')
-rw-r--r--src/engine/level_const.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/engine/level_const.h b/src/engine/level_const.h
new file mode 100644
index 0000000..b86ae7b
--- /dev/null
+++ b/src/engine/level_const.h
@@ -0,0 +1,31 @@
+#pragma once
+#include <stdio.h>
+#include <stdint.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include "engine/maths.h"
+#include "engine/entity.h"
+
+typedef enum {
+ 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 {
+ vec2 size;
+ int hh_total_enemies;
+ int* place;
+ bool hh_level_completed;
+}hh_level_entity;
+
+typedef struct {
+ hh_level_entity level[2];
+ int current_level;
+
+
+}hh_g_all_levels;
+
+hh_g_all_levels hh_init_game_levels();