X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameconfig.hpp;h=f4cb884c670dfc36ed05a7562cd3c3b1068c5905;hb=aec9bf199857d0ae1a5dc54cd96ae37177493deb;hp=b4172210b5ef7aed23806ad9299d50615e1bda09;hpb=efc61e9d05b077f13a76982590fb0bd6a9d8dc61;p=supertux.git diff --git a/src/gameconfig.hpp b/src/gameconfig.hpp index b4172210b..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,7 +26,7 @@ class Config public: Config(); ~Config(); - + void load(); void save(); @@ -36,15 +36,20 @@ 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; + bool enable_script_debugger; std::string start_demo; std::string record_demo; };