Ceilingstat

From EDukeWiki
Revision as of 11:57, 5 February 2015 by Nexus (talk | contribs) (link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.