From: Holger Schemel Date: Fri, 5 Apr 2024 16:13:23 +0000 (+0200) Subject: added highlighting all high score entries of the current player X-Git-Tag: 4.4.0.0-test-1~102 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=1ffa885844bc3c14e8c8aa3a49b672e18bef5359;p=rocksndiamonds.git added highlighting all high score entries of the current player --- diff --git a/src/screens.c b/src/screens.c index adeebb13..a146ba61 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4721,6 +4721,10 @@ static void drawChooseTreeText(TreeInfo *ti, int y, boolean active) char *pos_text = getHallOfFameRankText(pos, 3); int i; + // highlight all high score entries of the current player + if (strEqual(scores.entry[pos].name, setup.player_name)) + font_nr2 = FONT_TEXT_2_ACTIVE; + DrawText(startx1, starty, pos_text, font_nr1); for (i = 0; i < num_dots; i++)