moved global random variable for EM engine to game structure
[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 readjoy(byte, struct PLAYER *);
16
17 void game_initscreen(void);
18 void game_init_random(void);
19 void game_init_cave_buffers(void);
20
21 void play_sound(int, int, int);
22 void play_element_sound(int, int, int, int);
23
24 void logic_players(void);
25 void logic_objects(void);
26 void logic_globals(void);
27
28 int  cleanup_em_level(unsigned char *, int, char *);
29 void convert_em_level(unsigned char *, int);
30 void prepare_em_level(void);
31
32 #endif