6970b0b4a74db36a793f6db7d2651e9802459514
[neverball] / ball / demo.h
1 #ifndef DEMO_H
2 #define DEMO_H
3
4 /*---------------------------------------------------------------------------*/
5
6 #define MAXDEMO 256
7
8 int         demo_scan(void);
9 const char *demo_pick(void);
10 const char *demo_name(int);
11 const char *demo_filename(int);
12 const char *demo_shot(int);
13 int         demo_coins(int);
14 int         demo_clock(int);
15 int         demo_state(int);
16 int         demo_mode(int);
17 const char *demo_player(int);
18 void        demo_str_date(int, char *, int);
19
20 int  demo_exists(char *);
21 void demo_unique(char *);
22
23 /*---------------------------------------------------------------------------*/
24
25 int  demo_play_init(const char *, const char *, const char *,
26                     const char *, const char *, const char *,
27                     int, int, int, int, int, int);
28 void demo_play_step(float);
29 void demo_play_stop(int, int, int);
30 int  demo_play_saved(void);
31 void demo_play_save(const char *);
32
33 /*---------------------------------------------------------------------------*/
34
35 int  demo_replay_init(const char *, int *, int *, int *, int *);
36 int  demo_replay_step(float *);
37 void demo_replay_stop(int);
38 void demo_replay_dump_info(void);
39
40 /*---------------------------------------------------------------------------*/
41
42 #endif