X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame_em%2Fglobal.h;h=2f72dd71f00a2d15037d70756704fcb5ced26024;hb=7bb60f12d6369c20c459e165fa30beda8af67576;hp=2f53c3bcce0c815fd14fefe319b88e058673379c;hpb=c5321d9d36d0a74062651d0352fbbaccbe125eca;p=rocksndiamonds.git diff --git a/src/game_em/global.h b/src/game_em/global.h index 2f53c3bc..2f72dd71 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" @@ -31,6 +31,7 @@ void blitscreen(void); void game_initscreen(void); void game_animscreen(void); +void play_sound(int, int, int); void sound_play(void); int cave_convert(char *); @@ -44,12 +45,12 @@ void synchro_1(void); void synchro_2(void); void synchro_3(void); -boolean cleanup_em_level(unsigned char *src, int *length); -void convert_em_level(unsigned char *src); -void prepare_em_level(void); +int cleanup_em_level(unsigned char *, int); +void convert_em_level(unsigned char *, int); +void prepare_em_level(void); int sound_thread(void); -int read_sample(char *name, short **data, long *length); +int read_sample(char *, short **, long *); void read_cave_list(void); void free_cave_list(void);