projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moved functions for correcting playfield buffer position to EM engine
[rocksndiamonds.git]
/
src
/
game_em
/
init.c
diff --git
a/src/game_em/init.c
b/src/game_em/init.c
index d08d8db1cd2ac7dd26fd3bca9fa4b494c15367d2..bd9cbc8576d1e751f38dbbc1d1a487c58c4b33a3 100644
(file)
--- a/
src/game_em/init.c
+++ b/
src/game_em/init.c
@@
-71,6
+71,20
@@
void play_sound(int x, int y, int sample)
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)