34238421697e9d76c4c053527accd7b3dec746d7
[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_players(void);
23 void logic_objects(void);
24 void logic_globals(void);
25
26 int  cleanup_em_level(unsigned char *, int, char *);
27 void convert_em_level(unsigned char *, int);
28 void prepare_em_level(void);
29
30 #endif