Jump to content

Floorstat: Difference between revisions

From EDukeWiki
LordMisfit (talk | contribs)
mNo edit summary
Jblade (talk | contribs)
m Added some extra bits
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Floorstat''' is a sector-structure member similar to cstat, as it is a bitfield.
'''floorstat''' 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: Floor is a parallax sky/texture
:'''1''' = Bit 0: Floor is a parallax sky/texture
Line 11: Line 11:
:'''64''' = Bit 6: Floor Texture Relativity is on ["R" key in Build/Mapster32]
:'''64''' = Bit 6: Floor Texture Relativity is on ["R" key in Build/Mapster32]


:'''128''' = Bit 7: Masked Floor [?, Unused in Source Code & Game]
:'''128''' = Bit 7: Masked Floor (different from being clear only for TROR-extended floors)
:'''256''' = Bit 8: Translucent Masked Floor [?, Unused in Source Code & Game]
:'''256''' = Bit 8: Translucent Masked Floor
:'''384''' = Bit 7&8: Reverse Translucent Masked Floor [?, Unused in Source Code & Game]
:'''384''' = Bit 7&8: Reverse Translucent Masked Floor
:'''512''' = Bit 16: Floor blocks movement (for TROR)
:'''1024''' = Bit 32: Floor is a TROR floor
:'''2048''' = Bit 64: Floor blocks projectiles (for TROR)


See [[ceilingstat]].


''See also [[ceilingstat]].''
[[Category:Bitfields]]
 
[[Category:Sector structure members]]
[[Category:Sector structure members]]

Revision as of 00:06, 31 May 2012

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

The known values are below:

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

See ceilingstat.