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

@@ -74,7 +74,7 @@ class CTerrainImpl
public:
static void SetTextureSet(CTextureSet * pTextureSet);
static CTextureSet * GetTextureSet(); // 무조건 성공해야 함
static CTextureSet * GetTextureSet(); // 무조건 성공해야 함
protected:
static CTextureSet * ms_pTextureSet;
@@ -134,7 +134,7 @@ class CTerrainImpl
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
// TileMap과 HeightMap 비율
// TileMap과 HeightMap 비율
// int m_iHeightTileRatio;
//////////////////////////////////////////////////////////////////////////

View File

@@ -19,7 +19,7 @@ void CTextureSet::Create()
{
CResource * pResource = CResourceManager::Instance().GetResourcePointer("d:/ymir work/special/error.tga");
m_ErrorTexture.ImageInstance.SetImagePointer(static_cast<CGraphicImage *> (pResource));
AddEmptyTexture(); // 지우개 텍스춰를 처음에 추가 해야 함
AddEmptyTexture(); // 지우개 텍스춰를 처음에 추가 해야 함
}
bool CTextureSet::Load(const char * c_szTextureSetFileName, float fTerrainTexCoordBase)
@@ -194,7 +194,7 @@ bool CTextureSet::AddTexture(const char * c_szFileName,
{
if (GetTextureCount() >= 256)
{
LogBox("텍스처를 더 이상 추가할 수 없습니다.", "최대 텍스처 개수 255개");
LogBox("텍스처를 더 이상 추가할 수 없습니다.", "최대 텍스처 개수 255개");
return false;
}
@@ -202,7 +202,7 @@ bool CTextureSet::AddTexture(const char * c_szFileName,
{
if (0 == m_Textures[i].stFilename.compare(c_szFileName))
{
LogBox("동일한 이름의 텍스처가 이미 있습니다.", "중복");
LogBox("동일한 이름의 텍스처가 이미 있습니다.", "중복");
return false;
}
}
@@ -211,7 +211,7 @@ bool CTextureSet::AddTexture(const char * c_szFileName,
if (!pResource->IsType(CGraphicImage::Type()))
{
LogBox("CTerrainImpl::GenerateTexture : 이미지 파일이 아닙니다. %s", pResource->GetFileName());
LogBox("CTerrainImpl::GenerateTexture : 이미지 파일이 아닙니다. %s", pResource->GetFileName());
return false;
}
@@ -251,7 +251,7 @@ bool CTextureSet::Save(const char * c_pszFileName)
fprintf(pFile, "TextureSet\n");
fprintf(pFile, "\n");
fprintf(pFile, "TextureCount %ld\n", GetTextureCount() - 1); // -1 을 하는 이유는 지우개 때문임
fprintf(pFile, "TextureCount %ld\n", GetTextureCount() - 1); // -1 을 하는 이유는 지우개 때문임
fprintf(pFile, "\n");
for (DWORD i = 1; i < GetTextureCount(); ++i)

View File

@@ -28,7 +28,7 @@ typedef struct STerrainTexture
float UOffset;
float VOffset;
bool bSplat;
unsigned short Begin, End; // 0 ~ 65535 ÀÇ 16bit heightfield ³ôÀ̰ª.
unsigned short Begin, End; // 0 ~ 65535 16bit heightfield 높이값.
D3DXMATRIX m_matTransform;
} TTerrainTexture;