Browse Source

Change hud color.

residual_point
Night Owl 7 years ago
parent
commit
f73fb094ab
  1. 4
      cl_dll/health.cpp
  2. 2
      cl_dll/hud.h

4
cl_dll/health.cpp

@ -231,7 +231,9 @@ int CHudHealth::Draw( float flTime ) @@ -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 );

2
cl_dll/hud.h

@ -20,7 +20,7 @@ @@ -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

Loading…
Cancel
Save