include fixes from ohnobinki, video_systems.cpp should fall back to SDL now if GL...
[supertux.git] / src / supertux / globals.hpp
index 08a4830..0fe3f79 100644 (file)
@@ -23,21 +23,17 @@ class Config;
 class JoystickKeyboardController;
 class PlayerStatus;
 class ScreenManager;
+class Size;
 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) */
-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;