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:
@@ -13,7 +13,7 @@
|
||||
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
|
||||
//===========================================================================//
|
||||
|
||||
// 鉉 - start
|
||||
// hyun begin
|
||||
#include "MW4.hpp"
|
||||
#include "Vehicle.hpp"
|
||||
#include "MechAnimationState.hpp"
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "SpringOf.hpp"
|
||||
#include "MechLabHeaders.h"
|
||||
#include <Stuff\Spline.hpp>
|
||||
// 鉉 - end
|
||||
// hyun end
|
||||
|
||||
|
||||
#include "MW4Headers.hpp"
|
||||
@@ -65,9 +65,9 @@
|
||||
#include "EyePointManager.hpp"
|
||||
#include "mw4shell.hpp"
|
||||
#include "NavPoint.hpp"
|
||||
//상훈 앞
|
||||
//sanghoon begin
|
||||
#include "MWVideoRenderer.hpp"
|
||||
//상훈 뒤
|
||||
//sanghoon end
|
||||
|
||||
#include <Adept\CollisionGrid.hpp>
|
||||
#include <Adept\Controls.hpp>
|
||||
@@ -101,7 +101,7 @@ bool _stdcall WriteImageAfterGrab(BYTE* Image, const char* pcszFilePrefix);
|
||||
#include <mbstring.h>
|
||||
#define __mbsrchr(s,c) (char*)_mbsrchr((const unsigned char*)(s),(c))
|
||||
|
||||
// 鉉 - start
|
||||
// hyun begin
|
||||
#include <windows.h>
|
||||
|
||||
#include "ctcls.h"
|
||||
@@ -208,7 +208,7 @@ float g_fNeedFlushLevel = 0.66;
|
||||
float g_fTimeMsgSender = 1.5f;
|
||||
float g_fTimeScoringAtEnd = 10.0f;
|
||||
Mech* FindNextMechToFollowByScore(Mech* pCur); // jcem
|
||||
// 鉉 - end
|
||||
// hyun end
|
||||
|
||||
CamerashipParams g_CamerashipParams;
|
||||
|
||||
@@ -2285,7 +2285,7 @@ void
|
||||
if (MWGUIManager::GetInstance () && IsObserving(true))
|
||||
{
|
||||
Check_Object(MWGUIManager::GetInstance());
|
||||
//상훈
|
||||
//sanghoon
|
||||
if (!CTCL_IsConsoleX() && !g_CamerashipParams.m_bAllowChatDisplay) {
|
||||
HUDChat *chat;
|
||||
chat = Cast_Object (HUDChat *,MWGUIManager::GetInstance ()->Component (MWGUIManager::HUD_CHAT));
|
||||
@@ -3781,11 +3781,11 @@ void VehicleInterface::ApplyControls(Time till)
|
||||
}
|
||||
else if (controlPacket.lookCommand == AnalogControlSave::LookBack)
|
||||
{
|
||||
//상훈
|
||||
//sanghoon
|
||||
ShowHUDIfOn(true);
|
||||
//MWGUIManager::GetInstance()->HideHudComponent (HUD_TARGETARROW);
|
||||
//ShowHUDIfOn(false);
|
||||
//상훈
|
||||
//sanghoon
|
||||
// MSL 5.04 Rear Firing Weapons
|
||||
// ShowStatic(cameraView == InMechCameraView);
|
||||
ShowStatic(true);
|
||||
@@ -4968,7 +4968,7 @@ void
|
||||
Scalar fT = gos_GetElapsedTime();
|
||||
if ((fT - g_fLastScoringTimeCechk) >= CAMERASHIP_SCORING_CHECK) {
|
||||
g_fLastScoringTimeCechk = fT;
|
||||
//상훈
|
||||
//sanghoon
|
||||
if (Application::GetInstance()->networkingFlag)
|
||||
{
|
||||
bool bNearEnd = false;
|
||||
@@ -5378,7 +5378,7 @@ again:
|
||||
if ((m_curView == STATE_DEATH_SEQUENCE_START) || (m_curView == STATE_DEATH_SEQUENCE_TRANS)) {
|
||||
bool bStateEnded = false;
|
||||
if (m_pMechDying != pMech) {
|
||||
// 죽는 도중에 타겟이 바뀐 경우
|
||||
// Case where target changes while dying
|
||||
ClearFixedPoint();
|
||||
m_fTimeStateEnd = fMT + g_CamerashipParams.m_fTimeStandard;
|
||||
m_pMechDying = m_pEnemy = NULL;
|
||||
@@ -5419,7 +5419,7 @@ again:
|
||||
}
|
||||
if ((m_pEnemy != m_pMechDying) && m_pEnemy->IsDestroyed()) {
|
||||
if (m_curView == STATE_DEATH_SEQUENCE_START) {
|
||||
// 죽음을 보여주는 도중에 상대방이 죽은 경우...
|
||||
// Case where opponent dies while death animation is playing...
|
||||
// move to trans...
|
||||
bStateEnded = true;
|
||||
}
|
||||
@@ -7495,7 +7495,7 @@ void
|
||||
// MSL 5.02 Zoom
|
||||
// m_reticuleCamera->SetPerspective(near_clip_zoom, far_clip_main + (100.0f * (horizontal_fov_main - horizontal_fov_zoom)), horizontal_fov_zoom, (height_to_width_zoom));
|
||||
m_reticuleCamera->SetPerspective(near_clip_zoom, far_clip_main + (100.0f * (horizontal_fov_main - horizontal_fov_zoom)), horizontal_fov_zoom, (height_to_width_zoom*1.75));
|
||||
//상훈
|
||||
//sanghoon
|
||||
// float height=(1-g_fZoomMarginLR*2)*800 * height_to_width_zoom/600;
|
||||
// float tb_margin=(1-height)/2;
|
||||
// m_reticuleCamera->SetViewport(1-g_fZoomMarginLR,1-tb_margin, g_fZoomMarginLR, tb_margin);
|
||||
@@ -8121,7 +8121,7 @@ void VehicleInterface::ChainFireGroup (Stuff::Time till,ChainIteratorOf<Weapon *
|
||||
}
|
||||
|
||||
//
|
||||
// 鉉 - start
|
||||
// hyun begin
|
||||
|
||||
groupWeaponIterator->ReadAndNext();
|
||||
|
||||
@@ -8135,7 +8135,7 @@ void VehicleInterface::ChainFireGroup (Stuff::Time till,ChainIteratorOf<Weapon *
|
||||
BOOL bWeaponGroup3 = (group3FireRequest > 0) && GetWeaponGroupID (*weapon, 3);
|
||||
|
||||
//
|
||||
// 鉉 - end
|
||||
// hyun end
|
||||
//
|
||||
|
||||
num_weapons ++;
|
||||
@@ -8369,7 +8369,7 @@ void
|
||||
}
|
||||
}
|
||||
*/
|
||||
// fireRequest > 0 (Enter Key : None Used) : 鉉
|
||||
// fireRequest > 0 (Enter Key : None Used) : hyun
|
||||
if(fireRequest > 0)
|
||||
{
|
||||
switch(weaponMode)
|
||||
@@ -8521,12 +8521,12 @@ void VehicleInterface::OverrideAutoCenterToTorsoMessageHandler(Adept::ReceiverDa
|
||||
Verify(message->messageID == OverrideAutoCenterToTorsoMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (28, LAMP_OFF); // 鉉
|
||||
g_pRIOMain->SetLampState (28, LAMP_OFF); // hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (28, LAMP_BRIGHT); // 鉉
|
||||
g_pRIOMain->SetLampState (28, LAMP_BRIGHT); // hyun
|
||||
|
||||
if (perminateTorsoMode == CenterLegsToTorso)
|
||||
{
|
||||
@@ -8539,7 +8539,7 @@ void VehicleInterface::OverrideAutoCenterToTorsoMessageHandler(Adept::ReceiverDa
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (28, LAMP_DEFAULT); // 鉉
|
||||
g_pRIOMain->SetLampState (28, LAMP_DEFAULT); // hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8658,11 +8658,11 @@ void
|
||||
}
|
||||
}
|
||||
|
||||
g_pRIOMain->SetLampState (17, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (17, LAMP_BRIGHT);// hyun
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (17, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (17, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8749,17 +8749,17 @@ void
|
||||
Verify(message->messageID == CrouchCommandMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (20, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (20, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (20, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (20, LAMP_BRIGHT);// hyun
|
||||
// if (executionState->GetState () == ExecutionStateEngine::AutoPilotState)
|
||||
executionState->RequestState(ExecutionStateEngine::AlwaysExecuteState);
|
||||
QueCommand(VehicleCommand::CrouchCommand);
|
||||
} else {
|
||||
g_pRIOMain->SetLampState (20, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (20, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -8786,10 +8786,10 @@ void
|
||||
|
||||
if (GetShutdownState()) {
|
||||
if (g_bJumpZoom)
|
||||
g_pRIOMain->SetLampState (16, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (16, LAMP_OFF);// hyun
|
||||
g_pRIOMain->SetLampState (50, LAMP_OFF);
|
||||
g_pRIOMain->SetLampState (33, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (34, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (33, LAMP_OFF);// hyun
|
||||
g_pRIOMain->SetLampState (34, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -8797,7 +8797,7 @@ void
|
||||
{
|
||||
if (GetJumpJetState() > 0) {
|
||||
if (g_bJumpZoom)
|
||||
g_pRIOMain->SetLampState (16, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (16, LAMP_BRIGHT);// hyun
|
||||
g_pRIOMain->SetLampState (33, LAMP_BRIGHT);
|
||||
g_pRIOMain->SetLampState (34, LAMP_BRIGHT);
|
||||
}
|
||||
@@ -8811,10 +8811,10 @@ void
|
||||
if (!GetShutdownState())
|
||||
if (GetJumpJetState() > 0) {
|
||||
if (g_bJumpZoom)
|
||||
g_pRIOMain->SetLampState (16, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (16, LAMP_DEFAULT);// hyun
|
||||
g_pRIOMain->SetLampState (50, LAMP_DEFAULT);
|
||||
g_pRIOMain->SetLampState (33, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (34, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (33, LAMP_DEFAULT);// hyun
|
||||
g_pRIOMain->SetLampState (34, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9284,12 +9284,12 @@ void
|
||||
}
|
||||
|
||||
if (!GetShutdownState())
|
||||
g_pRIOMain->SetLampState (7, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (7, LAMP_BRIGHT);// hyun
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!GetShutdownState())
|
||||
g_pRIOMain->SetLampState (7, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (7, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
*/
|
||||
}
|
||||
@@ -9341,7 +9341,7 @@ void
|
||||
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
//鉉SetWeaponMode(GroupFireMode);
|
||||
//hyun SetWeaponMode(GroupFireMode);
|
||||
// selectedWeaponGroup = 1;
|
||||
group1FireRequest ++;
|
||||
// fireRequest ++;
|
||||
@@ -9379,7 +9379,7 @@ void
|
||||
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
//鉉SetWeaponMode(GroupFireMode);
|
||||
//hyun SetWeaponMode(GroupFireMode);
|
||||
// selectedWeaponGroup = 2;
|
||||
group2FireRequest ++;
|
||||
// fireRequest ++;
|
||||
@@ -9415,7 +9415,7 @@ void
|
||||
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
//鉉SetWeaponMode(GroupFireMode);
|
||||
//hyun SetWeaponMode(GroupFireMode);
|
||||
// selectedWeaponGroup = 3;
|
||||
// fireRequest ++;
|
||||
group3FireRequest ++;
|
||||
@@ -9468,7 +9468,7 @@ void
|
||||
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
//鉉SetWeaponMode(GroupFireMode);
|
||||
//hyun SetWeaponMode(GroupFireMode);
|
||||
// selectedWeaponGroup = 4;
|
||||
// fireRequest ++;
|
||||
// group4FireRequest ++;
|
||||
@@ -9508,7 +9508,7 @@ void
|
||||
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
//鉉SetWeaponMode(GroupFireMode);
|
||||
//hyun SetWeaponMode(GroupFireMode);
|
||||
// selectedWeaponGroup = 5;
|
||||
// fireRequest ++;
|
||||
// group5FireRequest ++;
|
||||
@@ -9554,7 +9554,7 @@ void
|
||||
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
//鉉SetWeaponMode(GroupFireMode);
|
||||
//hyun SetWeaponMode(GroupFireMode);
|
||||
//group6FireRequest ++;
|
||||
}
|
||||
else
|
||||
@@ -10344,19 +10344,19 @@ void
|
||||
Verify(message->messageID == ToggleSearchLightMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (27, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (27, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
if (g_SearchLight == TRUE)
|
||||
g_pRIOMain->SetLampState (27, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (27, LAMP_BRIGHT);// hyun
|
||||
QueCommand(VehicleCommand::ToggleSearchLightCommand);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (g_SearchLight == TRUE)
|
||||
g_pRIOMain->SetLampState (27, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (27, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10546,7 +10546,7 @@ void
|
||||
{
|
||||
//if (!GetShutdownState())
|
||||
//if (g_bCool == TRUE) {
|
||||
// g_pRIOMain->SetLampState (19, LAMP_BRIGHT);// 鉉
|
||||
// g_pRIOMain->SetLampState (19, LAMP_BRIGHT);// hyun
|
||||
//}
|
||||
|
||||
isCooling ++;
|
||||
@@ -10560,7 +10560,7 @@ void
|
||||
{
|
||||
//if (!GetShutdownState())
|
||||
//if (g_bCool == TRUE) {
|
||||
// g_pRIOMain->SetLampState (19, LAMP_DEFAULT);// 鉉
|
||||
// g_pRIOMain->SetLampState (19, LAMP_DEFAULT);// hyun
|
||||
//}
|
||||
|
||||
isCooling --;
|
||||
@@ -10734,7 +10734,7 @@ void
|
||||
|
||||
if (GetShutdownState())
|
||||
{
|
||||
g_pRIOMain->SetLampState (26, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (26, LAMP_OFF);// hyun
|
||||
g_pRIOMain->SetLampState (48, LAMP_OFF); // Light Amp Lamp MFD
|
||||
return;
|
||||
}
|
||||
@@ -10759,7 +10759,7 @@ void
|
||||
MWGUIManager::GetInstance()->ShowLightAmplification();
|
||||
Mission::GetInstance()->SetLightAmpMissionLights();
|
||||
ShowZoomIfOn (false);
|
||||
g_pRIOMain->SetLampState (26, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (26, LAMP_BRIGHT);// hyun
|
||||
if (!g_bJumpZoom)
|
||||
{
|
||||
if (g_pRIOMain->GetLampState (16) == LAMP_BRIGHT)
|
||||
@@ -10773,12 +10773,12 @@ void
|
||||
{
|
||||
if(vehicle->DoesHaveLightAmp())
|
||||
{
|
||||
g_pRIOMain->SetLampState (26, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (26, LAMP_DEFAULT);// hyun
|
||||
g_pRIOMain->SetLampState (48, LAMP_DEFAULT); // Light Amp Lamp MFD
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (26, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (26, LAMP_OFF);// hyun
|
||||
g_pRIOMain->SetLampState (48, LAMP_OFF); // Light Amp Lamp MFD
|
||||
}
|
||||
}
|
||||
@@ -10864,12 +10864,12 @@ void
|
||||
Verify(message->messageID == NextNavPointMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (38, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (38, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (38, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (38, LAMP_BRIGHT);// hyun
|
||||
m_selectedNavPoint.Remove();
|
||||
NavPoint *nav_point;
|
||||
if((nav_point = NavPoint::GetNextNavPoint()) != NULL)
|
||||
@@ -10890,7 +10890,7 @@ void
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (38, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (38, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10915,12 +10915,12 @@ void
|
||||
Verify(message->messageID == PreviousNavPointMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (37, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (37, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (37, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (37, LAMP_BRIGHT);// hyun
|
||||
m_selectedNavPoint.Remove();
|
||||
NavPoint *nav_point;
|
||||
if((nav_point = NavPoint::GetPreviousNavPoint()) != NULL)
|
||||
@@ -10936,7 +10936,7 @@ void
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (37, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (37, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10961,12 +10961,12 @@ void
|
||||
Verify(message->messageID == NextEnemyMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (10, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (10, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (10, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (10, LAMP_BRIGHT);// hyun
|
||||
Entity *next_enemy = NULL;
|
||||
Sensor *sensor = vehicle->GetSensor();
|
||||
if(sensor)
|
||||
@@ -10978,7 +10978,7 @@ void
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (10, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (10, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11003,12 +11003,12 @@ void
|
||||
Verify(message->messageID == PreviousEnemyMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (9, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (9, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (9, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (9, LAMP_BRIGHT);// hyun
|
||||
Entity *next_enemy = NULL;
|
||||
Sensor *sensor = vehicle->GetSensor();
|
||||
if(sensor)
|
||||
@@ -11020,7 +11020,7 @@ void
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (9, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (9, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11045,12 +11045,12 @@ void
|
||||
Verify(message->messageID == NearestEnemyMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (11, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (11, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (11, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (11, LAMP_BRIGHT);// hyun
|
||||
m_interfaceTarget.Remove();
|
||||
m_targetCamera->SetScene(NULL);
|
||||
Entity *entity = NULL;
|
||||
@@ -11065,7 +11065,7 @@ void
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (11, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (11, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11232,12 +11232,12 @@ void
|
||||
|
||||
if (GetShutdownState())
|
||||
{
|
||||
g_pRIOMain->SetLampState (8, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (8, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (8, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (8, LAMP_BRIGHT);// hyun
|
||||
|
||||
Entity *target_entity;
|
||||
target_entity = targetQueryEntity.GetCurrent();
|
||||
@@ -11260,7 +11260,7 @@ void
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (8, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (8, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11285,12 +11285,12 @@ void
|
||||
Verify(message->messageID == NextFriendlyMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (14, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (14, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (14, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (14, LAMP_BRIGHT);// hyun
|
||||
Entity *next_friendly = NULL;
|
||||
Sensor *sensor = vehicle->GetSensor();
|
||||
if(sensor)
|
||||
@@ -11303,7 +11303,7 @@ void
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (14, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (14, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11328,12 +11328,12 @@ void
|
||||
Verify(message->messageID == PreviousFriendlyMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (13, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (13, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (13, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (13, LAMP_BRIGHT);// hyun
|
||||
Entity *next_friendly = NULL;
|
||||
Sensor *sensor = vehicle->GetSensor();
|
||||
if(sensor)
|
||||
@@ -11346,7 +11346,7 @@ void
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (13, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (13, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11371,12 +11371,12 @@ void
|
||||
Verify(message->messageID == NearestFriendlyMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (15, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (15, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (15, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (15, LAMP_BRIGHT);// hyun
|
||||
Entity *entity = NULL;
|
||||
Sensor *sensor = vehicle->GetSensor();
|
||||
if(sensor)
|
||||
@@ -11388,7 +11388,7 @@ void
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (15, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (15, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11478,7 +11478,7 @@ void VehicleInterface::OverrideShutdownMessageHandler(Adept::ReceiverDataMessage
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
//if (!GetShutdownState())
|
||||
// g_pRIOMain->SetLampState (18, LAMP_BRIGHT);// 鉉
|
||||
// g_pRIOMain->SetLampState (18, LAMP_BRIGHT);// hyun
|
||||
HeatManager *heat;
|
||||
if (vehicle->IsDerivedFrom (Mech::DefaultData))
|
||||
{
|
||||
@@ -11492,7 +11492,7 @@ void VehicleInterface::OverrideShutdownMessageHandler(Adept::ReceiverDataMessage
|
||||
}
|
||||
else {
|
||||
//if (!GetShutdownState())
|
||||
// g_pRIOMain->SetLampState (18, LAMP_DEFAULT);// 鉉
|
||||
// g_pRIOMain->SetLampState (18, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -11541,7 +11541,7 @@ void VehicleInterface::RightMFDMessageHandler (Adept::ReceiverDataMessageOf<int>
|
||||
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (52, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (52, LAMP_BRIGHT);// hyun
|
||||
if(MWGUIManager::GetInstance())
|
||||
{
|
||||
Check_Object(MWGUIManager::GetInstance());
|
||||
@@ -11552,7 +11552,7 @@ void VehicleInterface::RightMFDMessageHandler (Adept::ReceiverDataMessageOf<int>
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (52, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (52, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11584,12 +11584,12 @@ void VehicleInterface::LeftMFDMessageHandler (Adept::ReceiverDataMessageOf<int>
|
||||
Verify(message->messageID == LeftMFDMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (12, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (12, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (12, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (12, LAMP_BRIGHT);// hyun
|
||||
if(MWGUIManager::GetInstance())
|
||||
{
|
||||
Check_Object(MWGUIManager::GetInstance());
|
||||
@@ -11610,7 +11610,7 @@ void VehicleInterface::LeftMFDMessageHandler (Adept::ReceiverDataMessageOf<int>
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (12, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (12, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -11632,12 +11632,12 @@ void VehicleInterface::ToggleRadarPassiveMessageHandler (Adept::ReceiverDataMess
|
||||
Verify(message->messageID == ToggleRadarPassiveMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (25, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (25, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (25, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (25, LAMP_BRIGHT);// hyun
|
||||
if(!vehicle->vehicleShutDown)
|
||||
{
|
||||
if(MWGUIManager::GetInstance())
|
||||
@@ -11676,7 +11676,7 @@ void VehicleInterface::ToggleRadarPassiveMessageHandler (Adept::ReceiverDataMess
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (25, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (25, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11702,12 +11702,12 @@ void
|
||||
Verify(message->messageID == ToggleRadarRangeMessageID);
|
||||
|
||||
if (GetShutdownState()) {
|
||||
g_pRIOMain->SetLampState (24, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (24, LAMP_OFF);// hyun
|
||||
return;
|
||||
}
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (24, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (24, LAMP_BRIGHT);// hyun
|
||||
if(!vehicle->vehicleShutDown)
|
||||
{
|
||||
if(MWGUIManager::GetInstance())
|
||||
@@ -11739,7 +11739,7 @@ void
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (24, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (24, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13533,13 +13533,13 @@ void VehicleInterface::ShowObjectivesMessageHandler(Adept::ReceiverDataMessageOf
|
||||
{
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (36, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (36, LAMP_BRIGHT);// hyun
|
||||
g_bObjMode = !g_bObjMode;
|
||||
// ObjectiveRenderer::Instance->ToggleObjective ();
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (36, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (36, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -13568,12 +13568,12 @@ void VehicleInterface::MuteMessageHandler(Adept::ReceiverDataMessageOf<int> *mes
|
||||
|
||||
if(message->dataContents > 0)
|
||||
{
|
||||
g_pRIOMain->SetLampState (55, LAMP_BRIGHT);// 鉉
|
||||
g_pRIOMain->SetLampState (55, LAMP_BRIGHT);// hyun
|
||||
g_bMuteMode = !g_bMuteMode;
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pRIOMain->SetLampState (55, LAMP_DEFAULT);// 鉉
|
||||
g_pRIOMain->SetLampState (55, LAMP_DEFAULT);// hyun
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13689,7 +13689,7 @@ void
|
||||
|
||||
if (GetShutdownState()) {
|
||||
if (!g_bJumpZoom)
|
||||
g_pRIOMain->SetLampState (16, LAMP_OFF);// 鉉
|
||||
g_pRIOMain->SetLampState (16, LAMP_OFF);// hyun
|
||||
g_pRIOMain->SetLampState (51, LAMP_OFF);
|
||||
return;
|
||||
}
|
||||
@@ -14489,7 +14489,7 @@ void VehicleInterface::ShowZoom (void)
|
||||
Check_Object(m_reticuleCamera);
|
||||
m_reticuleCamera->GetPerspective(near_clip, far_clip, horizontal_fov, height_to_width);
|
||||
//m_reticuleCamera->SetPerspective(near_clip, far_clip, s_zoomFOV[0], height_to_width);
|
||||
//상훈
|
||||
//sanghoon
|
||||
// jcem - begin
|
||||
float fZoom;
|
||||
gosASSERT(g_fZoomFOVA >= g_fZoomFOVB);
|
||||
|
||||
Reference in New Issue
Block a user