Chat component
This commit is contained in:
parent
2b15c3ec62
commit
bfbfc9ea30
@ -30,14 +30,14 @@ namespace chat
|
|||||||
}
|
}
|
||||||
|
|
||||||
// use better font
|
// use better font
|
||||||
utils::hook::call(0x1400AA831, ui_get_font_handle_stub);
|
utils::hook::inject(0x0F6F61_b, reinterpret_cast<void*>(0x2E6F588_b));
|
||||||
utils::hook::call(0x14024800C, ui_get_font_handle_stub);
|
utils::hook::inject(0x18A980_b, reinterpret_cast<void*>(0x2E6F588_b));
|
||||||
utils::hook::call(0x14024F573, ui_get_font_handle_stub);
|
utils::hook::call(0x33EDEC_b, ui_get_font_handle_stub);
|
||||||
|
|
||||||
// set text style to 0 (non-blurry)
|
// set text style to 0 (non-blurry)
|
||||||
utils::hook::set<uint8_t>(0x14024F5DD, 0);
|
utils::hook::set<uint8_t>(0x18A9F2_b, 0);
|
||||||
utils::hook::set<uint8_t>(0x1400AAA1C, 0);
|
utils::hook::set<uint8_t>(0x0F7151_b, 0);
|
||||||
utils::hook::set<uint8_t>(0x14024802E, 0);
|
utils::hook::set<uint8_t>(0x33EE0E_b, 0);
|
||||||
|
|
||||||
localized_strings::override("EXE_SAY", "^3Match^7");
|
localized_strings::override("EXE_SAY", "^3Match^7");
|
||||||
localized_strings::override("EXE_SAYTEAM", "^5Team^7");
|
localized_strings::override("EXE_SAYTEAM", "^5Team^7");
|
||||||
@ -49,4 +49,4 @@ namespace chat
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
//REGISTER_COMPONENT(chat::component)
|
REGISTER_COMPONENT(chat::component)
|
||||||
|
Loading…
Reference in New Issue
Block a user