X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameconfig.hpp;h=f4cb884c670dfc36ed05a7562cd3c3b1068c5905;hb=aec9bf199857d0ae1a5dc54cd96ae37177493deb;hp=109df1a04bb002ee54a84cb25a08a89f3972ab69;hpb=c62711567861587107d124642db29e2674ee6533;p=supertux.git diff --git a/src/gameconfig.hpp b/src/gameconfig.hpp index 109df1a04..f4cb884c6 100644 --- a/src/gameconfig.hpp +++ b/src/gameconfig.hpp @@ -26,7 +26,7 @@ class Config public: Config(); ~Config(); - + void load(); void save(); @@ -36,12 +36,16 @@ public: */ int screenwidth; int screenheight; + float aspect_ratio; bool use_fullscreen; + bool try_vsync; bool show_fps; bool sound_enabled; bool music_enabled; - bool cheats_enabled; + bool console_enabled; + + int random_seed; // initial random seed. 0 ==> set from time() /** this variable is set if supertux should start in a specific level */ std::string start_level;