39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include <SDL3/SDL.h>
|
|
|
|
// Tecles GUI (capa de presentació — finestra, zoom, etc.)
|
|
namespace Defaults::KeysGUI {
|
|
constexpr SDL_Scancode DEC_ZOOM = SDL_SCANCODE_F1;
|
|
constexpr SDL_Scancode INC_ZOOM = SDL_SCANCODE_F2;
|
|
constexpr SDL_Scancode FULLSCREEN = SDL_SCANCODE_F3;
|
|
} // namespace Defaults::KeysGUI
|
|
|
|
// Tecles de joc (moviment del personatge, accions)
|
|
namespace Defaults::KeysGame {
|
|
constexpr SDL_Scancode UP = SDL_SCANCODE_UP;
|
|
constexpr SDL_Scancode DOWN = SDL_SCANCODE_DOWN;
|
|
constexpr SDL_Scancode LEFT = SDL_SCANCODE_LEFT;
|
|
constexpr SDL_Scancode RIGHT = SDL_SCANCODE_RIGHT;
|
|
constexpr SDL_Scancode EXIT = SDL_SCANCODE_ESCAPE;
|
|
} // namespace Defaults::KeysGame
|
|
|
|
namespace Defaults::Audio {
|
|
constexpr float VOLUME = 1.0F;
|
|
constexpr bool MUSIC_ENABLED = true;
|
|
constexpr float MUSIC_VOLUME = 0.8F;
|
|
constexpr bool SOUND_ENABLED = true;
|
|
constexpr float SOUND_VOLUME = 1.0F;
|
|
} // namespace Defaults::Audio
|
|
|
|
namespace Defaults::Window {
|
|
constexpr int ZOOM = 3;
|
|
constexpr bool FULLSCREEN = false;
|
|
} // namespace Defaults::Window
|
|
|
|
namespace Defaults::Game {
|
|
constexpr int HABITACIO_INICIAL = 1;
|
|
constexpr int PIRAMIDE_INICIAL = 255;
|
|
constexpr int VIDES = 5;
|
|
} // namespace Defaults::Game
|