major cleanup of preprocessor hell
[rocksndiamonds.git] / src / game_em / global.h
index 9590d1962133dc69c7fdfb6441e36a16e3283f77..0bad3d3da7634e4e8efe0628362a5e5663e9e754 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,11 +24,7 @@ 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);
@@ -45,7 +37,6 @@ void play_sound(int, int, int);
 void sound_play(void);
 
 int cave_convert(char *);
-boolean LoadNativeLevel_EM(char *);
 
 void game_init_vars(void);
 void game_play_init(int, char *);
@@ -60,7 +51,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);