diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-09-28 10:51:18 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-09-28 10:51:18 -0400 |
commit | 34e2794d647447f6ddb29419abbe2f44593ba1fa (patch) | |
tree | 7883ce4c783fc02923ed3312ef7d0715aa4a43a8 /include/common.h | |
parent | 7125200e83a9255b8da6745b4a457996705bf263 (diff) |
Commented Entity Class, added more to debug screen, and changed colors of objects
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h index 922dd59..1210adb 100644 --- a/include/common.h +++ b/include/common.h @@ -11,7 +11,7 @@ #include <SDL2/SDL_opengl.h> typedef struct { float x; float y; } vec2; -enum _TYPE {STRUCTURET = -1, PLAYERT = 0, NPCT = 1}; +enum _TYPE {STRUCTURET = -1, PLAYERT = 0, NPCT = 1}; //these are the main types of entities #include <entities.h> @@ -19,12 +19,12 @@ enum _TYPE {STRUCTURET = -1, PLAYERT = 0, NPCT = 1}; #define SCREEN_HEIGHT 720 //#define FULLSCREEN -#define HLINE 3 +#define HLINE 3 //base unit of the world #define initRand(s) srand(s) #define getRand() rand() -template<typename T, size_t N> +template<typename T, size_t N> //this fuction returns the size of any array int eAmt(T (&)[N]){return N;} //SDL VARIABLES |