• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Release] Item Grade Edge

Newbie Spellweaver
Joined
Sep 15, 2020
Messages
26
Reaction score
1
i look for for( int i = pt.y; i < m_pItemContainer->GetSize(); i++ ) theres no pItemElem->GetTexture()->m_size.cx += 4;pItemElem->GetTexture()->m_size.cy += 4; under it except this one i found this #endif //__CSC_VER8_5
RanderIcon( p2DRender, pItemElem, x * 32, y * 32, nParent, 60 );
else if( m_nOnSelect == i )
{
pItemElem->GetTexture()->m_size.cx += 4;
pItemElem->GetTexture()->m_size.cy += 4;
 
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
i look for for( int i = pt.y; i < m_pItemContainer->GetSize(); i++ ) theres no pItemElem->GetTexture()->m_size.cx += 4;pItemElem->GetTexture()->m_size.cy += 4; under it except this one i found this #endif //__CSC_VER8_5
RanderIcon( p2DRender, pItemElem, x * 32, y * 32, nParent, 60 );
else if( m_nOnSelect == i )
{
pItemElem->GetTexture()->m_size.cx += 4;
pItemElem->GetTexture()->m_size.cy += 4;

Here ->

void CWndItemCtrl::OnDraw(C2DRender* p2DRender)
Code:
					else
					{
#ifdef __ITEM_GRADE_EDGE
						if( pItemElem->GetProp()->dwItemGrade == (DWORD)200 )
						{
							CTexture *EdgeTexture;
							EdgeTexture = m_textureMng.AddTexture( D3DDEVICE, MakePath( DIR_ITEM, "Item_EdgeUnique.dds" ),0xffff00ff );
							EdgeTexture->Render(p2DRender,CPoint(x * 35, (y * 35) + 4),255);
						}
						else if( pItemElem->GetProp()->dwItemGrade == (DWORD)300 )
						{
							CTexture *EdgeTexture;
							EdgeTexture = m_textureMng.AddTexture( D3DDEVICE, MakePath( DIR_ITEM, "Item_EdgeUltimate.dds" ),0xffff00ff );
							EdgeTexture->Render(p2DRender,CPoint(x * 35, (y * 35) + 4),255);
						}
						else if( pItemElem->GetProp()->dwItemGrade == (DWORD)400 )
						{
							CTexture *EdgeTexture;
							EdgeTexture = m_textureMng.AddTexture( D3DDEVICE, MakePath( DIR_ITEM, "Item_EdgeBaruna.dds" ),0xffff00ff );
							EdgeTexture->Render(p2DRender,CPoint(x * 35, (y * 35) + 4),255);
						}
#endif // __ITEM_GRADE_EDGE
#if __VER >= 9 // __CSC_VER9_1
						if(pItemElem->m_dwItemId == II_SYS_SYS_SCR_PET_FEED_POCKET && pItemElem->m_dwKeepTime <= 0)
						{

This part:
Code:
						pItemElem->GetTexture()->m_size.cx += 4;
						pItemElem->GetTexture()->m_size.cy += 4;

Only exists if you have
Code:
__INVENTORY_POINTER
added.
alist3r0128 Percuflex
 
Newbie Spellweaver
Joined
Sep 15, 2020
Messages
26
Reaction score
1
sir ketchup under void CWndItemCtrl::OnDraw(C2DRender* p2DRender) i put the code u have>?
 
Back
Top