How to Add Legend Logo

02/19/2012 22:31 inteL96#1
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?
02/19/2012 23:17 stormfiredu77#2
Go to moverrender.cpp :)
02/20/2012 21:33 inteL96#3
and ?
02/20/2012 21:49 Krawallbr黡er#4
where is your Problem? Go to MoverRender.cpp an add your Problem....
here is a example->
Code:
#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
02/20/2012 22:16 inteL96#5
Add where? below or?
02/20/2012 22:20 Krawallbr黡er#6
it's really easy...

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
02/20/2012 22:38 inteL96#7
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
02/20/2012 22:42 Krawallbr黡er#8
Quote:
Originally Posted by inteL96 View Post
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 -.-