removed functions for correcting playfield buffer position for EM engine
authorHolger Schemel <info@artsoft.org>
Thu, 28 May 2020 16:32:04 +0000 (18:32 +0200)
committerHolger Schemel <info@artsoft.org>
Thu, 28 May 2020 16:32:04 +0000 (18:32 +0200)
src/game_em/export.h
src/game_em/init.c

index 37e11e1a71de19b199f5b3d9e7710c9265169282..4766101bbba223798c96361b7e77fd9575042749 100644 (file)
@@ -105,9 +105,6 @@ void InitGfxBuffers_EM(void);
 void InitGameEngine_EM(void);
 void GameActions_EM(byte *, boolean);
 
 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);
 unsigned int InitEngineRandom_EM(int);
 
 void setLevelInfoToDefaults_EM(void);
index 0486f87b295fcf7a075b4ecc68bf881eda809f40..b2a396dfcea8ad972ec86170e0736922962a554e 100644 (file)
@@ -71,20 +71,6 @@ void play_sound(int x, int y, int sample)
   play_element_sound(x, y, sample, -1);
 }
 
   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)
 unsigned int InitEngineRandom_EM(int seed)
 {
   if (seed == NEW_RANDOMIZE)