Añadido macos_release al Makefile

This commit is contained in:
2022-11-11 09:43:17 +01:00
parent 9325fe9f14
commit 7d5e1aa67b
5 changed files with 75 additions and 23 deletions

View File

@@ -7,7 +7,9 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
// Inicia algunas variables
board.iniClock = SDL_GetTicks();
currentRoom = "03.room";
spawnPoint = {15, 96, 0, 0, 0, s_standing, SDL_FLIP_NONE};
const int x = 25;
const int y = 13;
spawnPoint = {x * 8, y * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
// Copia los punteros
this->resource = resource;
@@ -20,9 +22,9 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
#ifndef RELEASE
currentRoom = "03.room";
const int x = 29;
const int y = 13;
spawnPoint = {x * 8, y * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
const int x1 = 29;
const int y1 = 13;
spawnPoint = {x1 * 8, y1 * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
#endif
// Crea los objetos