projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20060203-1-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 570d4da81a16be2b3fc89343a97067df8f75a606..449ecab094649ad72c2104835294bd8cb11f4b32 100644
(file)
--- a/
src/game_em/synchro_3.c
+++ b/
src/game_em/synchro_3.c
@@
-22,14
+22,16
@@
void synchro_3(void)
if (lev.score > 9999)
lev.score = 9999;
if (lev.score > 9999)
lev.score = 9999;
+#if 0
#if 1
if (lev.time_initial == 0)
lev.time++;
#if 1
if (lev.time_initial == 0)
lev.time++;
- else if (lev.time)
+ else if (lev.time
> 0
)
lev.time--;
#else
if (lev.time)
lev.time--;
lev.time--;
#else
if (lev.time)
lev.time--;
+#endif
#endif
if (lev.android_move_cnt-- == 0)
#endif
if (lev.android_move_cnt-- == 0)
@@
-50,16
+52,18
@@
void synchro_3(void)
if (lev.wonderwall_time && lev.wonderwall_state)
lev.wonderwall_time--;
if (lev.wonderwall_time && lev.wonderwall_state)
lev.wonderwall_time--;
+#if 0
if (lev.time_initial > 0 &&
if (lev.time_initial > 0 &&
- lev.time > 0 && lev.time <= 50 && lev.time % 5 == 0)
+ lev.time > 0 && lev.time <= 50 && lev.time % 5 == 0
&& setup.time_limit
)
play_sound(-1, -1, SAMPLE_time);
play_sound(-1, -1, SAMPLE_time);
+#endif
if (lev.wheel_cnt)
play_element_sound(lev.wheel_x, lev.wheel_y, SAMPLE_wheel, Xwheel);
/* grow amoeba */
if (lev.wheel_cnt)
play_element_sound(lev.wheel_x, lev.wheel_y, SAMPLE_wheel, Xwheel);
/* grow amoeba */
- random = Random;
+ random = Random
EM
;
for (count = lev.amoeba_time; count--;)
{
for (count = lev.amoeba_time; count--;)
{
@@
-85,7
+89,7
@@
void synchro_3(void)
random = random * 129 + 1;
}
random = random * 129 + 1;
}
- Random = random;
+ Random
EM
= random;
/* handle explosions */
/* handle explosions */