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
86145e9
..
be406bd
100644
(file)
--- a/
src/gameconfig.hpp
+++ b/
src/gameconfig.hpp
@@
-36,8
+36,7
@@
public:
*/
int screenwidth;
int screenheight;
*/
int screenwidth;
int screenheight;
- int aspectwidth;
- int aspectheight;
+ float aspect_ratio;
bool use_fullscreen;
bool show_fps;
bool use_fullscreen;
bool show_fps;