ja tenim el control de la finestra i de la imatge
treballant en les tecles de funcio
This commit is contained in:
@@ -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{};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user