#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);
void play_sound(int, int, int);
void play_element_sound(int, int, int, int);
-void logic_players(void);
-void logic_objects(void);
-void logic_globals(void);
+void logic_init(void);
+void logic(void);
int cleanup_em_level(unsigned char *, int, char *);
void convert_em_level(unsigned char *, int);