🛠️ refactor(strings): converted hex-escaped Korean strings to UTF-8 literals
This commit is contained in:
parent
e690233c8d
commit
b1b73cc318
3 changed files with 3 additions and 4 deletions
|
|
@ -65,8 +65,7 @@ bool C3dModelResV2::Load(const char* name) {
|
|||
input.Read(magic, 4);
|
||||
|
||||
if (std::strcmp(magic, "GRSM") != 0) {
|
||||
constexpr char message[] = "\xB8\xF0\xB5\xA8\xC6\xC4\xC0\xCF\xC0\xCC \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9. \xC7\xFC\xBD\xC4\xC0\xBB "
|
||||
"\xB4\xD9\xBD\xC3\xC7\xD1\xB9\xF8 \xC8\xAE\xC0\xCE\xC7\xD8\xC1\xD6\xBC\xBC\xBF\xE4.";
|
||||
constexpr char message[] = "모델파일이 아닙니다. 형식을 다시한번 확인해주세요.";
|
||||
ShowErrorDialog(this->m_context->renderSystem, message, 0);
|
||||
file.Close();
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#include <cstring>
|
||||
|
||||
namespace {
|
||||
constexpr char prefix[] = "\xC0\xAF\xC0\xFA\xC0\xCE\xC5\xCD\xC6\xE4\xC0\xCC\xBD\xBA\\";
|
||||
constexpr char prefix[] = "유저인터페이스\\";
|
||||
}
|
||||
|
||||
// OFFSET: 0x008C73C0
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ void UIBasicButton::Paint() {
|
|||
|
||||
if (this->m_disabled == 1 || this->geometry.unknown_0030 <= 2) {
|
||||
static constexpr const char* skins[] = {"out", "over", "press", "disable"};
|
||||
const std::string prefix = std::string("\xC0\xAF\xC0\xFA\xC0\xCE\xC5\xCD\xC6\xE4\xC0\xCC\xBD\xBA\\basic_interface\\btn_") + skins[state];
|
||||
const std::string prefix = std::string("유저인터페이스\\basic_interface\\btn_") + skins[state];
|
||||
const auto drawBitmap = [&](const char* suffix, int x) {
|
||||
auto* bitmap = static_cast<CBitmapRes*>(this->m_buttonContext->resources.Load((prefix + suffix).c_str()));
|
||||
this->DrawBitmap(x, 0, bitmap ? &bitmap->image : nullptr, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue