Package net.mtrop.doom.map.data.flags
Interface DoomLinedefFlags
- All Known Subinterfaces:
BoomLinedefFlags
,HexenLinedefFlags
,StrifeLinedefFlags
,ZDoomLinedefFlags
public interface DoomLinedefFlags
Linedef flag constants for Doom/Heretic.
The constant value is how many places to bit shift 1 to equal the flag bit.
- Author:
- Matthew Tropiano
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Linedef flag: Blocks monsters.static final int
Linedef flag: Blocks sound propagation (needs two).static final int
Linedef flag: Blocks players and monsters.static final int
Linedef flag: Immediately shown on automap.static final int
Linedef flag: Never drawn on automap.static final int
Linedef flag: Render as solid wall on automap.static final int
Linedef flag: Two-sided.static final int
Linedef flag: Draw lower texture from bottom-up.static final int
Linedef flag: Draw upper texture from top-down. -
Method Summary
Modifier and TypeMethodDescriptiondefault int
value
(int flag) Gets the bit value of the flag (shifted).
-
Field Details
-
IMPASSABLE
static final int IMPASSABLELinedef flag: Blocks players and monsters.- See Also:
-
BLOCK_MONSTERS
static final int BLOCK_MONSTERSLinedef flag: Blocks monsters.- See Also:
-
TWO_SIDED
static final int TWO_SIDEDLinedef flag: Two-sided.- See Also:
-
UNPEG_TOP
static final int UNPEG_TOPLinedef flag: Draw upper texture from top-down.- Since:
- 2.9.0, naming convention change.
- See Also:
-
UNPEG_BOTTOM
static final int UNPEG_BOTTOMLinedef flag: Draw lower texture from bottom-up.- Since:
- 2.9.0, naming convention change.
- See Also:
-
SECRET
static final int SECRETLinedef flag: Render as solid wall on automap.- See Also:
-
BLOCK_SOUND
static final int BLOCK_SOUNDLinedef flag: Blocks sound propagation (needs two).- See Also:
-
NOT_DRAWN
static final int NOT_DRAWNLinedef flag: Never drawn on automap.- See Also:
-
MAPPED
static final int MAPPEDLinedef flag: Immediately shown on automap.- See Also:
-
-
Method Details
-
value
default int value(int flag) Gets the bit value of the flag (shifted).- Parameters:
flag
- the input flag constant.- Returns:
- the resultant value.
-