Party Problem

01/11/2019 21:40 accelerated#1
hello, how to change the color of the box in the left side of menu? what file should i look into it? thanks

01/12/2019 00:57 Meutledaron#2
WndParty.cpp

Code:
void CWndPartyInfo::OnDraw


DWORD colorStatus = 0xff0000ff; // 디폴트는 이상없음
		if( IsValidObj(pObjMember) )
		{
			if( pObjMember->GetHitPoint() == 0 ) 
				colorStatus = 0xffff0000; // 죽은놈
			else 
			{
				if( pObjMember->GetMaxHitPoint() > 0 && ( (FLOAT)pObjMember->GetHitPoint() ) / ( (FLOAT)pObjMember->GetMaxHitPoint() ) <.1f ) 
					colorStatus = 0xffffff00; // HP 10% 이하인놈
			}
		}
		else
		{
			colorStatus = 0xff878787; // 디폴트는 주위에 없는놈
			if( g_Party.m_aMember[ i ].m_bRemove ) 
				colorStatus = 0xff000000; // �*버에 없는놈
		}
		p2DRender->RenderFillRect( rectTemp, colorStatus );
01/12/2019 04:18 accelerated#3
thanks Meutledaron.