added printing of error message when initializing sound, fixed font spacing the millionth time
This commit is contained in:
+2
-1
@@ -556,6 +556,7 @@ void View::DrawUiHighscore() {
|
||||
unsigned int entry_length = 32;
|
||||
float char_width, height;
|
||||
DrawGLStringMeasure ("M", &char_width, &height);
|
||||
height = fabsf(height);
|
||||
float entry_width = fabsf(char_width * entry_length);
|
||||
float x = screen_right * 0.5 - entry_width * 0.5;
|
||||
float y = screen_bottom * 0.5 - 8 - 128;
|
||||
@@ -580,7 +581,7 @@ void View::DrawUiHighscore() {
|
||||
DrawHighscoreEntry ( x, y, entry_width, highscore_iter->name, highscore_iter->points);
|
||||
|
||||
// go down one line
|
||||
y += 20;
|
||||
y += height * 1.3;
|
||||
|
||||
i++;
|
||||
highscore_iter++;
|
||||
|
||||
Reference in New Issue
Block a user