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 int demo_exists(const char *);
44 const char *demo_format_name(const char *fmt,
48 /*---------------------------------------------------------------------------*/
50 int demo_play_init(const char *, const struct level *,
51 int, int, int, int, int, int, int);
52 void demo_play_step(void);
53 void demo_play_stat(int, int, int);
54 void demo_play_stop(void);
56 int demo_saved (void);
57 void demo_rename(const char *);
59 void demo_rename_player(const char *name, const char *player);
61 /*---------------------------------------------------------------------------*/
63 int demo_replay_init(const char *, int *, int *, int *, int *, int *);
64 int demo_replay_step(float);
65 void demo_replay_stop(int);
66 void demo_replay_dump_info(void);
68 const struct demo *curr_demo_replay(void);
70 /*---------------------------------------------------------------------------*/