X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameconfig.cpp;h=c2d143134e304b1003aaafe5b8bb8ce2016db374;hb=f53572ad2b744ddddd7cc4b6479489543d44f98d;hp=06362dcac594e71b3e2b84d9ab26837eb4bde23c;hpb=2f9e19ce4e01dc769ae7b2a7129109e0e81a6b5b;p=supertux.git diff --git a/src/gameconfig.cpp b/src/gameconfig.cpp index 06362dcac..c2d143134 100644 --- a/src/gameconfig.cpp +++ b/src/gameconfig.cpp @@ -1,7 +1,7 @@ -// $Id: configfile.cpp 2212 2004-11-28 14:57:45Z matzebraun $ +// $Id$ // // SuperTux - A Jump'n Run -// Copyright (C) 2004 Michael George +// 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 @@ -40,10 +40,12 @@ Config::Config() sound_enabled = true; music_enabled = true; cheats_enabled = false; + random_seed = 0; // set by time(), by default (unless in config) screenwidth = 800; screenheight = 600; - use_gl = true; + + enable_script_debugger = false; } Config::~Config() @@ -61,6 +63,7 @@ Config::load() config_lisp->get("show_fps", show_fps); config_lisp->get("cheats", cheats_enabled); + config_lisp->get("random_seed", random_seed); const lisp::Lisp* config_video_lisp = config_lisp->get_lisp("video"); if(config_video_lisp) {