9 /*---------------------------------------------------------------------------*/
13 char name[PATHMAX]; /* demo basename */
14 char filename[MAXSTR]; /* demo path */
24 char shot[PATHMAX]; /* image filename */
25 char file[PATHMAX]; /* level filename */
27 int time; /* time limit */
28 int goal; /* coin limit */
29 int goal_e; /* goal enabled flag */
30 int score; /* total coins */
31 int balls; /* number of balls */
32 int times; /* total time */
35 /*---------------------------------------------------------------------------*/
40 const char *demo_pick(void);
41 const struct demo *demo_get(int);
43 int demo_exists(const char *);
45 const char *demo_format_name(const char *fmt,
49 /*---------------------------------------------------------------------------*/
51 int demo_play_init(const char *, const struct level *,
52 int, int, int, int, int, int, int);
53 void demo_play_step(void);
54 void demo_play_stat(int, int, int);
55 void demo_play_stop(void);
57 int demo_saved (void);
58 void demo_rename(const char *);
60 void demo_rename_player(const char *name, const char *player);
62 /*---------------------------------------------------------------------------*/
64 int demo_replay_init(const char *, int *, int *, int *, int *, int *);
65 int demo_replay_step(float);
66 void demo_replay_stop(int);
67 void demo_replay_dump_info(void);
69 const struct demo *curr_demo_replay(void);
71 /*---------------------------------------------------------------------------*/
73 FILE *demo_file(void);
75 /*---------------------------------------------------------------------------*/