X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameconfig.hpp;h=f4cb884c670dfc36ed05a7562cd3c3b1068c5905;hb=5e0bb78e0d7679399eb0f687ecaf93a91cfcb577;hp=8fdaff1230f9426beadc43fe4f1c49d681d6f111;hpb=7124d68eaa9f9f2099361c7073e4355d4f004339;p=supertux.git diff --git a/src/gameconfig.hpp b/src/gameconfig.hpp index 8fdaff123..f4cb884c6 100644 --- a/src/gameconfig.hpp +++ b/src/gameconfig.hpp @@ -1,7 +1,7 @@ -// $Id: configfile.h 2293 2005-03-25 20:39:56Z matzebraun $ +// $Id$ // -// SuperTux - A Jump'n Run -// Copyright (C) 2004 Michael George +// SuperTux= +// Copyright (C) 2006 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -26,24 +26,30 @@ class Config public: Config(); ~Config(); - + void load(); void save(); /** screen width in pixel (warning: this is the real screen width+height, - * supertux is using a logical width+height and not this one) + * you should use the logical SCREEN_WIDTH and SCREEN_HEIGHT for your + * rendering code.) */ 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; + bool enable_script_debugger; std::string start_demo; std::string record_demo; };