projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let Tux bounce off badguys when he's invincible. This let's us bounce off guys like...
[supertux.git]
/
src
/
gameconfig.cpp
diff --git
a/src/gameconfig.cpp
b/src/gameconfig.cpp
index
447c58b
..
c2d1431
100644
(file)
--- 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
//
// SuperTux - A Jump'n Run
-// Copyright (C) 200
4 Michael George <mike@georgetech.com
>
+// Copyright (C) 200
6 Matthias Braun <matze@braunis.de
>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@
-40,9
+40,12
@@
Config::Config()
sound_enabled = true;
music_enabled = true;
cheats_enabled = false;
sound_enabled = true;
music_enabled = true;
cheats_enabled = false;
+ random_seed = 0; // set by time(), by default (unless in config)
screenwidth = 800;
screenheight = 600;
screenwidth = 800;
screenheight = 600;
+
+ enable_script_debugger = false;
}
Config::~Config()
}
Config::~Config()
@@
-60,6
+63,7
@@
Config::load()
config_lisp->get("show_fps", show_fps);
config_lisp->get("cheats", cheats_enabled);
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) {
const lisp::Lisp* config_video_lisp = config_lisp->get_lisp("video");
if(config_video_lisp) {