Better branding
This commit is contained in:
parent
62c5142b7a
commit
b3fa303fdd
@ -15,15 +15,15 @@ namespace branding
|
|||||||
{
|
{
|
||||||
constexpr auto x = 4;
|
constexpr auto x = 4;
|
||||||
constexpr auto y = 0;
|
constexpr auto y = 0;
|
||||||
constexpr auto scale = 0.5f;
|
constexpr auto scale = 0.45f;
|
||||||
float color[4] = {236 / 255.0f, 113 / 255.0f, 10 / 255.0f, 1.0f};
|
float color[4] = {0.666f, 0.666f, 0.666f, 0.666f};
|
||||||
|
|
||||||
auto* font = reinterpret_cast<uint32_t*(*)()>(0x141CAC8E0_g)();
|
auto* font = reinterpret_cast<uint32_t*(*)()>(0x141CAC8E0_g)();
|
||||||
if (!font) return;
|
if (!font) return;
|
||||||
|
|
||||||
game::R_AddCmdDrawText("BOIII: " VERSION, 0x7FFFFFFF, font, static_cast<float>(x),
|
game::R_AddCmdDrawText("BOIII: " VERSION, 0x7FFFFFFF, font, static_cast<float>(x),
|
||||||
y + static_cast<float>(font[2]) * scale,
|
y + static_cast<float>(font[2]) * scale,
|
||||||
scale, scale, 0.0f, color, game::ITEM_TEXTSTYLE_SHADOWEDMORE);
|
scale, scale, 0.0f, color, game::ITEM_TEXTSTYLE_NORMAL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user