afegit a defaults la habitació i posició inicials (normal i debug)
This commit is contained in:
@@ -95,4 +95,29 @@ constexpr const char* TEXT = ""; // Texto del modo kiosko por defecto
|
||||
constexpr bool INFINITE_LIVES = false; // Vidas infinitas en modo kiosko desactivadas por defecto
|
||||
} // namespace Kiosk
|
||||
|
||||
// --- GAME (posición y habitación inicial) ---
|
||||
namespace Game {
|
||||
|
||||
namespace Room {
|
||||
#ifdef _DEBUG
|
||||
constexpr const char* INITIAL = "51.yaml"; // Habitación de inicio en debug
|
||||
#else
|
||||
constexpr const char* INITIAL = "03.yaml"; // Habitación de inicio en release
|
||||
#endif
|
||||
} // namespace Room
|
||||
|
||||
namespace Player {
|
||||
#ifdef _DEBUG
|
||||
constexpr int SPAWN_X = 28 * Tile::SIZE; // Posición X inicial en debug
|
||||
constexpr int SPAWN_Y = 10 * Tile::SIZE; // Posición Y inicial en debug
|
||||
constexpr SDL_FlipMode SPAWN_FLIP = Flip::LEFT; // Orientación inicial en debug
|
||||
#else
|
||||
constexpr int SPAWN_X = 25 * Tile::SIZE; // Posición X inicial en release
|
||||
constexpr int SPAWN_Y = 13 * Tile::SIZE; // Posición Y inicial en release
|
||||
constexpr SDL_FlipMode SPAWN_FLIP = Flip::LEFT; // Orientación inicial en release
|
||||
#endif
|
||||
} // namespace Player
|
||||
|
||||
} // namespace Game
|
||||
|
||||
} // namespace Defaults
|
||||
|
||||
Reference in New Issue
Block a user