projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20040927-2-src
[rocksndiamonds.git]
/
src
/
game_em
/
synchro_3.c
diff --git
a/src/game_em/synchro_3.c
b/src/game_em/synchro_3.c
index 230a907c3ba27242140577139753a4e8d705d1f5..af7d9f8fcafa36cf86cd17a6b8c6a6d59b4d0669 100644
(file)
--- a/
src/game_em/synchro_3.c
+++ b/
src/game_em/synchro_3.c
@@
-43,16
+43,16
@@
void synchro_3(void)
lev.wonderwall_time--;
if (lev.time > 0 && lev.time <= 50 && lev.time % 5 == 0)
lev.wonderwall_time--;
if (lev.time > 0 && lev.time <= 50 && lev.time % 5 == 0)
- play
[SAMPLE_time] = 1
;
+ play
_sound(-1, -1, SAMPLE_time)
;
if (lev.wheel_cnt)
if (lev.wheel_cnt)
- play
[SAMPLE_wheel] = 1
;
+ play
_sound(-1, -1, SAMPLE_wheel)
;
- /* grow am
eu
ba */
+ /* grow am
oe
ba */
random = Random;
random = Random;
- for (count = lev.am
eu
ba_time; count--;)
+ for (count = lev.am
oe
ba_time; count--;)
{
x = (random >> 10) % (WIDTH - 2);
y = (random >> 20) % (HEIGHT - 2);
{
x = (random >> 10) % (WIDTH - 2);
y = (random >> 20) % (HEIGHT - 2);
@@
-66,10
+66,10
@@
void synchro_3(void)
case Xsand:
case Xplant:
case Yplant:
case Xsand:
case Xplant:
case Yplant:
- if (tab_am
eu
ba[Cave[y-1][x]] ||
- tab_am
eu
ba[Cave[y][x+1]] ||
- tab_am
eu
ba[Cave[y+1][x]] ||
- tab_am
eu
ba[Cave[y][x-1]])
+ if (tab_am
oe
ba[Cave[y-1][x]] ||
+ tab_am
oe
ba[Cave[y][x+1]] ||
+ tab_am
oe
ba[Cave[y+1][x]] ||
+ tab_am
oe
ba[Cave[y][x-1]])
Cave[y][x] = Xdrip_eat;
}
Cave[y][x] = Xdrip_eat;
}