Skip to content

Commit 248d6df

Browse files
committed
Add shadow to city labels
1 parent 73cc93a commit 248d6df

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/worldmap.cc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5413,7 +5413,7 @@ static int wmInterfaceDrawCircleOverlay(CityInfo* city, CitySizeDescription* cit
54135413
name,
54145414
width,
54155415
WM_WINDOW_WIDTH,
5416-
_colorTable[992]);
5416+
_colorTable[992] | FONT_SHADOW);
54175417
}
54185418

54195419
return 0;
@@ -5938,7 +5938,12 @@ static int wmTownMapRefresh()
59385938
if (messageListItem.text != NULL) {
59395939
int width = fontGetStringWidth(messageListItem.text);
59405940
// CE: Slightly increase whitespace between marker and entrance name.
5941-
windowDrawText(wmBkWin, messageListItem.text, width, wmGenData.hotspotNormalFrmImage.getWidth() / 2 + entrance->x - width / 2, wmGenData.hotspotNormalFrmImage.getHeight() + entrance->y + 4, _colorTable[992] | 0x2010000);
5941+
windowDrawText(wmBkWin,
5942+
messageListItem.text,
5943+
width,
5944+
wmGenData.hotspotNormalFrmImage.getWidth() / 2 + entrance->x - width / 2,
5945+
wmGenData.hotspotNormalFrmImage.getHeight() + entrance->y + 4,
5946+
_colorTable[992] | 0x2000000 | FONT_SHADOW);
59425947
}
59435948
}
59445949
}

0 commit comments

Comments
 (0)