mirror of
https://github.com/halpz/re3.git
synced 2024-12-28 18:35:29 +00:00
fixed radar rendering
This commit is contained in:
parent
06c761e9ac
commit
2e3cb77702
|
@ -920,16 +920,10 @@ void CHud::Draw()
|
||||||
rect.Translate(RADAR_LEFT, SCREEN_SCALE_FROM_BOTTOM(RADAR_BOTTOM + RADAR_HEIGHT));
|
rect.Translate(RADAR_LEFT, SCREEN_SCALE_FROM_BOTTOM(RADAR_BOTTOM + RADAR_HEIGHT));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// shadow, might not be exactly accurate numbers
|
|
||||||
rect.Translate(0.f, 4.f);
|
|
||||||
rect.Grow(6.0f);
|
rect.Grow(6.0f);
|
||||||
rect.top += 2.f;
|
rect.Translate(0.0f, 2.0f);
|
||||||
rect.bottom -= 2.f;
|
|
||||||
Sprites[HUD_RADARDISC].Draw(rect, CRGBA(0, 0, 0, 255));
|
Sprites[HUD_RADARDISC].Draw(rect, CRGBA(0, 0, 0, 255));
|
||||||
|
rect.Translate(0.0f, -2.0f);
|
||||||
rect.Translate(0.f, -4.f);
|
|
||||||
rect.top -= 2.f;
|
|
||||||
rect.bottom += 2.f;
|
|
||||||
Sprites[HUD_RADARDISC].Draw(rect, RADARDISC_COLOR);
|
Sprites[HUD_RADARDISC].Draw(rect, RADARDISC_COLOR);
|
||||||
CRadar::DrawBlips();
|
CRadar::DrawBlips();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue