fixed single-step mode for wrap-around levels in EM engine
[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 boolean logic_check_wrap(void);
23 void logic_move(void);
24 void logic_init(void);
25 void logic(void);
26
27 int  cleanup_em_level(unsigned char *, int, char *);
28 void convert_em_level(unsigned char *, int);
29 void prepare_em_level(void);
30
31 #endif