- Trabajando en la creación y destrucción de la ventana

- FIX: la clase screen no liberaba la textura gameCanvas al finalizar
This commit is contained in:
2023-02-10 22:55:36 +01:00
parent 68ebff722e
commit d1143b9dfe
4 changed files with 90 additions and 9 deletions

View File

@@ -21,6 +21,7 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
const int x = 25;
const int y = 13;
spawnPoint = {x * 8, y * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
debug->setEnabled(true);
#else
currentRoom = "03.room";
const int x = 25;