aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-09-28 08:47:43 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-09-28 08:47:43 -0400
commit113bb97e4ce7db5bc275e0dccf7c790c86cda5d7 (patch)
tree6db84a77b149476ecd45f838237385ab7d360cf3 /include/common.h
parent9630c8a49cbad7b1b71b9401ff24881ebf4c7c25 (diff)
Added enum for types and improved NPCs
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index aa175bc..922dd59 100644
--- a/include/common.h
+++ b/include/common.h
@@ -10,7 +10,8 @@
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_opengl.h>
-typedef struct { float x; float y; } vec2;
+typedef struct { float x; float y; } vec2;
+enum _TYPE {STRUCTURET = -1, PLAYERT = 0, NPCT = 1};
#include <entities.h>