Change hud color.

This commit is contained in:
Night Owl 2017-11-05 21:05:15 +05:00
parent e7de76d492
commit f73fb094ab
2 changed files with 4 additions and 2 deletions

View File

@ -231,7 +231,9 @@ int CHudHealth::Draw( float flTime )
int iHeight = gHUD.m_iFontHeight;
int iWidth = HealthWidth / 10;
FillRGBA( x, y, iWidth, iHeight, 255, 160, 0, a );
UnpackRGB( r, g, b, RGB_YELLOWISH );
FillRGBA( x, y, iWidth, iHeight, r, g, b, a );
}
DrawDamage( flTime );

View File

@ -20,7 +20,7 @@
// CHud handles the message, calculation, and drawing the HUD
//
#define RGB_YELLOWISH 0x00FFA000 //255,160,0
#define RGB_YELLOWISH 0x00FFFFFF //255,255,255
#define RGB_REDISH 0x00FF1010 //255,160,0
#define RGB_GREENISH 0x0000A000 //0,160,0