T-int fixes
[neverball] / ball / set.h
1 #ifndef SET_H
2 #define SET_H
3
4 #include "base_config.h"
5 #include "level.h"
6
7 #define SET_FILE "sets.txt"
8
9 #define MAXSET 16
10 #define MAXLVL 25
11
12 /*---------------------------------------------------------------------------*/
13
14 int  set_init(void);
15 void set_free(void);
16
17 /*---------------------------------------------------------------------------*/
18
19 int  set_exists(int);
20 void set_goto(int);
21
22 int  curr_set(void);
23
24 const char         *set_name(int);
25 const char         *set_desc(int);
26 const char         *set_shot(int);
27 const struct score *set_time_score(int);
28 const struct score *set_coin_score(int);
29
30
31 /*---------------------------------------------------------------------------*/
32
33 int set_level_exists(int, int);
34 const struct level *get_level(int);
35
36 void set_finish_level(struct level_game *, const char *);
37 void score_change_name(struct level_game *, const char *);
38
39 void level_snap(int);
40 void set_cheat(void);
41
42 /*---------------------------------------------------------------------------*/
43
44 #endif