X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=inline;f=rocks.c;h=59b401646797afd0b39668c6d31b3244e0390821;hb=d2c7edfd9f15b74baba78b935b555f351b93728c;hp=607431dada316ced97c294d36e27884985f77e97;hpb=0e26db03c5aca3622a007b607368b250e40b7f2c;p=vor.git 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