fix cr/lfs and remove trailing whitespaces...
[supertux.git] / src / gameconfig.hpp
index d16ebe6..7865c4d 100644 (file)
@@ -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 <mike@georgetech.com>
+//  SuperTux=
+//  Copyright (C) 2006 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
 
 #include <string>
 
-class Config {
+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;
-  bool use_gl;
 
   bool use_fullscreen;
   bool show_fps;
@@ -42,8 +43,11 @@ public:
   bool music_enabled;
   bool cheats_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;
 };