}
void
-new_rocks(float ticks)
+new_rocks(void)
{
int i, type;
struct rock *r;
float rmax[4];
if(nrocks < final_rocks) {
- nrocks_timer += ticks;
+ nrocks_timer += t_frame;
if(nrocks_timer >= nrocks_inc_ticks) {
nrocks_timer -= nrocks_inc_ticks;
nrocks++;
rock_sides(ti, rmin, rmax);
// increment timers
- for(i=0; i<4; i++) rtimers[i] += ti[i]*ticks;
+ for(i=0; i<4; i++) rtimers[i] += ti[i]*t_frame;
// generate rocks
for(i=0; i<4; i++) {