Quote:
Originally Posted by inteL96
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
|
they are not stupid....
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 );
}
}
#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
this is my code change the pic -.-