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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user