From b97a54b8acd113e99871fdb0f683e27e0912bf42 Mon Sep 17 00:00:00 2001 From: tom Date: Wed, 11 Jan 2017 02:19:07 -0600 Subject: -removed all magic numbers and placed them in a constants header -removed unused libraries and redid all header files --- src/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index fccdef0..f7868a4 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -3,7 +3,7 @@ Window::Window() { SDL_Init(SDL_INIT_VIDEO); - main = SDL_CreateWindow("main",SDL_WINDOWPOS_UNDEFINED,SDL_WINDOWPOS_UNDEFINED,1080,640,SDL_WINDOW_SHOWN); + main = SDL_CreateWindow("main",SDL_WINDOWPOS_UNDEFINED,SDL_WINDOWPOS_UNDEFINED,WINDOW_X,WINDOW_Y,SDL_WINDOW_SHOWN); renderer = SDL_CreateRenderer(main,-1,SDL_RENDERER_ACCELERATED); SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0); } -- cgit v1.2.3