- Cleanup and rewrite some mainloop code
[supertux.git] / src / main.hpp
index 5f2ebbf..e64b01f 100644 (file)
 void init_video();
 void wait_for_event(float min_delay, float max_delay);
 
-static const float SCREEN_WIDTH = 800;
-static const float SCREEN_HEIGHT = 600;
+/// The width of the display (this is a logical value, not the physical value)
+extern int SCREEN_WIDTH;
+/// The height of the display (this is a logical value, not the physical value)
+extern int SCREEN_HEIGHT;
 
 // global variables
 class JoystickKeyboardController;