er will das ab der 3rd job im messenger dieses rote H von dem Bild das goldene H im Messenger ersetzt
Quote:
#if __VER >= 10 // __CSC_VER9_1
point.x = xpos;
point.y = ypos - 2;
if(checkhero == LEGEND_CLASS_MASTER) //Àü½ÂÀ» ÇßÀ» °æ¿ì.
{
if(/*g_pPlayer->m_nLevel >= 60 && */g_pPlayer->m_nLevel < 70) //Level DownµÉ °æ¿ì¸¦ »ý°¢Çؼ* ÁÖ¼®Ã³¸®
strPath = MakePath( DIR_ICON, "Icon_MasterMark1.dds");
else if(g_pPlayer->m_nLevel >= 70 && g_pPlayer->m_nLevel < 80)
strPath = MakePath( DIR_ICON, "Icon_MasterMark2.dds");
else if(g_pPlayer->m_nLevel >= 80 && g_pPlayer->m_nLevel < 90)
strPath = MakePath( DIR_ICON, "Icon_MasterMark3.dds");
else if(g_pPlayer->m_nLevel >= 90 && g_pPlayer->m_nLevel < 100)
strPath = MakePath( DIR_ICON, "Icon_MasterMark4.dds");
else if(g_pPlayer->m_nLevel >= 100 && g_pPlayer->m_nLevel < 110)
strPath = MakePath( DIR_ICON, "Icon_MasterMark5.dds");
else if(g_pPlayer->m_nLevel >= 110 && g_pPlayer->m_nLevel <= 120)
strPath = MakePath( DIR_ICON, "Icon_MasterMark6.dds");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
if(pTexture != NULL)
pTexture->Render( p2DRender, point );
m_texPlayerDataIcon.LoadScript( m_pApp->m_pd3dDevice, "icon\\icon_PlayerData.inc" );
// Draw Job Icon
#if __VER >= 15 // __CAMPUS
static const int JOB_TYPE_ICON_X = 174;
static const int JOB_ICON_X = JOB_TYPE_ICON_X + 20;
if( prj.m_aJob[ stPlayer.m_nJob ].dwJobType == JTYPE_PRO )
[COLOR=Red]pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_ICON_X, pt.y ), ( 19 + stPlayer.m_nJob - 6 ), &pVertices, 0xffffffff );[/COLOR]
else if( prj.m_aJob[ stPlayer.m_nJob ].dwJobType == JTYPE_MASTER )
{
[COLOR=Red]int nMasterIndex = 27;[/COLOR]
if( stPlayer.m_nLevel < 70 )
[COLOR=Red]nMasterIndex = 27;[/COLOR]
else if( stPlayer.m_nLevel >= 70 && stPlayer.m_nLevel < 80 )
[COLOR=Red]nMasterIndex = 28;[/COLOR]
else if( stPlayer.m_nLevel >= 80 && stPlayer.m_nLevel < 90 )
[COLOR=Red]nMasterIndex = 29;[/COLOR]
else if( stPlayer.m_nLevel >= 90 && stPlayer.m_nLevel < 100 )
[COLOR=Red]nMasterIndex = 30;[/COLOR]
else if( stPlayer.m_nLevel >= 100 && stPlayer.m_nLevel < 110 )
[COLOR=Red]nMasterIndex = 31;[/COLOR]
else if( stPlayer.m_nLevel >= 110 && stPlayer.m_nLevel <= 120 )
[COLOR=Red]nMasterIndex = 32;[/COLOR]
[COLOR=Red]pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_TYPE_ICON_X, pt.y ), nMasterIndex, &pVertices, 0xffffffff );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_ICON_X, pt.y ), ( 19 + stPlayer.m_nJob - 16 ), &pVertices, 0xffffffff );[/COLOR]
}
else if( prj.m_aJob[ stPlayer.m_nJob ].dwJobType == JTYPE_HERO )
{
[COLOR=Red]pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_TYPE_ICON_X, pt.y ), 33, &pVertices, 0xffffffff );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_ICON_X, pt.y ), ( 19 + stPlayer.m_nJob - 24 ), &pVertices, 0xffffffff );[/COLOR]
}
else
[COLOR=Red] pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_ICON_X, pt.y ), 14 + stPlayer.m_nJob, &pVertices, 0xffffffff );[/COLOR]
#else // __CAMPUS
[COLOR=Red] //unnötig :p[/COLOR]
#endif // __CAMPUS