Translate Korean comments/strings to English; fix UTF-8 encoding across source tree
Korean translation (84 source files, 876 lines): - Translated all EUC-KR/CP949 Korean developer comments to English across 84 source files in Gameleap/code/. Zero Korean bytes remain outside the intentional font-table headers (D3FFontEdit2/fontedit all.h etc.). - Comment markers: //상훈 앞/뒤 -> //sanghoon begin/end (Sang-hun's code region markers); //상훈짱 begin/end, //상훈.. variants; // 鉉 -> // hyun (second developer's markers); // 鉉 - start/end patterns. - Functional string translations in recscore.cpp (mw4 + mw4print copies): body-part return values (왼발/오른발/etc. -> Left Leg/Right Leg/etc.), kill-announcer format strings (~30 entries), and the nonmfc.h assert dialog. - GosView profiler: 킪 -> us (microseconds) in timing display strings. - Network/socket code (ctcl.cpp, mugsocs.h, ctime.cpp across Launcher/ MW4Application/MW4GameEd2/AnimScript): state-machine comments, socket ID comments, login/session management comments. - render.hpp CHSH_Device member comments; GUIRadarManager.cpp drawing routine comments; hudchat/hudcomp2/huddamage/hudmap/hudweapon/hudtarg HUD component comments. - DXRasterizer.cpp: cleaned residual U+FFFD replacement characters left from a prior partial encoding conversion. UTF-8 encoding cleanup (76+ files): - Latin-1 single bytes converted to proper UTF-8 multi-byte sequences: © (0xA9) in 3dsmax4/Maxscrpt Autodesk/Wainwright copyright headers, ® (0xAE) in gosHelp/Remote.cpp, · (0xB7) bullet points in ai command.hpp, Û (0xDB) in SafeChain_Test.cpp tool header, ß (0xDF) in AnimationSuite version strings (8 files). - Font lookup tables (D3FFontEdit2/, fontedit/ *.h) intentionally left as-is: raw byte values are C array data, not text. Language DLL: - Replaced Gameleap/mw4/Language.dll (original Korean binary) and MW4/Language.dll with freshly built English version from Language - Win32 English config (Language.dsp). Fixes Korean button labels in the GameOS exception/crash dialog (??? ??... / ?? / ??? were showing instead of More Details.../Continue/Exit).
This commit is contained in:
@@ -230,13 +230,13 @@ extern int g_nTeamOrderMode;
|
||||
extern bool g_bCOOP; // COin OPeration
|
||||
// jcem - end
|
||||
|
||||
// 鉉 - start
|
||||
// hyun begin
|
||||
extern void __stdcall RIO_StartStop (BOOL bStart);
|
||||
void COOP_InputMode(bool bRestore);
|
||||
extern int g_bNoPlasma;
|
||||
extern void __stdcall PLASMA_Do(int nMode);
|
||||
extern void GeneralReset();
|
||||
// 鉉 - end
|
||||
// hyun end
|
||||
|
||||
extern bool __stdcall gos_NetDoneStartGame();
|
||||
extern bool __stdcall PrepareDefaultServerAdvertisers(void);
|
||||
@@ -1938,9 +1938,9 @@ public:
|
||||
void EndPos (DWORD& x,DWORD& y);
|
||||
bool Empty (void)
|
||||
{ return (m_Text[0] == 0); }
|
||||
//상훈 앞
|
||||
//sanghoon begin
|
||||
const char *hsh_get_m_Text(){return &m_Text[0];}
|
||||
//상훈 뒤
|
||||
//sanghoon end
|
||||
};
|
||||
|
||||
TextBox::TextBox (const char* pcszFontName, int nFontSize/* = -11*/, bool oldmode/* = false*/)
|
||||
@@ -3571,9 +3571,9 @@ void
|
||||
}
|
||||
Environment.DoGameLogic = &MWApplication::DoGameLogic;
|
||||
}
|
||||
// 鉉 - start
|
||||
// hyun begin
|
||||
RIO_StartStop (TRUE);
|
||||
// 鉉 - end
|
||||
// hyun end
|
||||
|
||||
g_MRF.Started(); // jcem
|
||||
g_RSF.Started(); // jcem
|
||||
@@ -3696,9 +3696,9 @@ void
|
||||
g_RSF.Stopping(); // jcem
|
||||
|
||||
ClearTOC();
|
||||
// 鉉 - start
|
||||
// hyun begin
|
||||
RIO_StartStop (FALSE);
|
||||
// 鉉 - end
|
||||
// hyun end
|
||||
if (CTCL_IsConsoleX()) {
|
||||
CTCL_SetGameState(_EGS_Closing);
|
||||
}
|
||||
@@ -3870,9 +3870,9 @@ sh_game_started = false;
|
||||
g_RSF.Stopping(); // jcem
|
||||
|
||||
ClearTOC();
|
||||
// 鉉 - start
|
||||
// hyun begin
|
||||
RIO_StartStop (FALSE);
|
||||
// 鉉 - end
|
||||
// hyun end
|
||||
if (CTCL_IsConsoleX()) {
|
||||
CTCL_SetGameState(_EGS_Closing);
|
||||
}
|
||||
@@ -18435,7 +18435,7 @@ int __stdcall CTCL_StartCOOP(void* instance, int args, void* data[])
|
||||
// $$COOP: see void CSOC_Client::OnReadyStartGame()
|
||||
// C_ReadyStartGame
|
||||
|
||||
g_nTeslas = 0; // 싱글 게임
|
||||
g_nTeslas = 0; // single player game
|
||||
g_nBOTs = 7;
|
||||
g_nPlayerInfos = 1 + g_nBOTs + g_nTeslas;
|
||||
g_bIsServer = TRUE;
|
||||
@@ -18523,13 +18523,13 @@ int __stdcall CTCL_StartCOOP(void* instance, int args, void* data[])
|
||||
// MSL ADD MECH
|
||||
PI.m_nMechIndex = -1;
|
||||
//*
|
||||
// 각 메크에 대한 정보는 MechIndex를 참조함
|
||||
// See MechIndex for each mech's info
|
||||
PI.m_fileID = 0;
|
||||
PI.m_recordID = 0;
|
||||
strcpy(PI.m_szMech, s_paMechNames[11]); // Madcat
|
||||
strcpy(PI.m_szMech, "$Yellow");
|
||||
//*/
|
||||
PI.m_nTeamOrSkin = 1; // 빨강
|
||||
PI.m_nTeamOrSkin = 1; // red
|
||||
PI.m_nDecal = 1; // nDecal;
|
||||
PI.m_dwAddr = 0; // dwAddr;
|
||||
g_nPrintOut = FALSE;
|
||||
@@ -18576,7 +18576,7 @@ int __stdcall CTCL_StartCOOP(void* instance, int args, void* data[])
|
||||
strcpy(PI.m_szName, s_pNames[aLBN[2][i - 1]]);
|
||||
PI.m_nMechIndex = -1;
|
||||
//*
|
||||
//각 메크에 대한 정보는 MechIndex를 참조함
|
||||
//See MechIndex for each mech's info
|
||||
PI.m_fileID = 0;
|
||||
PI.m_recordID = 0;
|
||||
/*if (i == 1)
|
||||
|
||||
Reference in New Issue
Block a user