projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e65ad7
)
added highlighting all high score entries of the current player
author
Holger Schemel
<info@artsoft.org>
Fri, 5 Apr 2024 16:13:23 +0000
(18:13 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 5 Apr 2024 16:13:25 +0000
(18:13 +0200)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index adeebb132af4e4117bc8d028af9ee42403b3ecb6..a146ba6113f4310d0ae0390dc8f0cbc15272f394 100644
(file)
--- 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++)