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);
play_element_sound(x, y, sample, -1);
}
+int correctLevelPosX_EM(int lx)
+{
+ lx -= 1;
+
+ return lx;
+}
+
+int correctLevelPosY_EM(int ly)
+{
+ ly -= 1;
+
+ return ly;
+}
+
unsigned int InitEngineRandom_EM(int seed)
{
if (seed == NEW_RANDOMIZE)
return s;
}
-int correctLevelPosX_EM(int lx)
-{
- lx -= 1;
-
- return lx;
-}
-
-int correctLevelPosY_EM(int ly)
-{
- ly -= 1;
-
- return ly;
-}
-
int getFieldbufferOffsetX_RND(int dir, int pos)
{
int full_lev_fieldx = lev_fieldx + (BorderElement != EL_EMPTY ? 2 : 0);
int getFieldbufferOffsetX_RND(int, int);
int getFieldbufferOffsetY_RND(int, int);
-int correctLevelPosX_EM(int);
-int correctLevelPosY_EM(int);
-
int getLevelFromScreenX(int);
int getLevelFromScreenY(int);