Turned functions in video_systems.?pp into class VideoSystem
[supertux.git] / src / supertux / gameconfig.hpp
index 6833c05..527241f 100644 (file)
@@ -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;