From: Holger Schemel Date: Thu, 28 May 2020 16:32:04 +0000 (+0200) Subject: removed functions for correcting playfield buffer position for EM engine X-Git-Tag: 4.2.0.0~25 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=38c98f98f536b80d9f8f2af263e2f22825ab5b2b;p=rocksndiamonds.git removed functions for correcting playfield buffer position for EM engine --- diff --git a/src/game_em/export.h b/src/game_em/export.h index 37e11e1a..4766101b 100644 --- a/src/game_em/export.h +++ b/src/game_em/export.h @@ -105,9 +105,6 @@ void InitGfxBuffers_EM(void); void InitGameEngine_EM(void); void GameActions_EM(byte *, boolean); -int correctLevelPosX_EM(int); -int correctLevelPosY_EM(int); - unsigned int InitEngineRandom_EM(int); void setLevelInfoToDefaults_EM(void); diff --git a/src/game_em/init.c b/src/game_em/init.c index 0486f87b..b2a396df 100644 --- a/src/game_em/init.c +++ b/src/game_em/init.c @@ -71,20 +71,6 @@ void play_sound(int x, int y, int sample) play_element_sound(x, y, sample, -1); } -int correctLevelPosX_EM(int lx) -{ - lx -= lev.left; - - return lx; -} - -int correctLevelPosY_EM(int ly) -{ - ly -= lev.top; - - return ly; -} - unsigned int InitEngineRandom_EM(int seed) { if (seed == NEW_RANDOMIZE)