Fixed the problem that in a rare case, a set is downloaded and the neverballrc is...
[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 #define GUI_OFFIC   -106
16 #define GUI_CONTRIB -107
17
18 void gui_most_coins(int, int);
19 void set_most_coins(const struct score *, int);
20 void gui_best_times(int, int);
21 void set_best_times(const struct score *, int, int);
22
23 void gui_keyboard(int);
24 void gui_keyboard_lock(void);
25 char gui_keyboard_char(char);
26
27 int  gui_back_prev_next(int, int, int, int);
28 int  gui_maybe(int, const char *, int, int);
29
30 /*---------------------------------------------------------------------------*/
31
32 #endif