Template:Sector cstat

From EDukeWiki
Jump to navigation Jump to search
This page is a template.
This page was created to be included in other pages.


The following values are used with floorstat and ceilingstat.

Exposed Value Label Description
No 1 FLOOR_STAT_PLAX
CEILING_STAT_PLAX
Parallaxed texture (used for skies). Also, for subway car sectors, if you set this bit to 1, it will shoot RPGs at the nearest player. This is used for the space ship in the beginning of E2L1.
No 2 FLOOR_STAT_SLOPE
CEILING_STAT_SLOPE
Slope
No 4 FLOOR_STAT_SWAPXY
CEILING_STAT_SWAPXY
Texture's x & y is swapped
No 8 FLOOR_STAT_SMOOSH
CEILING_STAT_SMOOSH
Texture Expansion is on ["E" key in Build/Mapster32]
No 16 FLOOR_STAT_XFLIP
CEILING_STAT_XFLIP
Texture's x is flipped
No 32 FLOOR_STAT_YFLIP
CEILING_STAT_YFLIP
Texture's y is flipped
No 64 FLOOR_STAT_RELATIVE
CEILING_STAT_RELATIVE
Texture Relativity is on ["R" key in Build/Mapster32]
No 128 FLOOR_STAT_MASKED
CEILING_STAT_MASKED
Masked (different from being clear only for TROR)
No 256 FLOOR_STAT_TRANS
CEILING_STAT_TRANS
Translucent mask. Combine with 128 for reverse translucent mask.
No 512 Blocks movement (for TROR)
No 1024 TROR
No 2048 Blocks projectiles (for TROR)
Defines
define FLOOR_STAT_PLAX                  0x00000001
define FLOOR_STAT_SLOPE                 0x00000002
define FLOOR_STAT_SWAPXY                0x00000004
define FLOOR_STAT_SMOOSH                0x00000008
define FLOOR_STAT_XFLIP                 0x00000010
define FLOOR_STAT_YFLIP                 0x00000020
define FLOOR_STAT_RELATIVE              0x00000040
define FLOOR_STAT_MASKED                0x00000080
define FLOOR_STAT_TRANS                 0x00000100

define CEILING_STAT_PLAX                0x00000001
define CEILING_STAT_SLOPE               0x00000002
define CEILING_STAT_SWAPXY              0x00000004
define CEILING_STAT_SMOOSH              0x00000008
define CEILING_STAT_XFLIP               0x00000010
define CEILING_STAT_YFLIP               0x00000020
define CEILING_STAT_RELATIVE            0x00000040
define CEILING_STAT_MASKED              0x00000080
define CEILING_STAT_TRANS               0x00000100