moved calling EM engine logic to corresponding source file
[rocksndiamonds.git] / src / game_em / global.h
index 70f240ecbcf17c16eeb71bbffee9886c4a3f2fea..7dfbdca965c030c9d25be3f417d78bfb3c66b99a 100644 (file)
@@ -3,13 +3,14 @@
 
 #include "main_em.h"
 
-extern int frame;
 
-/* all global function prototypes */
+/* global variables */
+
+extern int frame;
+extern int screen_x, screen_y;
 
-void readjoy(byte, struct PLAYER *);
 
-void tab_generate(void);
+/* global function prototypes */
 
 void game_initscreen(void);
 void game_init_random(void);
@@ -18,9 +19,7 @@ void game_init_cave_buffers(void);
 void play_sound(int, int, int);
 void play_element_sound(int, int, int, int);
 
-void logic_1(void);
-void logic_2(void);
-void logic_3(void);
+void logic(void);
 
 int  cleanup_em_level(unsigned char *, int, char *);
 void convert_em_level(unsigned char *, int);