7dfbdca965c030c9d25be3f417d78bfb3c66b99a
[rocksndiamonds.git] / src / game_em / global.h
1 #ifndef GLOBAL_H
2 #define GLOBAL_H
3
4 #include "main_em.h"
5
6
7 /* global variables */
8
9 extern int frame;
10 extern int screen_x, screen_y;
11
12
13 /* global function prototypes */
14
15 void game_initscreen(void);
16 void game_init_random(void);
17 void game_init_cave_buffers(void);
18
19 void play_sound(int, int, int);
20 void play_element_sound(int, int, int, int);
21
22 void logic(void);
23
24 int  cleanup_em_level(unsigned char *, int, char *);
25 void convert_em_level(unsigned char *, int);
26 void prepare_em_level(void);
27
28 #endif