projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include fixes from ohnobinki, video_systems.cpp should fall back to SDL now if GL...
[supertux.git]
/
src
/
supertux
/
globals.hpp
diff --git
a/src/supertux/globals.hpp
b/src/supertux/globals.hpp
index
08a4830
..
0fe3f79
100644
(file)
--- a/
src/supertux/globals.hpp
+++ b/
src/supertux/globals.hpp
@@
-23,21
+23,17
@@
class Config;
class JoystickKeyboardController;
class PlayerStatus;
class ScreenManager;
class JoystickKeyboardController;
class PlayerStatus;
class ScreenManager;
+class Size;
class SoundManager;
class SpriteManager;
class TextureManager;
class TileManager;
class TileSet;
class SoundManager;
class SpriteManager;
class TextureManager;
class TileManager;
class TileSet;
-/** The width of the display (this is a logical value, not the
+/** The width
/height
of the display (this is a logical value, not the
physical value, since aspect_ration and projection_area might
shrink or scale things) */
physical value, since aspect_ration and projection_area might
shrink or scale things) */
-extern int SCREEN_WIDTH;
-
-/** The width of the display (this is a logical value, not the
- physical value, since aspect_ration and projection_area might
- shrink or scale things) */
-extern int SCREEN_HEIGHT;
+extern Size SCREEN_SIZE;
// global variables
extern JoystickKeyboardController* g_main_controller;
// global variables
extern JoystickKeyboardController* g_main_controller;