afegit default per a fullscreen
This commit is contained in:
@@ -16,6 +16,7 @@ constexpr int MIN_HEIGHT = 240;
|
|||||||
constexpr float BASE_ZOOM = 1.0F; // 640x480 baseline
|
constexpr float BASE_ZOOM = 1.0F; // 640x480 baseline
|
||||||
constexpr float MIN_ZOOM = 0.5F; // 320x240 minimum
|
constexpr float MIN_ZOOM = 0.5F; // 320x240 minimum
|
||||||
constexpr float ZOOM_INCREMENT = 0.1F; // 10% steps (F1/F2)
|
constexpr float ZOOM_INCREMENT = 0.1F; // 10% steps (F1/F2)
|
||||||
|
constexpr bool FULLSCREEN = true; // Pantalla completa activadapor defecto
|
||||||
} // namespace Window
|
} // namespace Window
|
||||||
|
|
||||||
// Dimensions base del joc (coordenades lògiques)
|
// Dimensions base del joc (coordenades lògiques)
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ void init() {
|
|||||||
// Window
|
// Window
|
||||||
window.width = Defaults::Window::WIDTH;
|
window.width = Defaults::Window::WIDTH;
|
||||||
window.height = Defaults::Window::HEIGHT;
|
window.height = Defaults::Window::HEIGHT;
|
||||||
window.fullscreen = false;
|
window.fullscreen = Defaults::Window::FULLSCREEN;
|
||||||
window.zoom_factor = Defaults::Window::BASE_ZOOM;
|
window.zoom_factor = Defaults::Window::BASE_ZOOM;
|
||||||
|
|
||||||
// Physics
|
// Physics
|
||||||
|
|||||||
Reference in New Issue
Block a user