X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmain.h;h=3738c0039a5de434b6ba23d8df59fb973ce5171e;hb=58da7bdf7b352989ef19d89a498938a12ca91b03;hp=d76f8abf61aa81829ef250d66161aa357a740ccb;hpb=c0093d25093395cb62fc2526ab42be65a9f015b8;p=supertux.git diff --git a/src/main.h b/src/main.h index d76f8abf6..3738c0039 100644 --- a/src/main.h +++ b/src/main.h @@ -17,24 +17,17 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA // 02111-1307, USA. - #ifndef __MAIN_H__ #define __MAIN_H__ -enum GlobalGameState { - /** the title screen is showing */ - STATE_TITLE, - /** the worldmap is shown */ - STATE_WORLDMAP, - /** a level is played */ - STATE_GAMESESSION -}; - void init_video(); +void wait_for_event(float min_delay, float max_delay); -class JoystickKeyboardController; +static const int SCREEN_WIDTH = 800; +static const int SCREEN_HEIGHT = 600; // global variables +class JoystickKeyboardController; extern JoystickKeyboardController* main_controller; #endif