4 #include "base_config.h"
8 /*---------------------------------------------------------------------------*/
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 int level_replay(const char *);
52 int level_play(const struct level *, int);
53 void level_stat(int, int, int);
54 void level_stop(void);
58 /*---------------------------------------------------------------------------*/
60 int count_extra_balls(int, int);
62 void level_update_player_name(void);
64 /*---------------------------------------------------------------------------*/
66 #define GAME_NONE 0 /* No event (or aborted) */
67 #define GAME_TIME 1 /* Time's up */
68 #define GAME_GOAL 2 /* Goal reached */
69 #define GAME_FALL 3 /* Fall out */
71 const char *status_to_str(int);