- added option to set item pickup color through MAPINFO's GAMEINFO block.
SVN r2539 (trunk)
This commit is contained in:
parent
1063a98c47
commit
b288a7a416
8 changed files with 10 additions and 1 deletions
|
|
@ -1504,7 +1504,9 @@ void DBaseStatusBar::BlendView (float blend[4])
|
|||
if (CPlayer->bonuscount)
|
||||
{
|
||||
cnt = CPlayer->bonuscount << 3;
|
||||
AddBlend (0.8431f, 0.7333f, 0.2706f, cnt > 128 ? 0.5f : cnt / 255.f, blend);
|
||||
|
||||
AddBlend (RPART(gameinfo.pickupcolor)/255.f, GPART(gameinfo.pickupcolor)/255.f,
|
||||
BPART(gameinfo.pickupcolor)/255.f, cnt > 128 ? 0.5f : cnt / 255.f, blend);
|
||||
}
|
||||
|
||||
if (CPlayer->mo->DamageFade.a != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue