More work on object tiles. Revamped isometric scene rendering to

gather dirty sprites and objects and render after base and fringe tile
layers.  Add shadow tiles in the footprint of objects to make them
impassable.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@460 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2001-10-13 01:08:59 +00:00
parent eb3bc62083
commit 3773da79a6
10 changed files with 439 additions and 152 deletions
@@ -1,8 +1,10 @@
//
// $Id: EditableMisoScene.java,v 1.2 2001/10/05 23:58:36 mdb Exp $
// $Id: EditableMisoScene.java,v 1.3 2001/10/13 01:08:59 shaper Exp $
package com.threerings.miso.scene;
import com.threerings.miso.tile.MisoTile;
/**
* The editable Miso scene interface provides the means for modifying a
* Miso scene which is needed by things like the scene editor. This is
@@ -23,6 +25,11 @@ public interface EditableMisoScene
*/
public void setName (String name);
/**
* Updates the scene's default tile.
*/
public void setDefaultTile (MisoTile tile);
/**
* Set the default entrance portal for this scene.
*
@@ -1,5 +1,5 @@
//
// $Id: XMLSceneParser.java,v 1.18 2001/10/11 00:41:27 shaper Exp $
// $Id: XMLSceneParser.java,v 1.19 2001/10/13 01:08:59 shaper Exp $
package com.threerings.miso.scene.xml;
@@ -311,6 +311,9 @@ public class XMLSceneParser extends DefaultHandler
// read the XML input stream and construct the scene object
XMLUtil.parse(this, bis);
// place shadow tiles for any objects in the scene
_info.scene.prepareAllObjectTiles();
// return the final scene object
return _info.scene;