HandleChooseTree(mx, my, dx, dy, button, &score_entry_current);
}
-static void DrawScoreInfo(int entry_nr)
+static void DrawScoreInfo_Content(int entry_nr)
{
struct ScoreEntry *entry = &scores.entry[entry_nr];
char *pos_text = getHallOfFameRankText(entry_nr);
int xstart1 = mSX - SX + 2 * xstep;
int xstart2 = mSX - SX + 14 * xstep;
- SetMainBackgroundImageIfDefined(IMG_BACKGROUND_SCOREINFO);
-
- UnmapAllGadgets();
-
- FadeOut(REDRAW_FIELD);
-
ClearField();
drawChooseTreeHead(score_entries);
}
DrawTextSCentered(ybottom, font_foot, "Press any key or button to go back");
+}
+
+static void DrawScoreInfo(int entry_nr)
+{
+ SetMainBackgroundImageIfDefined(IMG_BACKGROUND_SCOREINFO);
+
+ UnmapAllGadgets();
+
+ FadeOut(REDRAW_FIELD);
+
+ DrawScoreInfo_Content(entry_nr);
FadeIn(REDRAW_FIELD);
}