X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=rocks.c;h=76663c62064b3857be780fde1d758a436df4e8c5;hp=607431dada316ced97c294d36e27884985f77e97;hb=ad299216a04916210587c3b0f377c1ce9076b94a;hpb=0e26db03c5aca3622a007b607368b250e40b7f2c diff --git a/rocks.c b/rocks.c index 607431d..76663c6 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