- added new properties to UDMF spec.

- implemented color_absolute flag,
This commit is contained in:
Christoph Oelckers 2017-01-28 21:22:48 +01:00
commit 476aceb5d7
3 changed files with 22 additions and 6 deletions

View file

@ -1480,6 +1480,9 @@ public:
sec->SpecialColors[sector_t::sprites] = CheckInt(key) || 0xff000000;
break;
case NAME_Color_Absolute:
Flag(sec->MoreFlags, SECF_SPECIALCOLORSABSOLUTE, key);
case NAME_Desaturation:
desaturation = int(255*CheckFloat(key));
continue;