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

    Fields
    Modifier and Type
    Field
    Description
    static 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 Type
    Method
    Description
    default int
    value(int flag)
    Gets the bit value of the flag (shifted).
  • Field Details

    • IMPASSABLE

      static final int IMPASSABLE
      Linedef flag: Blocks players and monsters.
      See Also:
    • BLOCK_MONSTERS

      static final int BLOCK_MONSTERS
      Linedef flag: Blocks monsters.
      See Also:
    • TWO_SIDED

      static final int TWO_SIDED
      Linedef flag: Two-sided.
      See Also:
    • UNPEG_TOP

      static final int UNPEG_TOP
      Linedef flag: Draw upper texture from top-down.
      Since:
      2.9.0, naming convention change.
      See Also:
    • UNPEG_BOTTOM

      static final int UNPEG_BOTTOM
      Linedef flag: Draw lower texture from bottom-up.
      Since:
      2.9.0, naming convention change.
      See Also:
    • SECRET

      static final int SECRET
      Linedef flag: Render as solid wall on automap.
      See Also:
    • BLOCK_SOUND

      static final int BLOCK_SOUND
      Linedef flag: Blocks sound propagation (needs two).
      See Also:
    • NOT_DRAWN

      static final int NOT_DRAWN
      Linedef flag: Never drawn on automap.
      See Also:
    • MAPPED

      static final int MAPPED
      Linedef 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.