Serialized Form


Package com.threerings.cast

Class com.threerings.cast.ActionSequence extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name
The action sequence name.


framesPerSecond

float framesPerSecond
The number of frames per second to show when animating.


origin

Point origin
The position of the character's base for this sequence.


orients

int[] orients
Orientation codes for the orientations available for this action.

Class com.threerings.cast.CharacterComponent extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

componentId

int componentId
The unique component identifier.


name

String name
The component's name.


componentClass

ComponentClass componentClass
The class of components to which this one belongs.


_frameProvider

FrameProvider _frameProvider
The entity from which we obtain our animation frames.

Class com.threerings.cast.ComponentClass extends Object implements Serializable

serialVersionUID: 4L

Serialized Fields

name

String name
The component class name.


renderPriority

int renderPriority
The default render priority.


colors

String[] colors
The color classes to use when recoloring components of this class. May be null if a system does not use recolorable components.


mask

String mask
The class name of the layer from which this component class obtains a mask to limit rendering to certain areas.


shadow

String shadow
Indicates the class name of the shadow layer to which this component class contributes a shadow.


shadowAlpha

float shadowAlpha
1.0 for a normal component, the alpha value of the pre-composited shadow for the special "shadow" component class.


translate

boolean translate
Whether or not components of this class will have translations applied.


_overrides

ComparableArrayList<T extends Comparable<? super T>> _overrides
A list of render priority overrides.

Class com.threerings.cast.ComponentClass.PriorityOverride extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

renderPriority

int renderPriority
The overridden render priority value.


action

String action
The action, if any, for which this override is appropriate.


component

String component
The component, if any, for which this override is appropriate.


orients

ArrayIntSet orients
The orientations, if any, for which this override is appropriate.

Class com.threerings.cast.NoSuchComponentException extends Exception implements Serializable

Serialized Fields

_componentId

int _componentId

Package com.threerings.cast.builder

Class com.threerings.cast.builder.BuilderPanel extends JPanel implements Serializable

Class com.threerings.cast.builder.ClassEditor extends JPanel implements Serializable

Serialized Fields

_cclass

ComponentClass _cclass
The component class associated with this editor.


_components

List<E> _components
The components selectable via this editor.


_clabel

JLabel _clabel
The label denoting the currently selected component index.


_model

BuilderModel _model
The builder model.

Class com.threerings.cast.builder.ComponentPanel extends JPanel implements Serializable

Class com.threerings.cast.builder.SpritePanel extends JPanel implements Serializable

Serialized Fields

_sprite

CharacterSprite _sprite
The sprite displayed by the panel.


_charmgr

CharacterManager _charmgr
The character manager.


_model

BuilderModel _model
The builder model.


Package com.threerings.cast.bundle.tools

Class com.threerings.cast.bundle.tools.ComponentBundlerTask.HashMapIDBroker extends HashMap<Tuple<String,String>,Integer> implements Serializable

Serialized Fields

_nextCID

int _nextCID

_startCID

int _startCID

Class com.threerings.cast.bundle.tools.ComponentBundlerUtil.ActionMap extends HashMap<String,TileSet> implements Serializable

Serialized Fields

_name

String _name

Package com.threerings.media

Class com.threerings.media.ManagedJApplet extends JApplet implements Serializable

Serialized Fields

_fmgr

FrameManager _fmgr

Class com.threerings.media.ManagedJFrame extends JFrame implements Serializable

Serialized Fields

_fmgr

FrameManager _fmgr

Class com.threerings.media.MediaPanel extends JComponent implements Serializable

Serialized Fields

_metamgr

MetaMediaManager _metamgr
Handles most of our heavy lifting.


_animmgr

AnimationManager _animmgr
Legacy reference to avoid breaking children in the wild.


_spritemgr

SpriteManager _spritemgr
Legacy reference to avoid breaking children in the wild.


_remgr

RegionManager _remgr
Legacy reference to avoid breaking children in the wild.


_tickPaintPending

boolean _tickPaintPending
Used to correlate tick()s with paint()s.


_actionHandler

MediaPanel.ActionSpriteHandler _actionHandler
The action sprite handler, or null for none.


_actionSpriteCount

int _actionSpriteCount
The number of action/hover sprites being managed.


_obscurerList

ArrayList<E> _obscurerList
Anyone registered as someone who might obscure the media panel (and thus require extra redrawing.

Class com.threerings.media.SafeScrollPane extends JScrollPane implements Serializable

Serialized Fields

_override

Dimension _override

Class com.threerings.media.VirtualMediaPanel extends MediaPanel implements Serializable

Serialized Fields

_vbounds

Rectangle _vbounds
Our viewport bounds in virtual coordinates.


_nx

int _nx
Our target offsets to be effected on the next tick.


_ny

int _ny
Our target offsets to be effected on the next tick.


_dx

int _dx
Our scroll offsets.


_dy

int _dy
Our scroll offsets.


_background

Mirage _background
Our tiling background image.


_fmode

byte _fmode
The mode we're using when following a pathable.


_fpath

Pathable _fpath
The pathable being followed.


_abounds

Rectangle _abounds
We need to know our absolute coordinates in order to work around the Windows copyArea() bug.


_trackers

ArrayList<E> _trackers
A list of entities to be informed when the view scrolls.


Package com.threerings.media.image

Class com.threerings.media.image.ColorPository extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

_classes

HashIntMap<V> _classes
Our mapping from class names to class records.

Class com.threerings.media.image.ColorPository.ClassRecord extends Object implements Serializable

serialVersionUID: 2L

Serialized Fields

classId

int classId
An integer identifier for this class.


name

String name
The name of the color class.


source

Color source
The source color to use when recoloring colors in this class.


range

float[] range
Data identifying the range of colors around the source color that will be recolored when recoloring using this class.


starter

boolean starter
The default starting legality value for this color class. See ColorPository.ColorRecord.starter.


defaultId

int defaultId
The default colorId to use for recoloration in this class, or 0 if there is no default defined.


colors

HashIntMap<V> colors
A table of target colors included in this class.

Class com.threerings.media.image.ColorPository.ColorRecord extends Object implements Serializable

serialVersionUID: 2L

Serialized Fields

cclass

ColorPository.ClassRecord cclass
The colorization class to which we belong.


colorId

int colorId
A unique colorization identifier (used in fingerprints).


name

String name
The name of the target color.


offsets

float[] offsets
Data indicating the offset (in HSV color space) from the source color to recolor to this color.


starter

boolean starter
Tags this color as a legal starting color or not. This is a shameful copout, placing application-specific functionality into a general purpose library class.


Package com.threerings.media.tile

Class com.threerings.media.tile.NoSuchTileSetException extends Exception implements Serializable

Class com.threerings.media.tile.ObjectTileSet extends SwissArmyTileSet implements Serializable

serialVersionUID: 2L

Serialized Fields

_owidths

int[] _owidths
The width (in tile units) of our object tiles.


_oheights

int[] _oheights
The height (in tile units) of our object tiles.


_xorigins

int[] _xorigins
The x offset in pixels to the origin of the tile images.


_yorigins

int[] _yorigins
The y offset in pixels to the origin of the tile images.


_priorities

byte[] _priorities
The default render priorities of our objects.


_zations

String[] _zations
Colorization classes that apply to our objects.


_xspots

short[] _xspots
The x offset to the "spots" associated with our tiles.


_yspots

short[] _yspots
The y offset to the "spots" associated with our tiles.


_sorients

byte[] _sorients
The orientation of the "spots" associated with our tiles.


_constraints

String[][] _constraints
Lists of constraints associated with our tiles.

Class com.threerings.media.tile.SwissArmyTileSet extends TileSet implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

_tileCounts

int[] _tileCounts
The number of tiles in each row.


_numTiles

int _numTiles
The number of tiles in the tileset.


_widths

int[] _widths
The width of the tiles in each row in pixels.


_heights

int[] _heights
The height of the tiles in each row in pixels.


_offsetPos

Point _offsetPos
The offset distance (x, y) in pixels from the top-left of the image to the start of the first tile image.


_gapSize

Dimension _gapSize
The distance (x, y) in pixels between each tile in each row horizontally, and between each row of tiles vertically.

Class com.threerings.media.tile.TileSet extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

_imagePath

String _imagePath
The path to the file containing the tile images.


_name

String _name
The tileset name.

Class com.threerings.media.tile.TrimmedObjectTileSet extends TileSet implements Serializable

serialVersionUID: 1L

Serialized Fields

_bounds

Rectangle[] _bounds
Contains the width and height of each object tile and the offset into the tileset image of their image data.


_ometrics

Rectangle[] _ometrics
Contains the origin offset for each object tile and the object footprint width and height (in tile units).


_bits

TrimmedObjectTileSet.Bits[] _bits
Extra bits relating to our objects.


_zations

String[] _zations
Colorization classes that apply to our objects.

Class com.threerings.media.tile.TrimmedObjectTileSet.Bits extends Object implements Serializable

serialVersionUID: 2L

Serialized Fields

priority

byte priority
The default render priority for this object.


xspot

short xspot
The x coordinate of the "spot" associated with this object.


yspot

short yspot
The y coordinate of the "spot" associated with this object.


sorient

byte sorient
The orientation of the "spot" associated with this object.


constraints

String[] constraints
The constraints associated with this object.

Class com.threerings.media.tile.TrimmedTileSet extends TileSet implements Serializable

serialVersionUID: 1L

Serialized Fields

_obounds

Rectangle[] _obounds
The width and height of the trimmed tile, and the x and y offset of the trimmed image within our tileset image.


_tbounds

Rectangle[] _tbounds
The width and height of the untrimmed image and the x and y offset within the untrimmed image at which the trimmed image should be rendered.

Class com.threerings.media.tile.UniformTileSet extends TileSet implements Serializable

serialVersionUID: 3536616655149232917L

Serialized Fields

_width

int _width
The width (in pixels) of the tiles in this tileset.


_height

int _height
The height (in pixels) of the tiles in this tileset.


Package com.threerings.media.tile.bundle

Class com.threerings.media.tile.bundle.TileSetBundle extends HashIntMap<TileSet> implements Serializable

serialVersionUID: 2L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Throws:
IOException

Package com.threerings.media.tools

Class com.threerings.media.tools.RecolorImage extends JPanel implements Serializable

Serialized Fields

_image

BufferedImage _image

_chooser

JFileChooser _chooser

_colChooser

JFileChooser _colChooser

_imagePath

JTextField _imagePath

_colFilePath

JTextField _colFilePath

_oldImage

JLabel _oldImage

_newImage

JLabel _newImage

_colorLabel

JPanel _colorLabel

_source

JTextField _source

_target

JTextField _target

_hueO

RecolorImage.SliderAndLabel _hueO

_saturationO

RecolorImage.SliderAndLabel _saturationO

_valueO

RecolorImage.SliderAndLabel _valueO

_hueD

RecolorImage.SliderAndLabel _hueD

_saturationD

RecolorImage.SliderAndLabel _saturationD

_valueD

RecolorImage.SliderAndLabel _valueD

_status

JTextField _status

_classList

JComboBox _classList

_classList1

JComboBox _classList1

_classList2

JComboBox _classList2

_classList3

JComboBox _classList3

_classList4

JComboBox _classList4

_colorList1

JComboBox _colorList1

_colorList2

JComboBox _colorList2

_colorList3

JComboBox _colorList3

_colorList4

JComboBox _colorList4

_labelColors

JCheckBox _labelColors

_tabs

JTabbedPane _tabs

_colRepo

ColorPository _colRepo

Class com.threerings.media.tools.RecolorImage.SliderAndLabel extends JPanel implements Serializable

Serialized Fields

_slider

JSlider _slider

_intField

JLabel _intField

Package com.threerings.media.util

Class com.threerings.media.util.TiledArea extends JComponent implements Serializable

Serialized Fields

_tiler

BackgroundTiler _tiler

Package com.threerings.miso.client

Class com.threerings.miso.client.MisoScenePanel extends VirtualMediaPanel implements Serializable

Serialized Fields

_ctx

MisoContext _ctx
Provides access to a few things.


_metrics

MisoSceneMetrics _metrics
Contains basic scene metrics like tile width and height.


_model

MisoSceneModel _model
The scene model to be displayed.


_rsize

Dimension _rsize
Tracks the size at which we were last "rethunk".


_ulpos

Point _ulpos
Contains the tile coords of our upper-left view coord.


_ibounds

Rectangle _ibounds
Contains the bounds of our "area of influence" in screen coords.


_vibounds

Rectangle _vibounds
Contains the bounds of our visible "area of influence" in screen coords.


_rethinkOp

RethinkOp _rethinkOp
Used by MisoScenePanel.rethink().


_blocks

ConcurrentHashMap<K,V> _blocks
Contains our scene blocks. See MisoScenePanel.getBlock(int, int) for details.


_pendingBlocks

int _pendingBlocks
A count of blocks in the process of being resolved.


_visiBlocks

Set<E> _visiBlocks
Used to track visible blocks that are waiting to be resolved.


_delayRepaint

boolean _delayRepaint
Used to avoid repaints while we don't yet have resolved all the blocks needed to render the visible view.


_vizobjs

List<E> _vizobjs
A list of the potentially visible objects in the scene.


_masks

Map<K,V> _masks
Map of the masks used to calculate fringes in this scene.


_fringes

Map<K,V> _fringes
Map of active fringe tiles. Scene blocks have hard references to fringe tiles in this map for the tiles they're using, so the blocks coming in and out of the influential bounds determines which tiles remain in the map. The map is from FringeTile to FringeTile so a fully created FringeTile can be extracted from the map using a tile that contains only what's needed for hashCode and equals: id and passability.


_dirtyItems

DirtyItemList _dirtyItems
The dirty sprites and objects that need to be re-painted.


_dirtySprites

List<E> _dirtySprites
The working sprites list used when calculating dirty regions.


_paintOp

MisoScenePanel.PaintTileOp _paintOp
Used to paint tiles.


_tcoords

Point _tcoords
Temporary point used for intermediate calculations.


_hitSprites

List<E> _hitSprites
Used to collect the list of sprites "hit" by a particular mouse location.


_hitList

DirtyItemList _hitList
The list that we use to track and sort the items over which the mouse is hovering.


_hobject

Object _hobject
Info on the object that the mouse is currently hovering over.


_armedItem

Object _armedItem
The item that the user has clicked on with the mouse.


_activeMenu

RadialMenu _activeMenu
The active radial menu (or null).


_hcoords

Point _hcoords
Used to track the tile coordinates over which the mouse is hovering.


_indicators

Map<K,V> _indicators
Our object indicators, indexed by the object that they indicate.


_indicatorsLaidOut

boolean _indicatorsLaidOut
Have the indicators been laid out?


_showFlags

int _showFlags
Flags indicating which features we should show in the scene.


_resolver

SceneBlockResolver _resolver
The scene block resolver for this scene panel's context.


_dframe

JFrame _dframe

_dpanel

ResolutionView _dpanel

_applicator

TileOpApplicator _applicator

Class com.threerings.miso.client.ResolutionView extends JPanel implements Serializable

Serialized Fields

_panel

MisoScenePanel _panel

_metrics

MisoSceneMetrics _metrics

_blocks

HashMap<K,V> _blocks

Class com.threerings.miso.client.SceneObjectActionEvent extends ActionEvent implements Serializable

Serialized Fields

_scobj

SceneObject _scobj

Package com.threerings.miso.tile

Class com.threerings.miso.tile.BaseTileSet extends SwissArmyTileSet implements Serializable

serialVersionUID: 1L

Serialized Fields

_passable

boolean[] _passable
Whether each tile is passable.

Class com.threerings.miso.tile.FringeConfiguration extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

_frecs

HashIntMap<V> _frecs
The mapping from base tileset id to fringerecord.

Class com.threerings.miso.tile.FringeConfiguration.FringeRecord extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

base_tsid

int base_tsid
The tileset id of the base tileset to which this applies.


priority

int priority
The fringe priority of this base tileset.


tilesets

ArrayList<E> tilesets
A list of the possible tilesets that can be used for fringing.

Class com.threerings.miso.tile.FringeConfiguration.FringeTileSetRecord extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

fringe_tsid

int fringe_tsid
The tileset id of the fringe tileset.


mask

boolean mask
Is this a mask?


Package com.threerings.util

Class com.threerings.util.Resulting.ReusableInvocationException extends com.threerings.presents.server.InvocationException implements Serializable

Serialized Fields

_msg

String _msg

Class com.threerings.util.Resulting.StopException extends RuntimeException implements Serializable

Class com.threerings.util.StreamableArrayIntSet extends ArrayIntSet implements Serializable

Serialization Methods

readObject

public void readObject(com.threerings.io.ObjectInputStream arg0)
                throws IOException,
                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

public void writeObject(com.threerings.io.ObjectOutputStream arg0)
                 throws IOException
Throws:
IOException

Class com.threerings.util.StreamableArrayList extends ArrayList<E> implements Serializable

Serialization Methods

readObject

public void readObject(com.threerings.io.ObjectInputStream arg0)
                throws IOException,
                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

public void writeObject(com.threerings.io.ObjectOutputStream arg0)
                 throws IOException
Throws:
IOException

Class com.threerings.util.StreamableHashIntMap extends HashIntMap<V> implements Serializable

Serialization Methods

readObject

public void readObject(com.threerings.io.ObjectInputStream arg0)
                throws IOException,
                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

public void writeObject(com.threerings.io.ObjectOutputStream arg0)
                 throws IOException
Throws:
IOException

Class com.threerings.util.StreamableHashMap extends HashMap<K,V> implements Serializable

Serialization Methods

readObject

public void readObject(com.threerings.io.ObjectInputStream arg0)
                throws IOException,
                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

public void writeObject(com.threerings.io.ObjectOutputStream arg0)
                 throws IOException
Throws:
IOException

Class com.threerings.util.StreamableHashSet extends HashSet<E> implements Serializable

Serialization Methods

readObject

public void readObject(com.threerings.io.ObjectInputStream arg0)
                throws IOException,
                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

public void writeObject(com.threerings.io.ObjectOutputStream arg0)
                 throws IOException
Throws:
IOException

Class com.threerings.util.StreamableIntIntMap extends IntIntMap implements Serializable

Serialization Methods

readObject

public void readObject(com.threerings.io.ObjectInputStream arg0)
                throws IOException,
                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

public void writeObject(com.threerings.io.ObjectOutputStream arg0)
                 throws IOException
Throws:
IOException

Class com.threerings.util.StreamablePoint extends Point implements Serializable

Class com.threerings.util.StreamableRectangle extends Rectangle implements Serializable

Class com.threerings.util.StreamableTuple extends Tuple<L,R> implements Serializable