X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Finit.c;h=9937110a8a80808cda87047659324bca926ee5cb;hb=35c230e30fd6f3d29c6be6abc122a4d2cb554beb;hp=699e4b699f6cef4a79e8d2df1687091789e70e5e;hpb=115ce6f2da1914d68b0fe0e5f9082973190dacdd;p=rocksndiamonds.git diff --git a/src/game_em/init.c b/src/game_em/init.c index 699e4b69..9937110a 100644 --- a/src/game_em/init.c +++ b/src/game_em/init.c @@ -13,20 +13,9 @@ Bitmap *sprBitmap; Bitmap *screenBitmap; -char play[SAMPLE_MAX]; -int play_x[SAMPLE_MAX]; -int play_y[SAMPLE_MAX]; -int play_element[SAMPLE_MAX]; - struct GlobalInfo_EM global_em_info; struct GameInfo_EM game_em; -char *progname; -char *arg_basedir; - -extern void tab_generate(void); -extern void tab_generate_graphics_info_em(void); - int open_all(void) { Bitmap *emc_bitmaps[2]; @@ -51,8 +40,6 @@ void em_open_all(void) /* pre-calculate some data */ tab_generate(); - progname = "emerald mine"; - if (open_all() != 0) Error(ERR_EXIT, "em_open_all(): open_all() failed"); @@ -81,10 +68,6 @@ void play_sound(int x, int y, int sample) play_element_sound(x, y, sample, -1); } -void sound_play(void) -{ -} - unsigned int InitEngineRandom_EM(int seed) { if (seed == NEW_RANDOMIZE)