fixed bug in single button handling causing broken tapes (EM engine)
[rocksndiamonds.git] / src / game_em / global.h
index 0f2a6448705dae88cfac404d069a40d5222ef8d1..89c6804278e9bc3a3c156c4e768d739ea9a2ccf3 100644 (file)
@@ -14,10 +14,6 @@ extern int debug;
 extern char *progname;
 extern char *arg_basedir;
 
-#if 0
-extern int TILEX, TILEY;
-#endif
-
 extern int frame;
 
 extern short ulaw_to_linear[256];
@@ -28,18 +24,10 @@ extern unsigned char linear_to_ulaw[65536];
 int open_all(void);
 void close_all(void);
 
-#if 1
 void readjoy(byte, struct PLAYER *);
-#else
-void readjoy(byte);
-#endif
 void input_eventloop(void);
 
-void blitscreen(void);
 void game_initscreen(void);
-void game_animscreen(void);
-
-void DrawGameDoorValues_EM();
 
 void play_sound(int, int, int);
 void sound_play(void);
@@ -59,7 +47,7 @@ void convert_em_level(unsigned char *, int);
 void prepare_em_level(void);
 
 int sound_thread(void);
-int read_sample(char *, short **, long *);
+int read_sample(char *, short **, int *);
 
 void read_cave_list(void);
 void free_cave_list(void);