mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 13:31:37 +00:00
- fixed: The sector's 'hidden' UDMF property did not properly clear the corresponding flag if the value was 'false'.
- added UDMF 'waterzone' property for sectors.
This commit is contained in:
parent
3480d40484
commit
e6c880c93a
3 changed files with 10 additions and 1 deletions
|
@ -186,6 +186,7 @@ Note: All <bool> fields default to false unless mentioned otherwise.
|
|||
soundsequence = <string>; // The sound sequence to play when this sector moves. Placing a
|
||||
// sound sequence thing in the sector will override this property.
|
||||
hidden = <bool>; // if true this sector will not be drawn on the textured automap.
|
||||
waterzone = <bool>; // Sector is under water and swimmable
|
||||
|
||||
* Note about dropactors
|
||||
|
||||
|
@ -328,6 +329,9 @@ Added back locknumber property.
|
|||
1.20 25.02.2012
|
||||
Added arg0str thing property.
|
||||
|
||||
1.21 09.08.2013
|
||||
Added waterzone sector property.
|
||||
|
||||
===============================================================================
|
||||
EOF
|
||||
===============================================================================
|
||||
|
|
|
@ -442,6 +442,7 @@ xx(Alphafloor)
|
|||
xx(Alphaceiling)
|
||||
xx(Renderstylefloor)
|
||||
xx(Renderstyleceiling)
|
||||
xx(Waterzone)
|
||||
|
||||
xx(offsetx_top)
|
||||
xx(offsety_top)
|
||||
|
|
|
@ -1326,7 +1326,11 @@ public:
|
|||
continue;
|
||||
|
||||
case NAME_hidden:
|
||||
sec->MoreFlags |= SECF_HIDDEN;
|
||||
Flag(sec->MoreFlags, SECF_HIDDEN, key);
|
||||
break;
|
||||
|
||||
case NAME_Waterzone:
|
||||
Flag(sec->MoreFlags, SECF_UNDERWATER, key);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue