8 GKEY_F2, GKEY_F3, GKEY_F4, GKEY_F5, GKEY_F6, GKEY_F7,
9 GKEY_F8, GKEY_F9, GKEY_F10, GKEY_F11, GKEY_F12,
10 GKEY_UP, GKEY_DOWN, GKEY_LEFT, GKEY_RIGHT,
11 GKEY_PGUP, GKEY_PGDOWN,
21 void (*destroy)(void);
24 void (*display)(void);
25 void (*reshape)(int, int);
26 void (*keyboard)(int, int);
27 void (*mouse)(int, int, int, int);
28 void (*motion)(int, int);
31 extern int mouse_x, mouse_y, mouse_state[3];
32 extern int win_width, win_height;
33 extern float win_aspect;
35 extern struct game_screen *cur_scr;
39 void game_shutdown(void);
41 void game_display(void);
42 void game_reshape(int x, int y);
43 void game_keyboard(int key, int press);
44 void game_mouse(int bn, int st, int x, int y);
45 void game_motion(int x, int y);
47 void game_chscr(struct game_screen *scr);
49 /* defined in main.c */
50 void game_swap_buffers(void);