#include "font.h"
#include "common.h"
-#include "config.h"
+#include "vorconfig.h"
#include "file.h"
#include "globals.h"
#include "score.h"
// High score table
+// below are the defaults (when there's no high score file) in miliseconds
struct highscore g_scores[2][N_SCORES] = {
{
- {1*60*1000,"-"},
- {45*1000,"-"},
- {30*1000,"-"},
- {20*1000,"-"},
- {10*1000,"-"},
- {7*1000,"-"},
- {5*1000,"-"},
- {3*1000,"-"}
+ {120000,"-"},
+ {105000,"-"},
+ { 90000,"-"},
+ { 75000,"-"},
+ { 60000,"-"},
+ { 50000,"-"},
+ { 40000,"-"},
+ { 30000,"-"}
},
{
- {1*60*1000,"-"},
- {45*1000,"-"},
- {30*1000,"-"},
- {20*1000,"-"},
- {10*1000,"-"},
- {7*1000,"-"},
- {5*1000,"-"},
- {3*1000,"-"}
+ {120000,"-"},
+ {105000,"-"},
+ { 90000,"-"},
+ { 75000,"-"},
+ { 60000,"-"},
+ { 50000,"-"},
+ { 40000,"-"},
+ { 30000,"-"}
}
};
if(min) {
return snprintf(s, n, "%2d:%.2d.%d", min, sec, tenths);
} else {
- return snprintf(s, n, "%2d.%d", sec, tenths);
+ return snprintf(s, n, " %2d.%d", sec, tenths);
}
}