file encoding to utf-8

This commit is contained in:
d1str4ught
2025-08-19 00:30:50 +02:00
parent be56f3f31a
commit ea712bec83
241 changed files with 1753 additions and 1753 deletions

View File

@@ -130,7 +130,7 @@ bool CTerrain::LoadShadowMap(const char * c_pszFileName)
}
//////////////////////////////////////////////////////////////////////////
// Seamless용 새로운 함수들...
// Seamless용 새로운 함수들...
//////////////////////////////////////////////////////////////////////////
void CTerrain::CopySettingFromGlobalSetting()
@@ -893,7 +893,7 @@ void CTerrain::PutImage16(BYTE *src, BYTE *dst, long src_pitch, long dst_pitch,
for (int x = 0; x < texturewidth; ++x)
{
WORD packed_pixel = src[x] << 8;
//& 연산 한번이 아깝다
//& 연산 한번이 아깝다
//WORD packed_pixel = (src[x]&0xF0) << 8;
*((WORD*)(dst+x*2)) = packed_pixel;
}
@@ -1000,11 +1000,11 @@ void CTerrain::_CalculateTerrainPatch(BYTE byPatchNumX, BYTE byPatchNumY)
lpTerrainVertex->kPosition = kPosition;
lpTerrainVertex->kNormal = kNormal;
if (0.5f > kNormal.z) // 수평으로 부터 30도 이하 각으로 기울어져 있다. Cliff type으로 정의
if (0.5f > kNormal.z) // 수평으로 부터 30도 이하 각으로 기울어져 있다. Cliff type으로 정의
++wNumCliffType;
else if (0.8660254f > kNormal.z) // 수평으로 부터 60도 이하 각으로 기울어져 있다. Hill type으로 정의
else if (0.8660254f > kNormal.z) // 수평으로 부터 60도 이하 각으로 기울어져 있다. Hill type으로 정의
++wNumHillType;
else // 그 이상은 plain 타입
else // 그 이상은 plain 타입
++wNumPlainType;
if (kPosition.z > fMaxZ)