X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameconfig.cpp;h=728b2b838f546937cc9764291a7c9cf4fbf9ad5e;hb=20b1c27dacf592c4f82fa8772d135ca9b7375d45;hp=d3c589678b5d8639059473b2e39a5798a93bc9bf;hpb=353cf7029337c97b03d0623af51ea8ea7e63f7d2;p=supertux.git diff --git a/src/gameconfig.cpp b/src/gameconfig.cpp index d3c589678..728b2b838 100644 --- a/src/gameconfig.cpp +++ b/src/gameconfig.cpp @@ -52,9 +52,7 @@ Config::Config() fullscreen_width = 800; fullscreen_height = 600; - projection_width = 800; - projection_height = 600; - scale_projection = true; + magnification = 1.0f; aspect_width = 4; aspect_height = 3; @@ -96,10 +94,6 @@ Config::load() config_video_lisp->get("window_width", window_width); config_video_lisp->get("window_height", window_height); - config_video_lisp->get("projection_width", projection_width); - config_video_lisp->get("projection_height", projection_height); - config_video_lisp->get("scale_projection", scale_projection); - config_video_lisp->get("aspect_width", aspect_width); config_video_lisp->get("aspect_height", aspect_height); } @@ -143,10 +137,6 @@ Config::save() writer.write_int("window_width", window_width); writer.write_int("window_height", window_height); - writer.write_int("projection_width", projection_width); - writer.write_int("projection_height", projection_height); - writer.write_bool("scale_projection", scale_projection); - writer.write_int("aspect_width", aspect_width); writer.write_int("aspect_height", aspect_height);