Mercurial > repos > IBBoard.WarFoundry.API
view dtds/army.dtd @ 14:0770e5cbba7c
Closes #21 - File loading in order
* Reworked LoadFiles to smaller methods for readability (also re #10) and structure
* Now determine expected load return before loading then load all "expected GameSystem" before "expected Race"
* Make "can load as race/game system/army" methods public in interface
Re #22 - Get errored file loading
* Created FileLoadFailure class and made LoadFiles return a list of them
Also
* Some code cleanup
* Change to DictionaryUtils calls
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 25 Jan 2009 14:03:20 +0000 |
parents | 163b35f875ef |
children |
line wrap: on
line source
<!ELEMENT army (units,customEquipment)> <!ELEMENT units (unit*)> <!ELEMENT unit (equipment?)> <!ELEMENT equipment (equipItem*)> <!ELEMENT equipItem EMPTY> <!ELEMENT customEquipment (customEquipment*)> <!ELEMENT customEquip EMPTY> <!ATTLIST army id CDATA #REQUIRED> <!ATTLIST army name CDATA #REQUIRED> <!ATTLIST army system CDATA #REQUIRED> <!ATTLIST army race CDATA #REQUIRED> <!ATTLIST army maxPoints CDATA #REQUIRED> <!ATTLIST unit id CDATA #REQUIRED> <!ATTLIST unit unitType CDATA #REQUIRED> <!ATTLIST unit unitName CDATA #REQUIRED> <!ATTLIST unit race CDATA ""> <!ATTLIST unit size CDATA ""> <!ATTLIST equipItem id CDATA #REQUIRED> <!ATTLIST equipItem amount CDATA #REQUIRED>