From 33ad7fe2203d93f3721b1e22faf94527b78f0f71 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 29 Sep 2015 08:09:06 -0400 Subject: readded readme, fixed world handling w/ interpolation --- include/common.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index 1210adb..4f7ba48 100644 --- a/include/common.h +++ b/include/common.h @@ -11,7 +11,12 @@ #include typedef struct { float x; float y; } vec2; -enum _TYPE {STRUCTURET = -1, PLAYERT = 0, NPCT = 1}; //these are the main types of entities + +enum _TYPE { //these are the main types of entities + STRUCTURET = -1, + PLAYERT = 0, + NPCT = 1 +}; #include @@ -27,11 +32,7 @@ enum _TYPE {STRUCTURET = -1, PLAYERT = 0, NPCT = 1}; //these are the main types template //this fuction returns the size of any array int eAmt(T (&)[N]){return N;} -//SDL VARIABLES -extern SDL_Window *window; -extern SDL_Surface *renderSurface; -extern SDL_GLContext mainGLContext; - extern bool gameRunning; +extern unsigned int deltaTime; #endif // COMMON_H -- cgit v1.2.3