cleanup of EM engine initialization
[rocksndiamonds.git] / src / game_em / global.h
1 #ifndef GLOBAL_H
2 #define GLOBAL_H
3
4 #include "main_em.h"
5
6 extern int frame;
7
8 /* all global function prototypes */
9
10 void readjoy(byte, struct PLAYER *);
11
12 void tab_generate(void);
13
14 void game_initscreen(void);
15 void game_init_random(void);
16 void game_init_cave_buffers(void);
17
18 void play_sound(int, int, int);
19 void play_element_sound(int, int, int, int);
20
21 void logic_1(void);
22 void logic_2(void);
23 void logic_3(void);
24
25 int  cleanup_em_level(unsigned char *, int, char *);
26 void convert_em_level(unsigned char *, int);
27 void prepare_em_level(void);
28
29 #endif