From b1b73cc31828746068dfef81f8b613237d10d8e8 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 27 Oct 2026 09:47:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20refactor(strings):=20co?= =?UTF-8?q?nverted=20hex-escaped=20Korean=20strings=20to=20UTF-8=20literal?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/Resource/Models/ModelResourceV2.cpp | 3 +-- Source/UI/Acceptance/UIChooseSellBuyWnd.cpp | 2 +- Source/UI/Buttons/UIBasicButton.cpp | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/Resource/Models/ModelResourceV2.cpp b/Source/Resource/Models/ModelResourceV2.cpp index e3f4ed0..45daf08 100644 --- a/Source/Resource/Models/ModelResourceV2.cpp +++ b/Source/Resource/Models/ModelResourceV2.cpp @@ -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(); diff --git a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp index d02159a..0192af7 100644 --- a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp +++ b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp @@ -10,7 +10,7 @@ #include namespace { - constexpr char prefix[] = "\xC0\xAF\xC0\xFA\xC0\xCE\xC5\xCD\xC6\xE4\xC0\xCC\xBD\xBA\\"; + constexpr char prefix[] = "유저인터페이스\\"; } // OFFSET: 0x008C73C0 diff --git a/Source/UI/Buttons/UIBasicButton.cpp b/Source/UI/Buttons/UIBasicButton.cpp index c7846a3..497f6e1 100644 --- a/Source/UI/Buttons/UIBasicButton.cpp +++ b/Source/UI/Buttons/UIBasicButton.cpp @@ -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(this->m_buttonContext->resources.Load((prefix + suffix).c_str())); this->DrawBitmap(x, 0, bitmap ? &bitmap->image : nullptr, false);