forked from metin2/client
logbox
This commit is contained in:
@ -194,7 +194,7 @@ bool CTextureSet::AddTexture(const char * c_szFileName,
|
||||
{
|
||||
if (GetTextureCount() >= 256)
|
||||
{
|
||||
LogBox("\xC5\xD8\xBD\xBA\xC3\xB3\xB8\xA6 \xB4\xF5 \xC0\xCC\xBB\xF3 \xC3\xDF\xB0\xA1\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.", "\xC3\xD6\xB4\xEB \xC5\xD8\xBD\xBA\xC3\xB3 \xB0\xB3\xBC\xF6 255\xB0\xB3");
|
||||
LogBox("You cannot add any more textures.","Maximum number of textures 255");
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -202,7 +202,7 @@ bool CTextureSet::AddTexture(const char * c_szFileName,
|
||||
{
|
||||
if (0 == m_Textures[i].stFilename.compare(c_szFileName))
|
||||
{
|
||||
LogBox("\xB5\xBF\xC0\xCF\xC7\xD1 \xC0\xCC\xB8\xA7\xC0\xC7 \xC5\xD8\xBD\xBA\xC3\xB3\xB0\xA1 \xC0\xCC\xB9\xCC \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.", "\xC1\xDF\xBA\xB9");
|
||||
LogBox("There is already a texture with the same name.", "Duplicate");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -211,7 +211,7 @@ bool CTextureSet::AddTexture(const char * c_szFileName,
|
||||
|
||||
if (!pResource->IsType(CGraphicImage::Type()))
|
||||
{
|
||||
LogBox("CTerrainImpl::GenerateTexture : \xC0\xCC\xB9\xCC\xC1\xF6 \xC6\xC4\xC0\xCF\xC0\xCC \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9. %s", pResource->GetFileName());
|
||||
LogBox("CTerrainImpl::GenerateTexture : Not an image file. %s", pResource->GetFileName());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user