PythonTextTail.h Bul: CGraphicTextInstance* pLevelTextInstance; Ekle: #ifdef ENABLE_TURKISH_FLAG CGraphicImageInstance* pTurkishFlagInstance; #endif PythonTexttail.cpp Bul: CGraphicTextInstance * pGuildNameInstance = pTextTail->pGuildNameTextInstance; Ekle: #ifdef ENABLE_TURKISH_FLAG CGraphicImageInstance * pTunga = pTextTail->pTurkishFlagInstance; #endif Bul: pTextTail->pTextInstance->SetColor(pTextTail->Color.r, pTextTail->Color.g, pTextTail->Color.b); Üstüne Ekle: #ifdef ENABLE_TURKISH_FLAG if (pTunga) { CGraphicTextInstance * pLevel = pTextTail->pLevelTextInstance; if (pLevel) { int iLevelWidth, iLevelHeight, iTitleWidth, iTitleHeight; pLevel->GetTextSize(&iLevelWidth, &iLevelHeight); if (pTitle) { pTitle->GetTextSize (&iTitleWidth, &iTitleHeight); pTunga->SetPosition (pTextTail->x - (iNameWidth / 2) - 4.0f - iTitleWidth - iLevelWidth - 15.0f- pTunga->GetWidth() / 2 + 8.5f, pTextTail->y - 10); } if (!pTitle) pTunga->SetPosition (pTextTail->x - (iNameWidth / 2) - 4.0f - iLevelWidth - 15.0f - pTunga->GetWidth() / 2 + 8.5f, pTextTail->y - 10); } } #endif Bul: if (pTextTail->pLevelTextInstance) { pTextTail->pLevelTextInstance->Render(); } Ekle: #ifdef ENABLE_TURKISH_FLAG if (pTextTail->pTurkishFlagInstance) { pTextTail->pTurkishFlagInstance->Render(); } #endif Bul: pTextTail->pLevelTextInstance=NULL; Ekle: #ifdef ENABLE_TURKISH_FLAG pTextTail->pTurkishFlagInstance=NULL; #endif Bul: m_CharacterTextTailMap.insert(TTextTailMap::value_type(dwVirtualID, pTextTail)); Üstüne Ekle: #ifdef ENABLE_TURKISH_FLAG if (pCharacterInstance->IsPC()) { pTextTail->pTurkishFlagInstance = CGraphicImageInstance::New(); char szPath[256]; sprintf(szPath, "d:/ymir work/ui/flag/tr.tga"); pTextTail->pTurkishFlagInstance->SetImagePointer((CGraphicImage*)CResourceManager::Instance().GetResourcePointer(szPath)); } #endif Bul: pTextTail->pLevelTextInstance = NULL; Ekle: #ifdef ENABLE_TURKISH_FLAG pTextTail->pTurkishFlagInstance = NULL; #endif Bul: if (pTextTail->pLevelTextInstance) { CGraphicTextInstance::Delete(pTextTail->pLevelTextInstance); pTextTail->pLevelTextInstance = NULL; } Ekle: #ifdef ENABLE_TURKISH_FLAG if (pTextTail->pTurkishFlagInstance) { CGraphicImageInstance::Delete(pTextTail->pTurkishFlagInstance); pTextTail->pTurkishFlagInstance = NULL; } #endif Locale_inc.h El alta ekle: ENABLE_TURKISH_FLAG