Add-on Manager rewrite
[supertux.git] / src / gameconfig.hpp
index 4263bda..775e451 100644 (file)
 #ifndef SUPERTUX_CONFIG_H
 #define SUPERTUX_CONFIG_H
 
+#include <config.h>
+
 #include <string>
 
+#include "video/video_systems.hpp"
+
 class Config
 {
 public:
@@ -30,15 +34,19 @@ public:
   void load();
   void save();
 
+  int profile;
+
   /** 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 aspect_width;
+  int aspect_height;
 
   bool use_fullscreen;
+  VideoSystem video;
   bool try_vsync;
   bool show_fps;
   bool sound_enabled;