X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmain.hpp;h=e64b01feaa1b5e11c14d2db18a7d2e12c95345b7;hb=d0f999b27218cd800fa0307e695a38823db228ea;hp=5f2ebbf6ee6628abca1cbf07f023c2edee8341d3;hpb=07ddaed2a657e4d2a3d038fed223fc5827159caf;p=supertux.git diff --git a/src/main.hpp b/src/main.hpp index 5f2ebbf6e..e64b01fea 100644 --- a/src/main.hpp +++ b/src/main.hpp @@ -23,8 +23,10 @@ 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;