Branding adjustments

This commit is contained in:
fed 2023-02-28 18:50:11 +01:00
parent d6714ab799
commit f4ee252daa
2 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ namespace branding
game::rectDef_s text_rect{}; game::rectDef_s text_rect{};
game::UI_DrawWrappedText(placement, "h2-mod", &rect, font, game::UI_DrawWrappedText(placement, "h2-mod", &rect, font,
5.f, 13.f, 0.20f, color, 0, 0, &text_rect, 0); 5.f, 12.f, 0.17f, color, 0, 0, &text_rect, 0);
} }
} }

View File

@ -267,10 +267,10 @@ namespace fps
const auto font = fps_font; const auto font = fps_font;
const auto fps_string = utils::string::va("%i", fps); const auto fps_string = utils::string::va("%i", fps);
const auto x = screen_max[0] - 10.f - game::R_TextWidth(fps_string, 0x7FFFFFFF, font); const auto x = screen_max[0] - 15.f - game::R_TextWidth(fps_string, 0x7FFFFFFF, font);
const auto color = fps >= 60 ? fps_color_good : (fps >= 30 ? fps_color_ok : fps_color_bad); const auto color = fps >= 60 ? fps_color_good : (fps >= 30 ? fps_color_ok : fps_color_bad);
game::R_AddCmdDrawText(fps_string, 0x7FFFFFFF, font, x, 30.f, 1.0f, 1.0f, 0.0f, color, 1); game::R_AddCmdDrawText(fps_string, 0x7FFFFFFF, font, x, 35.f, 1.0f, 1.0f, 0.0f, color, 1);
} }
void draw_pos() void draw_pos()