Fixed up image loading to use the now-non-static ImageManager class.
Modified TileManager to store the height of a tile in the Tile object's member data when the tile is initially created since we would like to be able to reference it speedily. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@63 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" standalone="yes"?>
|
||||
|
||||
<!-- $Id: tilesets.xml,v 1.1 2001/07/17 17:16:53 shaper Exp $ -->
|
||||
<!-- $Id: tilesets.xml,v 1.2 2001/07/18 22:45:33 shaper Exp $ -->
|
||||
|
||||
<!-- Initial test tileset description data. -->
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<tileset>
|
||||
<name>Ground</name>
|
||||
<tsid>1000</tsid>
|
||||
<imagefile>rsrc/media/miso/tiles-base.png</imagefile>
|
||||
<imagefile>media/miso/tiles-base.png</imagefile>
|
||||
<rowheight>16, 16</rowheight>
|
||||
<tilecount>10, 10</tilecount>
|
||||
</tileset>
|
||||
@@ -17,9 +17,9 @@
|
||||
<tileset>
|
||||
<name>Wall</name>
|
||||
<tsid>1001</tsid>
|
||||
<imagefile>rsrc/media/miso/tiles-wall.png</imagefile>
|
||||
<imagefile>media/miso/tiles-wall.png</imagefile>
|
||||
<rowheight>45, 45</rowheight>
|
||||
<tilecount>2, 2</tilecount>
|
||||
<tilecount>3, 3</tilecount>
|
||||
</tileset>
|
||||
|
||||
</tilesetgroup>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user