Rebirth System Icon Frage

05/17/2013 23:52 Exribo#1
#erledigt
05/18/2013 07:54 ThoughtfulDev#2
Code:
DIR_ICON
du packst die dinger in den theme Ordner, aber schreibst icon Ordner hm...not bad.

pack sie in den icon Ordner.
05/18/2013 10:21 Exribo#3
#erledigt
05/18/2013 11:05 ThoughtfulDev#4
du weißt aber schon dass er ingame nichts anzeigen kann da du das icon in der wndfield.cpp angibst? wahrsceinlich hast du es dann im status fenster.

und wie wäre es mit pMover->m_nPlatin .
05/18/2013 20:30 Exribo#5
#erledigt
05/19/2013 07:52 ThoughtfulDev#6
MoverRender.cpp nach:
Code:
else if(checkhero == LEGEND_CLASS_LEGENDHERO) //¿µ¿õÀÏ °æ¿ì.
das
Code:
if (m_iRebirth == 0)
{
	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 );
	}
}
else if (m_iRebirth == 1)   
{
   strPath = MakePath( DIR_ICON, "Icon_Platin1.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 );
   }
}
else if (m_iRebirth == 2)   
{
   strPath = MakePath( DIR_ICON, "Icon_Platin2.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 );
   }
}
else if (m_iRebirth == 3)   
{
   strPath = MakePath( DIR_ICON, "Icon_Platin3.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 );
   }
}
else if (m_iRebirth == 4)   
{
   strPath = MakePath( DIR_ICON, "Icon_Platin4.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 );
   }
}
else if (m_iRebirth == 5)   
{
   strPath = MakePath( DIR_ICON, "Icon_Platin5.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 );
   }
}
else if (m_iRebirth == 6)   
{
   strPath = MakePath( DIR_ICON, "Icon_Platin6.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 );
   }
}
else if (m_iRebirth == 7)   
{
   strPath = MakePath( DIR_ICON, "Icon_Platin7.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 );
   }
}
else if (m_iRebirth == 8)   
{
   strPath = MakePath( DIR_ICON, "Icon_Platin8.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 );
   }
}
else if (m_iRebirth == 9)   
{
   strPath = MakePath( DIR_ICON, "Icon_Platin9.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 );
   }
}
else if (m_iRebirth == 10)   
{
   strPath = MakePath( DIR_ICON, "Icon_Platin10.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 );
   }
}
musst halt noch die variablen abändern aber sonst, und evtl ändern dass das legend icon mit angezeigt wird(bei mir wirds nur angezeigt wenn man kein rebirth hat)
05/24/2013 13:40 Exribo#7
#erledigt
05/29/2013 19:58 Reavern#8
#closed