Crossfire JXClient, Trunk
R20561
|
Interface defining constants for the "map2" Crossfire protocol message. More...
Public Attributes | |
int | ANIM_MASK = 0x1FFF |
The mask for extracting the animation ID. More... | |
int | ANIM_NORMAL = 0 |
Animation type: normal animation. More... | |
int | ANIM_RANDOM = 1 |
Animation type: randomized animation. More... | |
int | ANIM_SYNC = 2 |
Animation type: synchronized animation. More... | |
int | ANIM_TYPE_MASK = 3 |
The mask for extracting the animation type. More... | |
int | ANIM_TYPE_SHIFT = 13 |
The lowest bit of the animation type. More... | |
int | COORD_CLEAR_SPACE = 0 |
Clear a square. More... | |
int | COORD_DARKNESS = 1 |
Darkness information. More... | |
int | COORD_LAYER0 = 0x10 |
Face information for layer 0. More... | |
int | COORD_LAYER1 = 0x11 |
Face information for layer 1. More... | |
int | COORD_LAYER2 = 0x12 |
Face information for layer 2. More... | |
int | COORD_LAYER3 = 0x13 |
Face information for layer 3. More... | |
int | COORD_LAYER4 = 0x14 |
Face information for layer 4. More... | |
int | COORD_LAYER5 = 0x15 |
Face information for layer 5. More... | |
int | COORD_LAYER6 = 0x16 |
Face information for layer 6. More... | |
int | COORD_LAYER7 = 0x17 |
Face information for layer 7. More... | |
int | COORD_LAYER8 = 0x18 |
Face information for layer 8. More... | |
int | COORD_LAYER9 = 0x19 |
Face information for layer 9. More... | |
int | COORD_OFFSET = 15 |
Offset for coordinate values in map2 command. More... | |
int | FACE_ANIMATION = 0x8000 |
Bit value whether this is a face or an animation. More... | |
int | NUM_LAYERS = 10 |
The total number of map layers to display. More... | |
int | TYPE_COORDINATE = 0 |
Normal coordinate. More... | |
int | TYPE_SCROLL = 1 |
Scroll information. More... | |
Interface defining constants for the "map2" Crossfire protocol message.
int com.realtime.crossfire.jxclient.protocol.Map2.ANIM_MASK = 0x1FFF |
The mask for extracting the animation ID.
Definition at line 134 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2CoordinateLayer().
int com.realtime.crossfire.jxclient.protocol.Map2.ANIM_NORMAL = 0 |
Animation type: normal animation.
Starts at index zero.
Definition at line 118 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.map.CfMapAnimations.add().
int com.realtime.crossfire.jxclient.protocol.Map2.ANIM_RANDOM = 1 |
Animation type: randomized animation.
Starts at random index.
Definition at line 123 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.map.CfMapAnimations.add().
int com.realtime.crossfire.jxclient.protocol.Map2.ANIM_SYNC = 2 |
Animation type: synchronized animation.
Starts at same state as similar animations.
Definition at line 129 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.map.CfMapAnimations.add().
int com.realtime.crossfire.jxclient.protocol.Map2.ANIM_TYPE_MASK = 3 |
The mask for extracting the animation type.
To be applied after shifting.
Definition at line 145 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2CoordinateLayer().
int com.realtime.crossfire.jxclient.protocol.Map2.ANIM_TYPE_SHIFT = 13 |
The lowest bit of the animation type.
Definition at line 139 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2CoordinateLayer().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_CLEAR_SPACE = 0 |
Clear a square.
Definition at line 53 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_DARKNESS = 1 |
Darkness information.
Definition at line 58 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_LAYER0 = 0x10 |
Face information for layer 0.
Definition at line 63 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_LAYER1 = 0x11 |
Face information for layer 1.
Definition at line 68 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_LAYER2 = 0x12 |
Face information for layer 2.
Definition at line 73 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_LAYER3 = 0x13 |
Face information for layer 3.
Definition at line 78 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_LAYER4 = 0x14 |
Face information for layer 4.
Definition at line 83 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_LAYER5 = 0x15 |
Face information for layer 5.
Definition at line 88 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_LAYER6 = 0x16 |
Face information for layer 6.
Definition at line 93 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_LAYER7 = 0x17 |
Face information for layer 7.
Definition at line 98 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_LAYER8 = 0x18 |
Face information for layer 8.
Definition at line 103 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_LAYER9 = 0x19 |
Face information for layer 9.
Definition at line 108 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2Coordinate().
int com.realtime.crossfire.jxclient.protocol.Map2.COORD_OFFSET = 15 |
Offset for coordinate values in map2 command.
Definition at line 38 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processMap2().
int com.realtime.crossfire.jxclient.protocol.Map2.FACE_ANIMATION = 0x8000 |
Bit value whether this is a face or an animation.
Definition at line 113 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2CoordinateLayer(), and com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.cmdMap2CoordinateLayer3().
int com.realtime.crossfire.jxclient.protocol.Map2.NUM_LAYERS = 10 |
The total number of map layers to display.
Definition at line 33 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.map.CfMap.clearSquare(), com.realtime.crossfire.jxclient.gui.map.AbstractGUIMap.redrawSquare(), com.realtime.crossfire.jxclient.map.CfMapAnimations.remove(), com.realtime.crossfire.jxclient.map.CfMap.setDarkness(), com.realtime.crossfire.jxclient.map.CfMap.setFace(), com.realtime.crossfire.jxclient.map.CfMap.setMagicMap(), com.realtime.crossfire.jxclient.map.CfMap.setSmooth(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.toString(), and com.realtime.crossfire.jxclient.map.CfMap.updateFace().
int com.realtime.crossfire.jxclient.protocol.Map2.TYPE_COORDINATE = 0 |
Normal coordinate.
Definition at line 43 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processMap2().
int com.realtime.crossfire.jxclient.protocol.Map2.TYPE_SCROLL = 1 |
Scroll information.
Definition at line 48 of file Map2.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processMap2().