More scene and spot scene refactoring. Got parsers working for those in
the new new style (or was that the new new new style). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@739 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!-- test spot scene parser -->
|
||||
<scene name="Test Scene" version="42" defaultEntranceId="3">
|
||||
<location locationId="0" x="12" y="15" orientation="0" clusterIndex="0"/>
|
||||
<location locationId="1" x="16" y="25" orientation="0" clusterIndex="1"/>
|
||||
<location locationId="2" x="9" y="1" orientation="3" clusterIndex="1"/>
|
||||
<portal locationId="3" x="1" y="25" orientation="3" name="East portal"
|
||||
targetSceneName="East scene" targetPortalName="West portal"/>
|
||||
<portal locationId="4" x="25" y="1" orientation="5" name="North portal"
|
||||
targetSceneName="North scene" targetPortalName="South portal"/>
|
||||
</scene>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!-- test scene parser -->
|
||||
<scene name="Test Scene" version="42">
|
||||
<neighbor>Some neighbor</neighbor>
|
||||
<neighbor>Some other neighbor</neighbor>
|
||||
<neighbor>Yet another neighbor</neighbor>
|
||||
</scene>
|
||||
Reference in New Issue
Block a user