X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fglobal.h;h=2f062e512625d78d5b3412ba2fe44c50154af41a;hb=3e71d06e9a97be7bb8c50c76717d08e5c46e0cc8;hp=88c6a5e22f5f55046161abf07eacd95520cadba0;hpb=2c89261a1186ffc19bd6e5f82e9369bee1545e2f;p=rocksndiamonds.git diff --git a/src/game_em/global.h b/src/game_em/global.h index 88c6a5e2..2f062e51 100644 --- a/src/game_em/global.h +++ b/src/game_em/global.h @@ -1,7 +1,7 @@ #ifndef GLOBAL_H #define GLOBAL_H -#include "game_em.h" +#include "main_em.h" #define EM_GFX_DIR "graphics.EM" #define EM_SND_DIR "sounds.EM" @@ -14,7 +14,7 @@ extern int debug; extern char *progname; extern char *arg_basedir; -extern unsigned int frame; +extern int frame; extern short ulaw_to_linear[256]; extern unsigned char linear_to_ulaw[65536]; @@ -24,13 +24,19 @@ 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);