diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-03-05 16:07:07 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-03-05 16:07:07 -0500 |
commit | 13f946689e28e99ac71172925f63f4320798a0ee (patch) | |
tree | ba30132da24aa70b0d2daffc96ac3b3f63d57df6 /res/maps.xsd | |
parent | dbc486d5cc0fa6b7cdb690fb4591f292d33e9ecc (diff) | |
download | therapy-13f946689e28e99ac71172925f63f4320798a0ee.tar.gz therapy-13f946689e28e99ac71172925f63f4320798a0ee.tar.bz2 therapy-13f946689e28e99ac71172925f63f4320798a0ee.zip |
Added entity indexing
Changed the world format so that map objects are indexed (per map). The next available map object index is cached for each map.
Diffstat (limited to 'res/maps.xsd')
-rw-r--r-- | res/maps.xsd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/maps.xsd b/res/maps.xsd index 9d36fab..64fd21f 100644 --- a/res/maps.xsd +++ b/res/maps.xsd | |||
@@ -54,6 +54,7 @@ | |||
54 | <xs:attribute name="type" type="xs:string" use="required" /> | 54 | <xs:attribute name="type" type="xs:string" use="required" /> |
55 | <xs:attribute name="x" type="xs:integer" use="required" /> | 55 | <xs:attribute name="x" type="xs:integer" use="required" /> |
56 | <xs:attribute name="y" type="xs:integer" use="required" /> | 56 | <xs:attribute name="y" type="xs:integer" use="required" /> |
57 | <xs:attribute name="index" type="xs:integer" use="required" /> | ||
57 | </xs:complexType> | 58 | </xs:complexType> |
58 | </xs:element> | 59 | </xs:element> |
59 | 60 | ||
@@ -77,6 +78,7 @@ | |||
77 | </xs:restriction> | 78 | </xs:restriction> |
78 | </xs:simpleType> | 79 | </xs:simpleType> |
79 | </xs:attribute> | 80 | </xs:attribute> |
81 | <xs:attribute name="nextObject" type="xs:integer" use="required" /> | ||
80 | </xs:complexType> | 82 | </xs:complexType> |
81 | </xs:element> | 83 | </xs:element> |
82 | </xs:sequence> | 84 | </xs:sequence> |