Hello, I tried to look the release of 'How to add Legend Logo'. But I can't find it, someone told me the code but he didn't explain it well. Can someone give me the thread for that release or tell me how to add Legend Icon in source?
#ifdef __3RD_LEGEND16
else if(checkhero == LEGEND_CLASS_LEGENDHERO) //康旷老 版快.
{
strPath = MakePath( DIR_ICON, "Legend_Mark.png");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
#endif // __3RD_LEGEND16
see this else if(checkhero == LEGEND_CLASS_HERO) //康旷老 版快.
{
//strPath = MakePath( DIR_ICON, "icon_Hero.dds");
//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
pTexture = g_Neuz.m_pHeroIcon;
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
and you find your problem...sorry for my bad english xD
they are not stupid....Quote:
What the fuck are you talking about, give me a better details man. I'm just a beginner in C++ so I don't know much about this.
Is this the code Im gonna put in bottom or top? (Any details?)
Code:see this else if(checkhero == LEGEND_CLASS_HERO) //康旷老 版快. { //strPath = MakePath( DIR_ICON, "icon_Hero.dds"); //pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff ); pTexture = g_Neuz.m_pHeroIcon; if(pTexture != NULL) { point.y -= pTexture->m_size.cy + 5; pTexture->Render( &g_Neuz.m_2DRender, point ); } } and you find your problem...sorry for my bad english xD