New grow and skid sounds from remaxim
[supertux.git] / src / main.hpp
index 93c03d9..4a79a80 100644 (file)
 void init_video();
 void wait_for_event(float min_delay, float max_delay);
 
-/// The width of the display (this is a logical value, not the physical value)
-static const float SCREEN_WIDTH = 800;
-/// The height of the display (this is a logical value, not the physical value)
-static const float SCREEN_HEIGHT = 600;
+/** 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_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;
 
 // global variables
-class JoystickKeyboardController;
+class  JoystickKeyboardController;
 extern JoystickKeyboardController* main_controller;
 
 #endif