Merged progression and putt-collisions
[neverball] / ball / util.h
1 #ifndef UTIL_H
2 #define UTIL_H
3
4 #include "set.h"
5
6 /*---------------------------------------------------------------------------*/
7
8 #define GUI_NULL_MASK 0x1000
9 #define GUI_NULL -100
10 #define GUI_BACK -101
11 #define GUI_PREV -102
12 #define GUI_NEXT -103
13 #define GUI_BS   -104
14 #define GUI_CL   -105
15
16 #define GUI_MOST_COINS  -106
17 #define GUI_BEST_TIMES  -107
18 #define GUI_UNLOCK_GOAL -108
19
20 void set_score_type(int);
21 void gui_score_board(int, int);
22 void set_score_board(const struct score *, int,
23                      const struct score *, int,
24                      const struct score *, int);
25
26 void gui_keyboard(int);
27 void gui_keyboard_lock(void);
28 char gui_keyboard_char(char);
29
30 int  gui_back_prev_next(int, int, int);
31 int  gui_maybe(int, const char *, int, int);
32
33 /*---------------------------------------------------------------------------*/
34
35 #endif