diff options
author | tom <tom@apollo> | 2017-01-10 09:49:32 -0600 |
---|---|---|
committer | tom <tom@apollo> | 2017-01-10 09:49:32 -0600 |
commit | f6f6d81c5634f659693914b7b74efcdd39ba5d4f (patch) | |
tree | 5b51e9b82ae36c648e212cc9c95fb8233dc181c1 /src/window.cpp | |
parent | 20717aeb1b12a7179e7b29c3c8880f18b360a1c8 (diff) |
-Replaced images with colored rectangles
-Removed various functions and variables pertaining to such images
-Started migrating all uses of Location to SDL_Rect (I would preferably completly remove Location.hpp)
-Scaled down resolution to 1080x640 (I would like to make these global constants)
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index 5df97cf..fccdef0 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,1280,800,SDL_WINDOW_SHOWN); + main = SDL_CreateWindow("main",SDL_WINDOWPOS_UNDEFINED,SDL_WINDOWPOS_UNDEFINED,1080,640,SDL_WINDOW_SHOWN); renderer = SDL_CreateRenderer(main,-1,SDL_RENDERER_ACCELERATED); SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0); } |