ball/st_ball: do not rescan balls on replay restart
[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 #define SET_MISC "set-misc.txt"
9
10 #define MAXSET 16
11 #define MAXLVL 25
12
13 /*---------------------------------------------------------------------------*/
14
15 int  set_init(void);
16 void set_free(void);
17
18 /*---------------------------------------------------------------------------*/
19
20 int  set_exists(int);
21 void set_goto(int);
22
23 int  curr_set(void);
24
25 const char         *set_id(int);
26 const char         *set_name(int);
27 const char         *set_desc(int);
28 const char         *set_shot(int);
29 const struct score *set_time_score(int);
30 const struct score *set_coin_score(int);
31
32 int  set_score_update (int, int, int *, int *);
33 void set_rename_player(int, int, const char *);
34
35 void set_store_hs(void);
36
37 /*---------------------------------------------------------------------------*/
38
39 int set_level_exists(int, int);
40 struct level *get_level(int);
41
42 void level_snap(int, const char *);
43 void set_cheat(void);
44
45 /*---------------------------------------------------------------------------*/
46
47 #endif