granera con sarna no pica

This commit is contained in:
2026-04-08 11:07:50 +02:00
parent d70edb29e7
commit 87cc58b5dd
29 changed files with 104 additions and 244 deletions

View File

@@ -32,7 +32,7 @@ namespace Defaults::Video {
constexpr const char* PALETTE_NAME = "resurrect-64"; // Paleta por defecto
constexpr const char* PALETTE_SORT = "original"; // Modo de ordenación de paleta por defecto
constexpr bool LINEAR_UPSCALE = false; // Upscale NEAREST por defecto
constexpr int DOWNSCALE_ALGO = 1; // Downscale Lanczos2 por defecto
constexpr int DOWNSCALE_ALGO = 1; // Downscale por defecto (0=Bilinear, 1=Lanczos2, 2=Lanczos3)
constexpr bool GPU_ACCELERATION = true; // Aceleración GPU activada por defecto
} // namespace Defaults::Video
@@ -50,11 +50,24 @@ namespace Defaults::Audio {
namespace Defaults::Music {
constexpr float VOLUME = 0.8F; // Volumen por defecto de la musica
constexpr bool ENABLED = true; // Musica habilitada por defecto
namespace Files {
constexpr const char* TITLE_TRACK = "574071_EA_DTV.ogg";
constexpr const char* GAME_TRACK = "574070_KUVO_Farewell_to_school.ogg";
} // namespace Files
} // namespace Defaults::Music
namespace Defaults::Sound {
constexpr float VOLUME = 1.0F; // Volumen por defecto de los efectos de sonido
constexpr bool ENABLED = true; // Sonido habilitado por defecto
namespace Files {
constexpr const char* JUMP = "jump.wav";
constexpr const char* LAND = "land.wav";
constexpr const char* DEATH = "death.wav";
constexpr const char* ITEM = "item.wav";
constexpr const char* NOTIFY = "notify.wav";
} // namespace Files
} // namespace Defaults::Sound
namespace Defaults::Cheat {
@@ -75,6 +88,7 @@ namespace Defaults::Controls {
constexpr int GAMEPAD_BUTTON_LEFT = SDL_GAMEPAD_BUTTON_DPAD_LEFT; // Botón izquierda por defecto
constexpr int GAMEPAD_BUTTON_RIGHT = SDL_GAMEPAD_BUTTON_DPAD_RIGHT; // Botón derecha por defecto
constexpr int GAMEPAD_BUTTON_JUMP = SDL_GAMEPAD_BUTTON_WEST; // Botón salto por defecto
constexpr Sint16 JOYSTICK_AXIS_THRESHOLD = 20000; // Umbral para ejes y triggers del gamepad
} // namespace Defaults::Controls
namespace Defaults::Kiosk {
@@ -98,12 +112,14 @@ namespace Defaults::Localization {
namespace Defaults::Game::Room {
constexpr const char* INITIAL = "03.yaml"; // Habitación de inicio
constexpr Uint8 ITEM_COLOR1 = 12; // Color principal de los items por defecto
constexpr Uint8 ITEM_COLOR2 = 6; // Color secundario de los items por defecto
} // namespace Defaults::Game::Room
namespace Defaults::Game::Player {
constexpr int SPAWN_X = 25 * Tile::SIZE; // Posición X inicial
constexpr int SPAWN_Y = 13 * Tile::SIZE; // Posición Y inicial
constexpr SDL_FlipMode SPAWN_FLIP = Flip::LEFT; // Orientación inicial
constexpr const char* SKIN = "default"; // Skin del jugador por defecto
constexpr int COLOR = -1; // Color del jugador (-1 = automático según cheats)
constexpr int SPAWN_X = 25 * Tile::SIZE; // Posición X inicial
constexpr int SPAWN_Y = 13 * Tile::SIZE; // Posición Y inicial
constexpr SDL_FlipMode SPAWN_FLIP = Flip::LEFT; // Orientación inicial
constexpr const char* SKIN = "default"; // Skin del jugador por defecto
constexpr const char* DEFAULT_ANIMATION = "player.yaml"; // Animación del skin por defecto
} // namespace Defaults::Game::Player