4 #include "base_config.h"
7 /*---------------------------------------------------------------------------*/
27 int time; /* Time limit */
28 int goal; /* Coins needed */
30 struct score scores[3];
32 /* Set information. */
36 /* String representation of the number (eg. "IV") */
46 int level_load(const char *, struct level *);
48 /*---------------------------------------------------------------------------*/
50 int level_exists(int);
52 void level_open(struct level *);
53 int level_opened(const struct level *);
55 void level_complete(struct level *);
56 int level_completed(const struct level *);
58 int level_time(const struct level *);
59 int level_goal(const struct level *);
60 int level_bonus(const struct level *);
62 const char *level_shot(const struct level *);
63 const char *level_file(const struct level *);
64 const char *level_song(const struct level *);
65 const char *level_name(const struct level *);
66 const char *level_msg(const struct level *);
68 const struct score *level_score(struct level *, int);
70 /*---------------------------------------------------------------------------*/
72 int level_score_update (struct level *, int, int, int *, int *, int *);
73 void level_rename_player(struct level *, int, int, int, const char *);
75 /*---------------------------------------------------------------------------*/