X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmain.hpp;h=e64b01feaa1b5e11c14d2db18a7d2e12c95345b7;hb=472d0ad804844d28811c86f03da74b6d6be53f1b;hp=3738c0039a5de434b6ba23d8df59fb973ce5171e;hpb=5b7f9214cb929399f1a855ef5807018a9447d510;p=supertux.git diff --git a/src/main.hpp b/src/main.hpp index 3738c0039..e64b01fea 100644 --- a/src/main.hpp +++ b/src/main.hpp @@ -1,7 +1,7 @@ // $Id$ -// +// // SuperTux -// Copyright (C) 2005 Matthias Braun +// Copyright (C) 2006 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -12,7 +12,7 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA @@ -23,8 +23,10 @@ void init_video(); void wait_for_event(float min_delay, float max_delay); -static const int SCREEN_WIDTH = 800; -static const int 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;