public interface Map2
Interface defining constants for the "map2" Crossfire protocol message.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The mask for extracting the animation ID.
    static final int
    Animation type: normal animation.
    static final int
    Animation type: randomized animation.
    static final int
    Animation type: synchronized animation.
    static final int
    The mask for extracting the animation type.
    static final int
    The lowest bit of the animation type.
    static final int
    Clear a square.
    static final int
    Darkness information.
    static final int
    Face information for layer 0.
    static final int
    Face information for layer 1.
    static final int
    Face information for layer 2.
    static final int
    Face information for layer 3.
    static final int
    Face information for layer 4.
    static final int
    Face information for layer 5.
    static final int
    Face information for layer 6.
    static final int
    Face information for layer 7.
    static final int
    Face information for layer 8.
    static final int
    Face information for layer 9.
    static final int
    Offset for coordinate values in map2 command.
    static final int
    The bit value whether this is a face or an animation.
    static final int
    The total number of map layers to display.
    static final int
    Normal coordinate.
    static final int
    Scroll information.
  • Field Details

    • NUM_LAYERS

      static final int NUM_LAYERS
      The total number of map layers to display.
      See Also:
    • COORD_OFFSET

      static final int COORD_OFFSET
      Offset for coordinate values in map2 command.
      See Also:
    • TYPE_COORDINATE

      static final int TYPE_COORDINATE
      Normal coordinate.
      See Also:
    • TYPE_SCROLL

      static final int TYPE_SCROLL
      Scroll information.
      See Also:
    • COORD_CLEAR_SPACE

      static final int COORD_CLEAR_SPACE
      Clear a square.
      See Also:
    • COORD_DARKNESS

      static final int COORD_DARKNESS
      Darkness information.
      See Also:
    • COORD_LAYER0

      static final int COORD_LAYER0
      Face information for layer 0.
      See Also:
    • COORD_LAYER1

      static final int COORD_LAYER1
      Face information for layer 1.
      See Also:
    • COORD_LAYER2

      static final int COORD_LAYER2
      Face information for layer 2.
      See Also:
    • COORD_LAYER3

      static final int COORD_LAYER3
      Face information for layer 3.
      See Also:
    • COORD_LAYER4

      static final int COORD_LAYER4
      Face information for layer 4.
      See Also:
    • COORD_LAYER5

      static final int COORD_LAYER5
      Face information for layer 5.
      See Also:
    • COORD_LAYER6

      static final int COORD_LAYER6
      Face information for layer 6.
      See Also:
    • COORD_LAYER7

      static final int COORD_LAYER7
      Face information for layer 7.
      See Also:
    • COORD_LAYER8

      static final int COORD_LAYER8
      Face information for layer 8.
      See Also:
    • COORD_LAYER9

      static final int COORD_LAYER9
      Face information for layer 9.
      See Also:
    • FACE_ANIMATION

      static final int FACE_ANIMATION
      The bit value whether this is a face or an animation.
      See Also:
    • ANIM_NORMAL

      static final int ANIM_NORMAL
      Animation type: normal animation. Starts at index zero.
      See Also:
    • ANIM_RANDOM

      static final int ANIM_RANDOM
      Animation type: randomized animation. Starts at random index.
      See Also:
    • ANIM_SYNC

      static final int ANIM_SYNC
      Animation type: synchronized animation. Starts at same state as similar animations.
      See Also:
    • ANIM_MASK

      static final int ANIM_MASK
      The mask for extracting the animation ID.
      See Also:
    • ANIM_TYPE_SHIFT

      static final int ANIM_TYPE_SHIFT
      The lowest bit of the animation type.
      See Also:
    • ANIM_TYPE_MASK

      static final int ANIM_TYPE_MASK
      The mask for extracting the animation type. To be applied after shifting.
      See Also: