projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
auto detect aspect ratio of monitor, so that you don't have to know/use the cryptic...
[supertux.git]
/
src
/
gameconfig.hpp
diff --git
a/src/gameconfig.hpp
b/src/gameconfig.hpp
index
109df1a
..
be406bd
100644
(file)
--- a/
src/gameconfig.hpp
+++ b/
src/gameconfig.hpp
@@
-26,7
+26,7
@@
class Config
public:
Config();
~Config();
public:
Config();
~Config();
-
+
void load();
void save();
void load();
void save();
@@
-36,12
+36,15
@@
public:
*/
int screenwidth;
int screenheight;
*/
int screenwidth;
int screenheight;
+ float aspect_ratio;
bool use_fullscreen;
bool show_fps;
bool sound_enabled;
bool music_enabled;
bool use_fullscreen;
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;
/** this variable is set if supertux should start in a specific level */
std::string start_level;