Extracted tile code from MISO and moved it into it's own package in media
because it's general purpose. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@273 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// $Id: Tile.java,v 1.10 2001/08/15 02:30:27 shaper Exp $
|
||||
// $Id: Tile.java,v 1.11 2001/08/16 23:14:20 mdb Exp $
|
||||
|
||||
package com.threerings.miso.tile;
|
||||
package com.threerings.media.tile;
|
||||
|
||||
import java.awt.Image;
|
||||
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
//
|
||||
// $Id: TileManager.java,v 1.14 2001/08/13 19:54:39 shaper Exp $
|
||||
// $Id: TileManager.java,v 1.15 2001/08/16 23:14:20 mdb Exp $
|
||||
|
||||
package com.threerings.miso.tile;
|
||||
|
||||
import com.threerings.miso.Log;
|
||||
|
||||
import com.samskivert.util.IntMap;
|
||||
package com.threerings.media.tile;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import com.samskivert.util.IntMap;
|
||||
|
||||
import com.threerings.media.Log;
|
||||
|
||||
/**
|
||||
* The <code>TileManager</code> class provides a simplified interface
|
||||
* for retrieving and caching tiles.
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
//
|
||||
// $Id: TileSet.java,v 1.13 2001/08/13 19:54:39 shaper Exp $
|
||||
// $Id: TileSet.java,v 1.14 2001/08/16 23:14:20 mdb Exp $
|
||||
|
||||
package com.threerings.miso.tile;
|
||||
package com.threerings.media.tile;
|
||||
|
||||
import java.awt.Image;
|
||||
import java.awt.Point;
|
||||
import java.awt.image.*;
|
||||
|
||||
import com.samskivert.util.StringUtil;
|
||||
import com.threerings.miso.Log;
|
||||
import com.threerings.media.Log;
|
||||
import com.threerings.media.ImageManager;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// $Id: TileSetManager.java,v 1.11 2001/08/13 19:54:39 shaper Exp $
|
||||
// $Id: TileSetManager.java,v 1.12 2001/08/16 23:14:20 mdb Exp $
|
||||
|
||||
package com.threerings.miso.tile;
|
||||
package com.threerings.media.tile;
|
||||
|
||||
import com.threerings.media.ImageManager;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: TileSetManagerImpl.java,v 1.9 2001/08/13 19:54:39 shaper Exp $
|
||||
// $Id: TileSetManagerImpl.java,v 1.10 2001/08/16 23:14:21 mdb Exp $
|
||||
|
||||
package com.threerings.miso.tile;
|
||||
|
||||
@@ -10,6 +10,8 @@ import java.util.Enumeration;
|
||||
|
||||
import com.samskivert.util.*;
|
||||
import com.threerings.media.ImageManager;
|
||||
import com.threerings.media.tile.*;
|
||||
|
||||
import com.threerings.miso.Log;
|
||||
|
||||
public abstract class TileSetManagerImpl implements TileSetManager
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// $Id: TileSetParser.java,v 1.4 2001/07/23 22:31:48 shaper Exp $
|
||||
// $Id: TileSetParser.java,v 1.5 2001/08/16 23:14:20 mdb Exp $
|
||||
|
||||
package com.threerings.miso.tile;
|
||||
package com.threerings.media.tile;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// $Id: XMLTileSetParser.java,v 1.12 2001/08/16 20:14:06 shaper Exp $
|
||||
// $Id: XMLTileSetParser.java,v 1.13 2001/08/16 23:14:20 mdb Exp $
|
||||
|
||||
package com.threerings.miso.tile;
|
||||
package com.threerings.media.tile;
|
||||
|
||||
import java.awt.Point;
|
||||
import java.io.*;
|
||||
@@ -13,7 +13,7 @@ import org.xml.sax.helpers.DefaultHandler;
|
||||
|
||||
import com.samskivert.util.*;
|
||||
import com.samskivert.xml.XMLUtil;
|
||||
import com.threerings.miso.Log;
|
||||
import com.threerings.media.Log;
|
||||
|
||||
/**
|
||||
* Parse an XML tileset description file and construct tileset objects
|
||||
|
||||
Reference in New Issue
Block a user