10 /*---------------------------------------------------------------------------*/
14 char name[PATHMAX]; /* Demo basename */
15 char filename[MAXSTR]; /* Demo path */
25 char shot[PATHMAX]; /* Image filename */
26 char file[PATHMAX]; /* Level filename */
28 int time; /* Time limit */
29 int goal; /* Coin limit */
30 int score; /* Total coins */
31 int balls; /* Number of balls */
32 int times; /* Total time */
36 /*---------------------------------------------------------------------------*/
38 struct demo *demo_load(const char *);
39 void demo_free(struct demo *);
41 int demo_exists(const char *);
43 const char *demo_format_name(const char *fmt,
47 /*---------------------------------------------------------------------------*/
49 int demo_play_init(const char *, const struct level *, int, int, int, int);
50 void demo_play_step(void);
51 void demo_play_stat(int, int, int);
52 void demo_play_stop(void);
53 float demo_play_blend(void);
55 int demo_saved (void);
56 void demo_rename(const char *);
58 void demo_rename_player(const char *name, const char *player);
60 /*---------------------------------------------------------------------------*/
62 int demo_replay_init(const char *, int *, int *, int *, int *, int *);
63 int demo_replay_step(float);
64 void demo_replay_stop(int);
66 const char *curr_demo(void);
68 void demo_speed_set(int);
70 /*---------------------------------------------------------------------------*/
72 extern fs_file demo_fp;
74 /*---------------------------------------------------------------------------*/