4c385da7032d2dd0187646e53fcdf26a0f1cd767
[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_shot(int);
12 int         demo_coins(int);
13 int         demo_clock(int);
14 int         demo_state(int);
15 int         demo_mode(int);
16 const char *demo_player(int);
17 const char *demo_str_date(int);
18
19 int  demo_exists(char *);
20 void demo_unique(char *);
21
22 /*---------------------------------------------------------------------------*/
23
24 int  demo_play_init(const char *, const char *, const char *,
25                     const char *, const char *, const char *,
26                     int, int, int, int, int, int);
27 void demo_play_step(float);
28 void demo_play_stop(int, int, int);
29 void demo_play_save(const char *);
30
31 /*---------------------------------------------------------------------------*/
32
33 int  demo_replay_init(const char *, int *, int *, int *, int *, int *);
34 int  demo_replay_step(float *);
35 void demo_replay_stop(int);
36
37 /*---------------------------------------------------------------------------*/
38
39 #endif