summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinerki <simasadves@gmail.com>2020-05-21 14:46:53 +0200
committerXinerki <simasadves@gmail.com>2020-05-21 14:46:53 +0200
commit3e75de970988fde8ebf2fd05a81399c2e7ba763b (patch)
treecb8edfc9090f235152d0ed79922dbd87ecf66fa1
parentscuffed InitAfterFocusLoss implementation (diff)
downloadre3-3e75de970988fde8ebf2fd05a81399c2e7ba763b.tar
re3-3e75de970988fde8ebf2fd05a81399c2e7ba763b.tar.gz
re3-3e75de970988fde8ebf2fd05a81399c2e7ba763b.tar.bz2
re3-3e75de970988fde8ebf2fd05a81399c2e7ba763b.tar.lz
re3-3e75de970988fde8ebf2fd05a81399c2e7ba763b.tar.xz
re3-3e75de970988fde8ebf2fd05a81399c2e7ba763b.tar.zst
re3-3e75de970988fde8ebf2fd05a81399c2e7ba763b.zip
Diffstat (limited to '')
-rw-r--r--src/render/Hud.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index 7289d70c..7c33ea5b 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -909,7 +909,17 @@ void CHud::Draw()
#else
rect.Translate(RADAR_LEFT, SCREEN_SCALE_FROM_BOTTOM(RADAR_BOTTOM + RADAR_HEIGHT));
#endif
- rect.Grow(4.0f);
+
+ // shadow, might not be exactly accurate numbers
+ rect.Translate(0.f, 4.f);
+ rect.Grow(6.0f);
+ rect.top += 2.f;
+ rect.bottom -= 2.f;
+ Sprites[HUD_RADARDISC].Draw(rect, CRGBA(0, 0, 0, 255));
+
+ rect.Translate(0.f, -4.f);
+ rect.top -= 2.f;
+ rect.bottom += 2.f;
Sprites[HUD_RADARDISC].Draw(rect, RADARDISC_COLOR);
CRadar::DrawBlips();
}