4 #include "base_config.h"
8 /*---------------------------------------------------------------------------*/
12 /* TODO: turn into an internal structure. */
23 int time; /* Time limit */
24 int goal; /* Coins needed */
28 struct score best_times;
29 struct score unlock_goal;
30 struct score most_coins;
34 /* Set information. */
40 /* String representation of the number (eg. "IV") */
48 int level_load(const char *, struct level *);
49 void level_dump(const struct level *);
51 /*---------------------------------------------------------------------------*/
53 int level_exists(int);
55 void level_open (int);
56 int level_opened(int);
58 void level_complete (int);
59 int level_completed(int);
65 const char *level_shot(int);
66 const char *level_file(int);
67 const char *level_name(int);
68 const char *level_msg (int);
70 /*---------------------------------------------------------------------------*/
72 int level_score_update (int, int, int, int *, int *, int *);
73 void level_rename_player(int, int, int, int, const char *);
75 /*---------------------------------------------------------------------------*/