571c0ea93273e68e5ab04fd60176a0af226f7ed4
[neverball] / ball / util.h
1 #ifndef UTIL_H
2 #define UTIL_H
3
4 #include "set.h"
5
6 /*---------------------------------------------------------------------------*/
7
8 #define GUI_NULL -100
9 #define GUI_BACK -101
10 #define GUI_PREV -102
11 #define GUI_NEXT -103
12 #define GUI_BS   -104
13 #define GUI_CL   -105
14
15 #define GUI_MOST_COINS  -106
16 #define GUI_BEST_TIMES  -107
17 #define GUI_UNLOCK_GOAL -108
18
19 #define GUI_NAME -109
20
21 void gui_score_set(int);
22 int  gui_score_get(void);
23 int  gui_score_next(int);
24
25 void gui_score_board(int, int, int);
26 void set_score_board(const struct score *, int,
27                      const struct score *, int,
28                      const struct score *, int);
29
30 void gui_keyboard(int);
31 void gui_keyboard_lock(void);
32 char gui_keyboard_char(char);
33
34 int  gui_navig(int, int, int);
35 int  gui_maybe(int, const char *, int, int, int);
36
37 /*---------------------------------------------------------------------------*/
38
39 #endif