#define HEADER_SUPERTUX_SUPERTUX_GAMECONFIG_HPP
#include "video/video_systems.hpp"
+#include "math/size.hpp"
class Config
{
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;
+ // refresh rate for use in fullscreen, 0 for auto
+ int fullscreen_refresh_rate;
+
+ /** the width/height of the window managers window */
+ Size window_size;
+
+ /** the aspect ratio */
+ Size aspect_size;
- // the aspect ratio
- int aspect_width;
- int aspect_height;
-
float magnification;
bool use_fullscreen;
- VideoSystem video;
+ VideoSystem::Enum video;
bool try_vsync;
bool show_fps;
bool sound_enabled;