@ -964,7 +972,11 @@ int DrawBar( int x, int y, int width, int height, float f )
@@ -964,7 +972,11 @@ int DrawBar( int x, int y, int width, int height, float f )
width-=w;
}
#ifdef MOBILE_HACKS
UnpackRGB(r,g,b,g_iHudColor);
#else // MOBILE_HACKS
UnpackRGB(r,g,b,RGB_YELLOWISH);
#endif // MOBILE_HACKS
FillRGBA(x,y,width,height,r,g,b,128);
@ -1032,7 +1044,11 @@ int CHudAmmo::DrawWList( float flTime )
@@ -1032,7 +1044,11 @@ int CHudAmmo::DrawWList( float flTime )
{
intiWidth;
#ifdef MOBILE_HACKS
UnpackRGB(r,g,b,g_iHudColor);
#else // MOBILE_HACKS
UnpackRGB(r,g,b,RGB_YELLOWISH);
#endif // MOBILE_HACKS
if(iActiveSlot==i)
a=255;
@ -1083,7 +1099,11 @@ int CHudAmmo::DrawWList( float flTime )
@@ -1083,7 +1099,11 @@ int CHudAmmo::DrawWList( float flTime )
if(!p||!p->iId)
continue;
#ifdef MOBILE_HACKS
UnpackRGB(r,g,b,g_iHudColor);
#else // MOBILE_HACKS
UnpackRGB(r,g,b,RGB_YELLOWISH);
#endif // MOBILE_HACKS
// if active, then we must have ammo.
if(gpActiveSel==p)
@ -1120,7 +1140,11 @@ int CHudAmmo::DrawWList( float flTime )
@@ -1120,7 +1140,11 @@ int CHudAmmo::DrawWList( float flTime )
else
{
// Draw Row of weapons.
#ifdef MOBILE_HACKS
UnpackRGB(r,g,b,g_iHudColor);
#else // MOBILE_HACKS
UnpackRGB(r,g,b,RGB_YELLOWISH);
#endif // MOBILE_HACKS
for(intiPos=0;iPos<MAX_WEAPON_POSITIONS;iPos++)
{
@ -1131,7 +1155,11 @@ int CHudAmmo::DrawWList( float flTime )
@@ -1131,7 +1155,11 @@ int CHudAmmo::DrawWList( float flTime )
@ -166,7 +166,11 @@ void CHudHealth::GetPainColor( int &r, int &g, int &b )
@@ -166,7 +166,11 @@ void CHudHealth::GetPainColor( int &r, int &g, int &b )
#else
if(m_iHealth>25)
{
UnpackRGB(r,g,b,RGB_YELLOWISH);
#ifdef MOBILE_HACKS
UnpackRGB(r,g,b,g_iHudColor);
#else // MOBILE_HACKS
UnpackRGB(r,g,b,RGB_YELLOWISH);
#endif // MOBILE_HACKS
}
else
{
@ -232,7 +236,11 @@ int CHudHealth::Draw( float flTime )
@@ -232,7 +236,11 @@ int CHudHealth::Draw( float flTime )
intiHeight=gHUD.m_iFontHeight;
intiWidth=HealthWidth/10;
#ifdef MOBILE_HACKS
UnpackRGB(r,g,b,g_iHudColor);
#else // MOBILE_HACKS
UnpackRGB(r,g,b,RGB_YELLOWISH);
#endif // MOBILE_HACKS
FillRGBA(x,y,iWidth,iHeight,r,g,b,a);
}
@ -381,7 +389,11 @@ int CHudHealth::DrawDamage( float flTime )
@@ -381,7 +389,11 @@ int CHudHealth::DrawDamage( float flTime )