Better branding

This commit is contained in:
momo5502 2022-09-18 08:33:11 +02:00
parent 62c5142b7a
commit b3fa303fdd

View File

@ -15,15 +15,15 @@ namespace branding
{
constexpr auto x = 4;
constexpr auto y = 0;
constexpr auto scale = 0.5f;
float color[4] = {236 / 255.0f, 113 / 255.0f, 10 / 255.0f, 1.0f};
constexpr auto scale = 0.45f;
float color[4] = {0.666f, 0.666f, 0.666f, 0.666f};
auto* font = reinterpret_cast<uint32_t*(*)()>(0x141CAC8E0_g)();
if (!font) return;
game::R_AddCmdDrawText("BOIII: " VERSION, 0x7FFFFFFF, font, static_cast<float>(x),
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);
}
}