Initial work on Doom64-style fade/glow
This commit is contained in:
parent
094ef39d5f
commit
e5d43a734a
4 changed files with 9 additions and 3 deletions
|
|
@ -1625,6 +1625,10 @@ public:
|
|||
sec->SpecialColors[sector_t::sprites] = CheckInt(key) | 0xff000000;
|
||||
break;
|
||||
|
||||
case NAME_Color_Add:
|
||||
sec->SpecialColors[sector_t::add] = CheckInt(key) | 0xff000000;
|
||||
break;
|
||||
|
||||
case NAME_Desaturation:
|
||||
desaturation = int(255*CheckFloat(key) + FLT_EPSILON); // FLT_EPSILON to avoid rounding errors with numbers slightly below a full integer.
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue