summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Font.cpp2
-rw-r--r--src/render/Hud.cpp17
-rw-r--r--src/render/Hud.h2
3 files changed, 11 insertions, 10 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp
index b559ca7a..45ea9ac2 100644
--- a/src/render/Font.cpp
+++ b/src/render/Font.cpp
@@ -358,7 +358,7 @@ CFont::PrintChar(float x, float y, wchar c)
CSprite2d::AddToBuffer(
CRect(x, y + RenderState.scaleY * 4.0f,
x + 32.0f * RenderState.scaleY * xScale * 0.96f,
- y + 4.0f * RenderState.scaleY * + 16.0f * RenderState.scaleY),
+ y + 4.0f * RenderState.scaleY + 16.0f * RenderState.scaleY),
RenderState.color,
xoff / 16.0f, yoff / 12.8f + 0.0021f,
(xoff + 1.0f) / 16.0f - 0.001f, yoff / 12.8f + 0.0021f,
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index e896b871..0d302571 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -188,24 +188,25 @@ struct
{ "", "" },
{ "", "" },
{ "radardisc", "radardisc" },
+ { "radardiscback", "" },
{ "", "" },
{ "", "" },
{ "", "" },
{ "", "" },
{ "", "" },
- { "", "" },
- { "", "" },
- { "", "" },
- { "", "" },
- { "", "" },
- { "", "" },
- { "", "" },
+ { "bar_inside1dark", "" },
+ { "bar_inside2dark", "" },
+ { "hudnumbers", "" },
+ { "bar_inside1", "" },
+ { "bar_inside2", "" },
+ { "bar_outline", "" },
{ "sitesniper", "sitesniperm" },
{ "siteM16", "siteM16m" },
{ "sitelaser", "sitelaserm" },
{ "laserdot", "laserdotm" },
{ "viewfinder_128", "viewfinder_128m" },
- { "bleeder", "" }
+ { "bleeder", "" },
+ { "gren_rem", "noMaskNeeded" }
};
RwTexture *gpSniperSightTex;
diff --git a/src/render/Hud.h b/src/render/Hud.h
index 831c8e0d..b81ac828 100644
--- a/src/render/Hud.h
+++ b/src/render/Hud.h
@@ -44,7 +44,7 @@ enum eSprites
HUD_LASERDOT,
HUD_VIEWFINDER,
HUD_BLEEDER,
- NUM_HUD_SPRITES = 69,
+ NUM_HUD_SPRITES = 70,
};
extern float BigMessageInUse[6];