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:
@@ -95,7 +95,7 @@ void HUDTargetArrow::SetZoomWindow(Stuff::Scalar left,Stuff::Scalar top,Stuff::S
|
||||
|
||||
void HUDTargetArrow::DrawImplementation(void)
|
||||
{
|
||||
//상훈-깜박임 처리는 어디서 하는지 찾아 볼것.
|
||||
//sanghoon - need to find where blink handling is done.
|
||||
Point3D loc,size;
|
||||
DWORD color;
|
||||
int textx,texty,ty2;
|
||||
@@ -208,7 +208,7 @@ void HUDTargetArrow::DrawImplementation(void)
|
||||
{
|
||||
size = m_Textures[5]->Size ();
|
||||
m_Textures[5]->Draw (Point3D (m_TargetX,m_TargetY,0.9f),size,color);
|
||||
//꺽쇠 네개가 하나로 합쳐진 텍스쳐...
|
||||
//Texture of four angle brackets merged into one...
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -278,7 +278,7 @@ void HUDTorsoBar::DrawImplementation(void)
|
||||
Scalar currentxval,currentyval;
|
||||
Point3D size,loc,texsize;
|
||||
|
||||
//x축을 나타내는 그래프를 그리는 루틴...
|
||||
//Routine to draw the graph representing the x-axis...
|
||||
//_________________________________________________________________________
|
||||
size = TwistSize ();
|
||||
texsize = m_Textures[0]->Size ();
|
||||
@@ -289,7 +289,7 @@ void HUDTorsoBar::DrawImplementation(void)
|
||||
if (currentxval > 0)
|
||||
loc.x += 1.0f;
|
||||
DWORD color = DarkerColor (Color ());
|
||||
//가로 ruler를 그린다.(화살표는 들어있지 않음)
|
||||
//Draw horizontal ruler. (arrows not included)
|
||||
m_Textures[5]->Draw (loc,m_Textures[5]->Size (),color,HUDTexture::NO_FLIP,true);
|
||||
color = Color ();
|
||||
if (currentxval != 0)
|
||||
@@ -315,19 +315,19 @@ void HUDTorsoBar::DrawImplementation(void)
|
||||
ty= (DWORD) (loc.y+size.y+10);
|
||||
if ((currentxval > 5) || (currentxval < -5))
|
||||
{
|
||||
//과도한 twist시에 방향표시해줌..
|
||||
//Shows direction indicator when torso twist is excessive..
|
||||
m_TwistText->Draw (Point3D ((Scalar) tx,(Scalar) ty,0.9f));
|
||||
}
|
||||
//상체표시 사각형..
|
||||
//Upper body indicator rectangle..
|
||||
// Changed Torso Bar from Green to Yellow
|
||||
// MSL 5.00
|
||||
color = MakeColor (255,255,0,250);
|
||||
my_DrawRect (min,(int) loc.y,max,(int) (loc.y+size.y),color);
|
||||
|
||||
color = DarkerColor (Color ());
|
||||
//위쪽, 상체 방향표시 화살표..
|
||||
//Top arrow indicating upper body direction..
|
||||
m_Textures[2]->Draw (Point3D (loc.x-currentxval,loc.y-1,0.9f),texsize,color);
|
||||
//아래쪽. 중심표시 화살표..
|
||||
//Bottom arrow indicating center position..
|
||||
m_Textures[3]->Draw (Point3D (loc.x-1,loc.y+size.y+1,0.9f),texsize,color);
|
||||
// DrawLine ((int) (loc.x-currentxval),(int) (loc.y-1),(int) (loc.x-currentxval),(int) (loc.y+size.y),color);
|
||||
}
|
||||
@@ -339,7 +339,7 @@ void HUDTorsoBar::DrawImplementation(void)
|
||||
// DrawLine ((int) (loc.x),(int) (loc.y-1),(int) (loc.x),(int) (loc.y+size.y),color);
|
||||
}
|
||||
|
||||
//y축을 나타내는 그래프를 그리는 루틴...<==여기는 과도한 상하를 나타내는 텍스트가 없다.
|
||||
//Routine to draw graph for y-axis... <== no excessive up/down text here.
|
||||
//_________________________________________________________________________
|
||||
size = PitchSize ();
|
||||
currentyval = (m_TorsoPitch*size.y)/100.0f; // 33 is the width of the bar
|
||||
@@ -382,7 +382,7 @@ void HUDTorsoBar::DrawImplementation(void)
|
||||
m_Textures[1]->Draw (Point3D (loc.x+size.x,loc.y,0.9f),texsize,color);
|
||||
// DrawLine ((int) (loc.x-1),(int) (loc.y),(int) (loc.x+size.x+2),(int) (loc.y),color);
|
||||
}
|
||||
//끝.. DrawImplementation.
|
||||
//End.. DrawImplementation.
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user