Sustituyendo todos los defines de const.h

This commit is contained in:
2022-08-29 21:07:52 +02:00
parent 0d27774c74
commit add7e5201a
12 changed files with 19 additions and 24 deletions

View File

@@ -1,5 +1,4 @@
#include "screen.h"
#include "const.h"
#include <string>
#include <stdio.h>
@@ -11,8 +10,8 @@ Screen::Screen(SDL_Window *window, SDL_Renderer *renderer, options_t *options)
this->renderer = renderer;
this->options = options;
gameCanvasWidth = SCREEN_WIDTH;
gameCanvasHeight = SCREEN_HEIGHT;
gameCanvasWidth = 256;
gameCanvasHeight = 192;
// Establece el modo de video
setVideoMode(options->fullScreenMode);