X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgameconfig.hpp;h=8456cc469b63ef6b1fe8f0c8adcf6c8c527df853;hb=5a8cc56bceb65bd27a8f7d4b7335bba838f91163;hp=0efeacd509b4e56e9d337d07830bfe7e010f306f;hpb=20efd7620620892d92b1c7df124c3a0c8df22a82;p=supertux.git diff --git a/src/gameconfig.hpp b/src/gameconfig.hpp index 0efeacd50..8456cc469 100644 --- a/src/gameconfig.hpp +++ b/src/gameconfig.hpp @@ -23,6 +23,8 @@ #include +#include "video/video_systems.hpp" + class Config { public: @@ -32,16 +34,25 @@ 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 fill_screen; bool use_fullscreen; - std::string video; + VideoSystem video; bool try_vsync; bool show_fps; bool sound_enabled;