aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/entities.h2
-rw-r--r--include/globals.h4
-rw-r--r--include/player.h2
3 files changed, 6 insertions, 2 deletions
diff --git a/include/entities.h b/include/entities.h
index 7bd38f3..b98b853 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -34,7 +34,7 @@ typedef struct {
typedef struct {
Vector2 position;
Rectangle bounds;
- int uniqueId;
+ char* uniqueId;
bool active;
uint32_t gid;
} Key;
diff --git a/include/globals.h b/include/globals.h
new file mode 100644
index 0000000..bcb7d57
--- /dev/null
+++ b/include/globals.h
@@ -0,0 +1,4 @@
+#define SCREEN_HEIGHT 1080
+#define SCREEN_WIDTH 1920
+#define TARGET_FPS 280
+#define GAME_NAME "Dungeons"
diff --git a/include/player.h b/include/player.h
index 99a3ce9..b26bc20 100644
--- a/include/player.h
+++ b/include/player.h
@@ -5,7 +5,7 @@
#include "map.h"
-typedef enum { PLAYER_IDLE, PLAYER_WALK, PLAYER_ATTACK } PlayerState;
+typedef enum { PLAYER_IDLE, PLAYER_WALK, PLAYER_ATTACK, PLAYER_DIE, PLAYER_FALL } PlayerState;
typedef struct {
int potions;