Major media subsystem revamp:

- All images are loaded through the image manager
- Architected to allow the use of prepared or unprepared images (and
  volatile images when the day comes that they support alpha)
- Tunable caches for images and tiles
- Resource manager caches unpacked resources on the filesystem
- Various and sundry other cleanups


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2116 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-01-13 22:49:47 +00:00
parent 8743be2131
commit 100aa3ace3
46 changed files with 1602 additions and 888 deletions
@@ -1,24 +1,21 @@
//
// $Id: NoSuchTileSetException.java,v 1.1 2001/10/11 00:41:26 shaper Exp $
// $Id: NoSuchTileSetException.java,v 1.2 2003/01/13 22:49:46 mdb Exp $
package com.threerings.media.tile;
/**
* Thrown when an attempt is made to retrieve a non-existent tile set
* from the tile set manager.
* Thrown when an attempt is made to retrieve a non-existent tile set from
* the tile set manager.
*/
public class NoSuchTileSetException extends TileException
public class NoSuchTileSetException extends Exception
{
public NoSuchTileSetException (int tsid)
public NoSuchTileSetException (String tileSetName)
{
super("No such tile set [tsid=" + tsid + "]");
_tsid = tsid;
super("No tile set named '" + tileSetName + "'");
}
public int getTileSetId ()
public NoSuchTileSetException (int tileSetId)
{
return _tsid;
super("No tile set with id '" + tileSetId + "'");
}
protected int _tsid;
}