word col = 15;
word bgcol = 0;
word type = 1;
+ float t;
+ //gv->clock=*hwclockw;
+ t=(((*hwclockw)-gv->clock_start) /18.2);
//if(elapsed_timer(gv) >= (1.0 / gv->frames_per_second))
//{
- pee = malloc(sizeof(double));
-//++++ sprintf(pee, "%f", ((*gv->clock) /18.2));
-//++++ modexprint(page, x, y, type, col, bgcol, pee);
+ pee = _fmalloc(sizeof(float));
+ //sprintf(pee, "%f", gv->tiku/t);
+ modexprint(page, x, y, type, col, bgcol, pee);
//sprintf(pee, "%f", *gv->tiku/\*time_in_seconds(gv));
//modexprint(page, x, y+8, type, col, bgcol, pee);
//}
+ (gv->clock_start)=*hwclockw;
}
void near animatePlayer(map_view_t *pip, player_t *player, word playnum, sword scrollswitch)