8 /*---------------------------------------------------------------------------*/
12 char name[PATHMAX]; /* demo basename */
13 char filename[MAXSTR]; /* demo path */
23 char shot[PATHMAX]; /* image filename */
24 char file[PATHMAX]; /* level filename */
26 int time; /* time limit */
27 int goal; /* coin limit */
28 int goal_e; /* goal enabled flag */
29 int score; /* total coins */
30 int balls; /* number of balls */
31 int times; /* total time */
34 /*---------------------------------------------------------------------------*/
39 const char *demo_pick(void);
40 const struct demo *demo_get(int);
42 const char *date_to_str(time_t);
44 int demo_exists(const char *);
46 const char *demo_format_name(const char *fmt,
50 /*---------------------------------------------------------------------------*/
52 int demo_play_init(const char *, const struct level *,
53 int, int, int, int, int, int, int);
54 void demo_play_step(void);
55 void demo_play_stat(int, int, int);
56 void demo_play_stop(void);
58 int demo_saved (void);
59 void demo_rename(const char *);
61 void demo_rename_player(const char *name, const char *player);
63 /*---------------------------------------------------------------------------*/
65 int demo_replay_init(const char *, int *, int *, int *, int *, int *);
66 int demo_replay_step(float);
67 void demo_replay_stop(int);
68 void demo_replay_dump_info(void);
70 const struct demo *curr_demo_replay(void);
72 /*---------------------------------------------------------------------------*/