From d2c7edfd9f15b74baba78b935b555f351b93728c Mon Sep 17 00:00:00 2001 From: Joshua Grams Date: Mon, 4 Jul 2005 02:16:33 +0000 Subject: [PATCH] removed rock counting code --- rocks.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/rocks.c b/rocks.c index 607431d..59b4016 100644 --- a/rocks.c +++ b/rocks.c @@ -25,7 +25,9 @@ struct shape rock_shapes[NROCKS]; // timers for rock generation. float rtimers[4]; -uint32_t rcnt; +int32_t rcnt, lrcnt; +int32_t rsum, rsamples; +float ravg; uint32_t nrocks; uint32_t nrocks_timer; @@ -66,7 +68,8 @@ reset_rocks(void) for(i = 0; i