X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmain.hpp;h=4a79a807c6b605fe354ced6bdcdc1d1638051891;hb=f406067af6cbeb0a638078fe1d386d092583909c;hp=e64b01feaa1b5e11c14d2db18a7d2e12c95345b7;hpb=b3df78c0b5dcf53a730bd4372aa11e3f5636606f;p=supertux.git diff --git a/src/main.hpp b/src/main.hpp index e64b01fea..4a79a807c 100644 --- a/src/main.hpp +++ b/src/main.hpp @@ -23,13 +23,18 @@ 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) +/** 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 height of the display (this is a logical value, not the physical value) + +/** 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