projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplify physic formula a bit
[supertux.git]
/
src
/
gameconfig.hpp
diff --git
a/src/gameconfig.hpp
b/src/gameconfig.hpp
index
8a6dcc5
..
ac45730
100644
(file)
--- a/
src/gameconfig.hpp
+++ b/
src/gameconfig.hpp
@@
-19,8
+19,12
@@
#ifndef SUPERTUX_CONFIG_H
#define SUPERTUX_CONFIG_H
#ifndef SUPERTUX_CONFIG_H
#define SUPERTUX_CONFIG_H
+#include <config.h>
+
#include <string>
#include <string>
+#include "video/video_systems.hpp"
+
class Config
{
public:
class Config
{
public:
@@
-36,8
+40,11
@@
public:
*/
int screenwidth;
int screenheight;
*/
int screenwidth;
int screenheight;
+ float aspect_ratio;
bool use_fullscreen;
bool use_fullscreen;
+ VideoSystem video;
+ bool try_vsync;
bool show_fps;
bool sound_enabled;
bool music_enabled;
bool show_fps;
bool sound_enabled;
bool music_enabled;
@@
-50,6
+57,8
@@
public:
bool enable_script_debugger;
std::string start_demo;
std::string record_demo;
bool enable_script_debugger;
std::string start_demo;
std::string record_demo;
+
+ std::string locale; /**< force SuperTux language to this locale, e.g. "de". A file "data/locale/xx.po" must exist for this to work. An empty string means autodetect. */
};
extern Config* config;
};
extern Config* config;