X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsupertux%2Fgameconfig.hpp;h=527241fd2f913d42c376127d47e96708a8f43ac8;hb=8e0df2e4e404058b49944e59cbfe97b613900329;hp=6833c05b11f44b924d49a6cc92d3113fdd83c7cc;hpb=e7956824fe9a9c5acdf5f34faba0f82c433ad34c;p=supertux.git diff --git a/src/supertux/gameconfig.hpp b/src/supertux/gameconfig.hpp index 6833c05b1..527241fd2 100644 --- a/src/supertux/gameconfig.hpp +++ b/src/supertux/gameconfig.hpp @@ -18,6 +18,7 @@ #define HEADER_SUPERTUX_SUPERTUX_GAMECONFIG_HPP #include "video/video_systems.hpp" +#include "math/size.hpp" class Config { @@ -31,21 +32,18 @@ public: int profile; // the width/height to be used to display the game in fullscreen - int fullscreen_width; - int fullscreen_height; + Size fullscreen_size; - // the width/height of the window managers window - int window_width; - int window_height; + /** the width/height of the window managers window */ + Size window_size; - // the aspect ratio - int aspect_width; - int aspect_height; + /** the aspect ratio */ + Size aspect_size; float magnification; bool use_fullscreen; - VideoSystem video; + VideoSystem::Enum video; bool try_vsync; bool show_fps; bool sound_enabled;