treballant en el overlay, el text i les notificacions
This commit is contained in:
@@ -7,6 +7,22 @@
|
||||
|
||||
namespace Options {
|
||||
|
||||
// Tecles GUI (finestra, zoom)
|
||||
struct KeysGUI {
|
||||
SDL_Scancode dec_zoom{Defaults::KeysGUI::DEC_ZOOM};
|
||||
SDL_Scancode inc_zoom{Defaults::KeysGUI::INC_ZOOM};
|
||||
SDL_Scancode fullscreen{Defaults::KeysGUI::FULLSCREEN};
|
||||
};
|
||||
|
||||
// Tecles de joc (moviment, accions)
|
||||
struct KeysGame {
|
||||
SDL_Scancode up{Defaults::KeysGame::UP};
|
||||
SDL_Scancode down{Defaults::KeysGame::DOWN};
|
||||
SDL_Scancode left{Defaults::KeysGame::LEFT};
|
||||
SDL_Scancode right{Defaults::KeysGame::RIGHT};
|
||||
SDL_Scancode exit{Defaults::KeysGame::EXIT};
|
||||
};
|
||||
|
||||
// Opcions d'àudio
|
||||
struct Audio {
|
||||
bool music_enabled{Defaults::Audio::MUSIC_ENABLED};
|
||||
@@ -31,6 +47,8 @@ namespace Options {
|
||||
|
||||
// --- Variables globals ---
|
||||
inline std::string version{};
|
||||
inline KeysGUI keys_gui{};
|
||||
inline KeysGame keys_game{};
|
||||
inline Audio audio{};
|
||||
inline Window window{};
|
||||
inline Game game{};
|
||||
|
||||
Reference in New Issue
Block a user