Ceilingstat: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
Nexus (talk | contribs)
link
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Ceilingstat''' is a sector-structure member similar to cstat, as it is a [[bitfield]].
'''Ceilingstat''' is a sector-structure member similar to cstat, as it is a [[bitfield]].


The known values are below
The known values are below:


:'''1''' = Bit 0: Ceiling is a parallax sky/texture
:'''1''' = Bit 0: Ceiling is a parallax sky/texture
Line 11: Line 11:
:'''64''' = Bit 6: Ceiling Texture Relativity is on ["R" key in Build/Mapster32]
:'''64''' = Bit 6: Ceiling Texture Relativity is on ["R" key in Build/Mapster32]


:'''128''' = Bit 7: Masked Ceiling [?, Unused in Source Code & Game]
:'''128''' = Bit 7: Masked Ceiling (different from being clear only for [[True_Room_Over_Room_Mapping_Guide|TROR]]-extended ceilings)
:'''256''' = Bit 8: Translucent Masked Ceiling [?, Unused in Source Code & Game]
:'''256''' = Bit 8: Translucent Masked Ceiling
:'''384''' = Bit 7&8: Reverse Translucent Masked Ceiling [?, Unused in Source Code & Game]
:'''384''' = Bit 7&8: Reverse Translucent Masked Ceiling
 
:'''512''' = Bit 9: Ceiling blocks movement (for TROR)
''See also [[floorstat]].''
:'''1024''' = Bit 10: Ceiling is a TROR floor
:'''2048''' = Bit 11: Ceiling blocks projectiles (for TROR)
See [[floorstat]].


[[Category:Bitfields]]
[[Category:Bitfields]]
[[Category:Sector structure members]]
[[Category:Sector structure members]]

Revision as of 12:57, 5 February 2015

Ceilingstat is a sector-structure member similar to cstat, as it is a bitfield.

The known values are below:

1 = Bit 0: Ceiling is a parallax sky/texture
2 = Bit 1: Ceiling is sloped
4 = Bit 2: Ceiling Texture's x & y is swapped
8 = Bit 3: Ceiling Texture Expansion is on ["E" key in Build/Mapster32]
16 = Bit 4: Ceiling Texture's x is flipped
32 = Bit 5: Ceiling Texture's y is flipped
64 = Bit 6: Ceiling Texture Relativity is on ["R" key in Build/Mapster32]
128 = Bit 7: Masked Ceiling (different from being clear only for TROR-extended ceilings)
256 = Bit 8: Translucent Masked Ceiling
384 = Bit 7&8: Reverse Translucent Masked Ceiling
512 = Bit 9: Ceiling blocks movement (for TROR)
1024 = Bit 10: Ceiling is a TROR floor
2048 = Bit 11: Ceiling blocks projectiles (for TROR)

See floorstat.