ja tenim el control de la finestra i de la imatge

treballant en les tecles de funcio
This commit is contained in:
2026-04-04 17:20:28 +02:00
parent baee62b375
commit abb23071b5
16 changed files with 249 additions and 318 deletions

View File

@@ -16,6 +16,12 @@ namespace Options {
float volume{Defaults::Audio::VOLUME};
};
// Opcions de finestra
struct Window {
int zoom{Defaults::Window::ZOOM};
bool fullscreen{Defaults::Window::FULLSCREEN};
};
// Opcions de joc
struct Game {
int habitacio_inicial{Defaults::Game::HABITACIO_INICIAL};
@@ -26,6 +32,7 @@ namespace Options {
// --- Variables globals ---
inline std::string version{};
inline Audio audio{};
inline Window window{};
inline Game game{};
inline std::string config_file_path{};