int buf_load(string filename);
void buf_save(int buf, string filename);
+// adding just 0.4 for race times so it rounds down in the .5 case (matching the timer display)
+// FIXME it doesn't round properly
#define TIME_TO_NTHS(t,n) floor((t) * (n) + 0.4)
string format_time(float seconds);
string mmsss(float t);
t += e.race_penalty_accumulator;
t = TIME_ENCODE(t); // make integer
- // adding just 0.4 so it rounds down in the .5 case (matching the timer display)
if(tvalid)
if(cp == race_timed_checkpoint) // finish line