From 1ffa885844bc3c14e8c8aa3a49b672e18bef5359 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 5 Apr 2024 18:13:23 +0200 Subject: [PATCH] added highlighting all high score entries of the current player --- src/screens.c | 4 ++++ 1 file changed, 4 insertions(+) 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++) -- 2.34.1