projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20070424-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 bc171a8372eb5e87011911f69e00b2de12b78cf0..bafc581f8f458d5174084b7bd7f0423f1b43a31c 100644
(file)
--- a/
src/game_em/synchro_3.c
+++ b/
src/game_em/synchro_3.c
@@
-5,17
+5,15
@@
* this should be spread over the frames for reduced cpu load.
*/
* this should be spread over the frames for reduced cpu load.
*/
-#include "tile.h"
-#include "level.h"
-#include "sample.h"
+#include "main_em.h"
void synchro_3(void)
{
void synchro_3(void)
{
-
register unsigned
int x;
-
register unsigned
int y;
-
register unsigned
int count;
-
register
unsigned long random;
+ int x;
+ int y;
+ int count;
+ unsigned long random;
/* update variables */
/* update variables */
@@
-63,7
+61,7
@@
void synchro_3(void)
/* grow amoeba */
/* grow amoeba */
- random = Random;
+ random = Random
EM
;
for (count = lev.amoeba_time; count--;)
{
for (count = lev.amoeba_time; count--;)
{
@@
-89,7
+87,7
@@
void synchro_3(void)
random = random * 129 + 1;
}
random = random * 129 + 1;
}
- Random = random;
+ Random
EM
= random;
/* handle explosions */
/* handle explosions */