Модератор форума
-
Автор темы
- #1
C++:
auto get_foreign_fallback_font_name = utils::pattern_scan("vguimatsurface.dll", "80 3D ? ? ? ? ? 74 06 B8");
const char* hooked_get_foreign_fallback_font_name()
{
return g_surface_font_name;
}
bool drawmanager::setup_font(unsigned long& font, const char* windows_font_name, int tall, int weight, int blur, int scanlines, int flags, int range_min, int range_max) {
g_surface_font_name = windows_font_name;
font = g_surface->create_font();
return g_surface->set_font_glyph_set(font, windows_font_name, tall, weight, blur, scanlines, flags, range_min, range_max);
}