1 /* 2 * xtrojka (c) 1994,1995,1996 Maarten Los 3 * 4 * #include "COPYRIGHT" 5 * 6 * created: 12.iii.1996 7 * modified: 8 * 9 * header file for game.c 10 */ 11 12 #ifndef _game_h_ 13 #define _game_h_ 14 15 #include "xtrojka.h" 16 17 /* 18 * function prototypes 19 */ 20 21 void mainloop(void); 22 void resetgame(void); 23 void set_state(GAME_STATE); 24 void init_event_handlers(void); 25 void block_down_intr(Widget, XtIntervalId *); 26 void key_pressed_hlr(Widget, XtPointer, XKeyPressedEvent *, Boolean*); 27 void move_mainwindow_hlr(Widget, XtPointer, XConfigureEvent *, Boolean*); 28 void gameover_action(Widget, XtPointer, XEvent *, Boolean *); 29 void gameover(void); 30 void new_game(void); 31 void std_window_hlr(Widget, XtPointer, XAnyEvent*, Boolean *); 32 33 #endif /* _game_h_ */ 34 35