From 51e40764ce718283c89422cd5e3d02d324c7d16c Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Mon, 7 Sep 2015 15:28:36 -0400 Subject: Hey --- include/common.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/common.h (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h new file mode 100644 index 0000000..db0824b --- /dev/null +++ b/include/common.h @@ -0,0 +1,24 @@ +#ifndef COMMON_H +#define COMMON_H + +///THIS FILE IS USED FOR VARIABLES THAT WILL BE ACCESED BY MULTIPLE CLASSES/FILES + +#include +#include +#include +#include +#include + +#define SCREEN_WIDTH 1280 +#define SCREEN_HEIGHT 720 +//#define FULLSCREEN + +//SDL VARIABLES +extern SDL_Window *window; +extern SDL_Surface *renderSurface; +extern SDL_GLContext mainGLContext; + +//WINODWS VARIABLES +extern bool gameRunning; + +#endif // COMMON_H -- cgit v1.2.3