diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-22 04:49:17 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-22 04:49:17 +0100 |
commit | 8dab92d158be70e49b9fff04f7187023aa1cf3c3 (patch) | |
tree | 595da8f58e3350fa71fb752cbeeb89024faa5c61 /src/render | |
parent | Load LCS radar blips (diff) | |
download | re3-8dab92d158be70e49b9fff04f7187023aa1cf3c3.tar re3-8dab92d158be70e49b9fff04f7187023aa1cf3c3.tar.gz re3-8dab92d158be70e49b9fff04f7187023aa1cf3c3.tar.bz2 re3-8dab92d158be70e49b9fff04f7187023aa1cf3c3.tar.lz re3-8dab92d158be70e49b9fff04f7187023aa1cf3c3.tar.xz re3-8dab92d158be70e49b9fff04f7187023aa1cf3c3.tar.zst re3-8dab92d158be70e49b9fff04f7187023aa1cf3c3.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Font.cpp | 2 | ||||
-rw-r--r-- | src/render/Hud.cpp | 17 | ||||
-rw-r--r-- | src/render/Hud.h | 2 |
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]; |