From: Holger Schemel Date: Fri, 11 Mar 2022 12:57:23 +0000 (+0100) Subject: changed order of entries on score info page X-Git-Tag: 4.3.2.0~84 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=f07148acec44f0cba1897a2088a1fbf651faf77a;p=rocksndiamonds.git changed order of entries on score info page --- diff --git a/src/screens.c b/src/screens.c index 0d26b8e9..1ecf11a1 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5920,24 +5920,6 @@ static void DrawScoreInfo_Content(int entry_nr) DrawTextF(xstart2, ystart, font_text, entry->name); ystart += ystep_line; - DrawTextF(xstart1, ystart, font_head, "Platform"); - DrawTextF(xstart2, ystart, font_text, entry->platform); - ystart += ystep_line; - - DrawTextF(xstart1, ystart, font_head, "Version"); - DrawTextF(xstart2, ystart, font_text, entry->version); - ystart += ystep_line; - - DrawTextF(xstart1, ystart, font_head, "Country"); - lines = DrawTextBufferS(xstart2, ystart, entry->country_name, font_text, - max_chars_per_line, -1, max_lines_per_text, 0, -1, - TRUE, FALSE, FALSE); - ystart += ystep_line + (lines > 0 ? lines - 1 : 0) * font_height; - - DrawTextF(xstart1, ystart, font_head, "Tape Date"); - DrawTextF(xstart2, ystart, font_text, entry->tape_date); - ystart += ystep_line; - if (level.use_step_counter) { DrawTextF(xstart1, ystart, font_head, "Steps"); @@ -5958,6 +5940,26 @@ static void DrawScoreInfo_Content(int entry_nr) ystart += ystep_line; } + ystart += ystep_line; + + DrawTextF(xstart1, ystart, font_head, "Tape Date"); + DrawTextF(xstart2, ystart, font_text, entry->tape_date); + ystart += ystep_line; + + DrawTextF(xstart1, ystart, font_head, "Platform"); + DrawTextF(xstart2, ystart, font_text, entry->platform); + ystart += ystep_line; + + DrawTextF(xstart1, ystart, font_head, "Version"); + DrawTextF(xstart2, ystart, font_text, entry->version); + ystart += ystep_line; + + DrawTextF(xstart1, ystart, font_head, "Country"); + lines = DrawTextBufferS(xstart2, ystart, entry->country_name, font_text, + max_chars_per_line, -1, max_lines_per_text, 0, -1, + TRUE, FALSE, FALSE); + ystart += ystep_line; + DrawTextSCentered(ybottom, font_foot, "Press any key or button to go back"); }