Fix branding
This commit is contained in:
parent
657919cb71
commit
6d80528025
@ -70,7 +70,7 @@ namespace branding
|
|||||||
constexpr auto x = 4;
|
constexpr auto x = 4;
|
||||||
constexpr auto y = 0;
|
constexpr auto y = 0;
|
||||||
constexpr auto scale = 0.45f;
|
constexpr auto scale = 0.45f;
|
||||||
float color[4] = {0.666f, 0.666f, 0.666f, 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;
|
||||||
@ -79,7 +79,7 @@ namespace branding
|
|||||||
//str += "\n\n" + get_connectivity_info();
|
//str += "\n\n" + get_connectivity_info();
|
||||||
game::R_AddCmdDrawText(str.data(), 0x7FFFFFFF, font, static_cast<float>(x),
|
game::R_AddCmdDrawText(str.data(), 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_MONOSPACESHADOWED);
|
scale, scale, 0.0f, color, game::ITEM_TEXTSTYLE_NORMAL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user