#ifndef COMMON_H #define COMMON_H typedef struct{float x; float y;}vec2; ///THIS FILE IS USED FOR VARIABLES THAT WILL BE ACCESED BY MULTIPLE CLASSES/FILES #include #include #include #include #include #include #include #include #define SCREEN_WIDTH 1280 #define SCREEN_HEIGHT 720 //#define FULLSCREEN #define HLINE (2.0f / (SCREEN_WIDTH / 4)) //SDL VARIABLES extern SDL_Window *window; extern SDL_Surface *renderSurface; extern SDL_GLContext mainGLContext; //WINDOW VARIABLES extern bool gameRunning; #endif // COMMON_H