Package | Description |
---|---|
com.realtime.crossfire.jxclient.faces |
Manages image information ("faces") needed to display the map view, items,
and spell icons.
|
com.realtime.crossfire.jxclient.gui.map | |
com.realtime.crossfire.jxclient.items | |
com.realtime.crossfire.jxclient.map |
Implements the map model which is shown in the map and magic map views.
|
com.realtime.crossfire.jxclient.shortcuts |
Modifier and Type | Field and Description |
---|---|
private Face |
FileCacheFaceQueue.LoadTask.face
The face to load.
|
private Face |
FileCacheFaceQueue.SaveTask.face
The face to save.
|
private Face[] |
FaceCache.faces
The cached faces.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,Face> |
AskfaceFaceQueue.pendingAskfaces
Face numbers for which "askface" commands have been sent without having
received a response from the server.
|
private java.util.Map<java.lang.Integer,Face> |
AskfaceFaceQueue.pendingFaces
Face numbers for which an "askface" command should be sent.
|
private java.util.List<Face> |
AskfaceFaceQueue.pendingFacesQueue
The same elements as
AskfaceFaceQueue.pendingFaces in query order. |
private java.util.Collection<Face> |
FileCacheFaceQueue.pendingLoadFaces
The faces for which
FileCacheFaceQueue.loadFace(Face) has been called but that are
not yet processed. |
Modifier and Type | Method and Description |
---|---|
Face |
FaceCache.getFace(int faceNum)
Returns a face by face id.
|
Face |
FacesManager.getFace(int faceNum)
Returns the
Face instance for a given face ID. |
Face |
AbstractFacesManager.getFace(int faceNum)
Returns the
Face instance for a given face ID. |
Face |
FacesManager.getFace2(int faceNum)
Returns the
Face instance for a given face ID. |
Face |
AbstractFacesManager.getFace2(int faceNum)
Returns the
Face instance for a given face ID. |
protected Face |
AbstractFacesManager.lookupFace(int faceNum)
Returns the
Face instance for a given face ID. |
Modifier and Type | Method and Description |
---|---|
void |
FaceCache.addFace(Face face)
Adds a new face to the cache.
|
void |
FaceQueueListener.faceFailed(Face face)
Called after a
Face could not be loaded. |
void |
FaceQueueListener.faceLoaded(Face face,
FaceImages faceImages)
Called after a
Face has been loaded successfully. |
void |
FacesManagerListener.faceUpdated(Face face)
Called when a
Face has been updated. |
protected void |
AbstractFaceQueue.fireFaceFailed(Face face)
Notify all listener with
FaceQueueListener.faceFailed(Face) . |
protected void |
AbstractFaceQueue.fireFaceLoaded(Face face,
FaceImages faceImages)
Notify all listener with
FaceQueueListener.faceLoaded(Face,
FaceImages) . |
protected void |
AbstractFacesManager.fireFaceUpdated(Face face)
Notifies all
FacesManagerListeners that a
face has been updated. |
javax.swing.ImageIcon |
FileCache.load(Face face)
Retrieves an image from the cache.
|
javax.swing.ImageIcon |
ImageCache.load(Face face)
Retrieves an image from the cache.
|
void |
FileCacheFaceQueue.loadFace(Face face)
Request a face.
|
void |
AskfaceFaceQueue.loadFace(Face face)
Request a face.
|
void |
FacesQueue.loadFace(Face face)
Request a face.
|
void |
FaceQueue.loadFace(Face face)
Request a face.
|
private void |
AskfaceFaceQueue.processFaceData(Face face,
byte[] data)
Processes face information received from the server.
|
void |
FileCache.save(Face face,
javax.swing.ImageIcon imageIcon)
Stores an
ImageIcon into the cache. |
void |
ImageCache.save(Face face,
javax.swing.ImageIcon imageIcon)
Stores an
ImageIcon into the cache. |
void |
FileCacheFaceQueue.saveFace(Face face,
FaceImages faceImages)
Saves a face to the caches.
|
Constructor and Description |
---|
FileCacheFaceQueue.LoadTask(Face face)
Creates a new instance.
|
FileCacheFaceQueue.SaveTask(Face face,
FaceImages faceImages)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
private void |
AbstractGUIMap.paintImage(java.awt.Graphics g,
Face face,
int px,
int py,
int offsetX,
int offsetY)
Paints a face into a tile.
|
Modifier and Type | Field and Description |
---|---|
private Face |
CfItem.face
The face.
|
Modifier and Type | Method and Description |
---|---|
Face |
CfItem.getFace()
Returns the face.
|
Modifier and Type | Method and Description |
---|---|
private void |
CfItem.setFace(Face face)
Updates the face.
|
void |
CfItem.update(int updateFlags,
int flags,
int weight,
Face face,
java.lang.String name,
java.lang.String namePl,
int anim,
int animSpeed,
int nrof)
Processes an "upditem" command.
|
void |
ItemSet.updateItem(int flags,
int tag,
int valLocation,
int valFlags,
int valWeight,
Face valFace,
java.lang.String valName,
java.lang.String valNamePl,
int valAnim,
int valAnimSpeed,
int valNrof)
Processes an "upditem" command.
|
Constructor and Description |
---|
CfItem(int location,
int tag,
int flags,
int weight,
Face face,
java.lang.String name,
java.lang.String namePl,
int anim,
int animSpeed,
int nrof,
int type)
Creates a new instance.
|
CfPlayer(int tag,
int weight,
Face face,
java.lang.String name)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
static Face |
CfMapSquare.DEFAULT_FACE
The default face value for newly creates squares.
|
private Face[] |
CfMapSquare.faces
The faces (of head-parts) of all layers as sent by the server.
|
Modifier and Type | Method and Description |
---|---|
Face |
CfMapSquare.getFace(int layer)
Returns the face of a layer.
|
Face |
CfMapPatch.getFace(int x,
int y,
int layer)
Determines the face of one square.
|
Face |
CfMap.getFace(int x,
int y,
int layer)
Determines the face of one square.
|
Modifier and Type | Method and Description |
---|---|
private void |
CfMap.dirtyFace(int x,
int y,
int layer,
Face face)
Marks one face as "dirty".
|
private void |
CfMap.expandFace(int x,
int y,
int layer,
Face face,
CfMapSquare oldMapSquare,
CfMapSquare newMapSquare)
Adds or removes "head" pointer to/from tail-parts of a face.
|
void |
MapUpdaterState.faceUpdated(Face face)
Called when a
Face has been updated. |
void |
CfMapSquare.setFace(int layer,
Face face)
Sets the face of a layer.
|
void |
CfMap.setFace(int x,
int y,
int layer,
Face face)
Sets the face of one square.
|
private void |
CfMap.setFaceInternal(int x,
int y,
int layer,
Face face)
Sets the face of one square.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ShortcutSpell.displaysFace(Face face)
Returns whether this shortcut displays the given face.
|
abstract boolean |
Shortcut.displaysFace(Face face)
Returns whether this shortcut displays the given face.
|
boolean |
ShortcutCommand.displaysFace(Face face)
Returns whether this shortcut displays the given face.
|