Add per-tier sidedef light levels to UDMF maps
This commit is contained in:
parent
a9eaae074f
commit
df976e218e
13 changed files with 150 additions and 69 deletions
|
|
@ -1323,6 +1323,30 @@ public:
|
|||
Flag(sd->Flags, WALLF_ABSLIGHTING, key);
|
||||
continue;
|
||||
|
||||
case NAME_light_top:
|
||||
sd->SetLight(CheckInt(key), side_t::top);
|
||||
continue;
|
||||
|
||||
case NAME_lightabsolute_top:
|
||||
Flag(sd->Flags, WALLF_ABSLIGHTING_TOP, key);
|
||||
continue;
|
||||
|
||||
case NAME_light_mid:
|
||||
sd->SetLight(CheckInt(key), side_t::mid);
|
||||
continue;
|
||||
|
||||
case NAME_lightabsolute_mid:
|
||||
Flag(sd->Flags, WALLF_ABSLIGHTING_MID, key);
|
||||
continue;
|
||||
|
||||
case NAME_light_bottom:
|
||||
sd->SetLight(CheckInt(key), side_t::bottom);
|
||||
continue;
|
||||
|
||||
case NAME_lightabsolute_bottom:
|
||||
Flag(sd->Flags, WALLF_ABSLIGHTING_BOTTOM, key);
|
||||
continue;
|
||||
|
||||
case NAME_lightfog:
|
||||
Flag(sd->Flags, WALLF_LIGHT_FOG, key);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue