X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fsynchro_3.c;h=bafc581f8f458d5174084b7bd7f0423f1b43a31c;hb=6e392e90d99cc0b6d8af3a15fc334bf34f889994;hp=bc171a8372eb5e87011911f69e00b2de12b78cf0;hpb=1e4a6b46371858fdb85052eec3e7143732ff91b5;p=rocksndiamonds.git diff --git a/src/game_em/synchro_3.c b/src/game_em/synchro_3.c index bc171a83..bafc581f 100644 --- 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. */ -#include "tile.h" -#include "level.h" -#include "sample.h" +#include "main_em.h" 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 */ @@ -63,7 +61,7 @@ void synchro_3(void) /* grow amoeba */ - random = Random; + random = RandomEM; for (count = lev.amoeba_time; count--;) { @@ -89,7 +87,7 @@ void synchro_3(void) random = random * 129 + 1; } - Random = random; + RandomEM = random; /* handle explosions */