WIP: Vibra support
[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 MAXLVL 25
11
12 /*---------------------------------------------------------------------------*/
13
14 int  set_init(void);
15 void set_quit(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_id(int);
25 const char         *set_name(int);
26 const char         *set_desc(int);
27 const char         *set_shot(int);
28 const struct score *set_score(int, int);
29
30 int  set_score_update (int, int, int *, int *);
31 void set_rename_player(int, int, const char *);
32
33 void set_store_hs(void);
34
35 /*---------------------------------------------------------------------------*/
36
37 struct level *get_level(int);
38
39 void level_snap(int, const char *);
40 void set_cheat(void);
41
42 /*---------------------------------------------------------------------------*/
43
44 #endif