diff --git a/source/core/defaults.hpp b/source/core/defaults.hpp index d8f581b..7f04d7a 100644 --- a/source/core/defaults.hpp +++ b/source/core/defaults.hpp @@ -16,6 +16,7 @@ constexpr int MIN_HEIGHT = 240; constexpr float BASE_ZOOM = 1.0F; // 640x480 baseline constexpr float MIN_ZOOM = 0.5F; // 320x240 minimum constexpr float ZOOM_INCREMENT = 0.1F; // 10% steps (F1/F2) +constexpr bool FULLSCREEN = true; // Pantalla completa activadapor defecto } // namespace Window // Dimensions base del joc (coordenades lògiques) diff --git a/source/game/options.cpp b/source/game/options.cpp index f634554..963835a 100644 --- a/source/game/options.cpp +++ b/source/game/options.cpp @@ -189,7 +189,7 @@ void init() { // Window window.width = Defaults::Window::WIDTH; window.height = Defaults::Window::HEIGHT; - window.fullscreen = false; + window.fullscreen = Defaults::Window::FULLSCREEN; window.zoom_factor = Defaults::Window::BASE_ZOOM; // Physics