From: Jason Woofenden Date: Sat, 25 Apr 2009 16:25:18 +0000 (-0400) Subject: Raised default high-scores. Alligned seconds for high scores < 1:00 X-Git-Tag: 0.5.4~20 X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=commitdiff_plain;h=753fb1059f232f57aa567d653099e5bab2f5094c;ds=sidebyside Raised default high-scores. Alligned seconds for high scores < 1:00 --- diff --git a/score.c b/score.c index b21345c..30d30a5 100644 --- a/score.c +++ b/score.c @@ -31,26 +31,27 @@ #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,"-"} } }; @@ -143,7 +144,7 @@ snprintscore(char *s, size_t n, int score) 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); } }