X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameconfig.hpp;h=bdf8725eba416facfa323b3bf5685a6f27bac01a;hb=d280c800be43b01c92ce31dca9d0a290220e63dd;hp=2c39f939dcf97edd6b41d77d46a5aca5b7461758;hpb=99cf62c2d44b4555e9761f1c8f1b10cf880c33fb;p=supertux.git diff --git a/src/gameconfig.hpp b/src/gameconfig.hpp index 2c39f939d..bdf8725eb 100644 --- a/src/gameconfig.hpp +++ b/src/gameconfig.hpp @@ -23,7 +23,7 @@ #include -//#include "video/video_systems.hpp" +#include "video/video_systems.hpp" class Config { @@ -34,16 +34,24 @@ public: void load(); void save(); - /** screen width in pixel (warning: this is the real screen width+height, - * you should use the logical SCREEN_WIDTH and SCREEN_HEIGHT for your - * rendering code.) - */ - int screenwidth; - int screenheight; - float aspect_ratio; + int profile; + + // the width/height to be used to display the game in fullscreen + int fullscreen_width; + int fullscreen_height; + + // the width/height of the window managers window + int window_width; + int window_height; + + // the aspect ratio + int aspect_width; + int aspect_height; + + float magnification; bool use_fullscreen; - std::string video; + VideoSystem video; bool try_vsync; bool show_fps; bool sound_enabled;