changeset 4:8208a0fde4c2

Re #7 - Remove DTDs from GTK GUI project because they're API related rather than GUI related no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Fri, 26 Dec 2008 12:33:04 +0000
parents 6e6284a43843
children 65279b85446f
files WarFoundryGUI.mdp dtds/army.dtd dtds/race.dtd dtds/system.dtd dtds/translation.dtd
diffstat 5 files changed, 0 insertions(+), 137 deletions(-) [+]
line wrap: on
line diff
--- a/WarFoundryGUI.mdp	Tue Dec 23 20:29:09 2008 +0000
+++ b/WarFoundryGUI.mdp	Fri Dec 26 12:33:04 2008 +0000
@@ -35,10 +35,6 @@
     <File name="gtk-gui/objects.xml" subtype="Code" buildaction="EmbedAsResource" />
     <File name="gtk-gui/IBBoard.WarFoundry.Widgets.UnitDisplayWidget.cs" subtype="Code" buildaction="Compile" />
     <File name="translations/en.translation" subtype="Code" buildaction="Nothing" />
-    <File name="dtds/army.dtd" subtype="Code" buildaction="Nothing" />
-    <File name="dtds/race.dtd" subtype="Code" buildaction="Nothing" />
-    <File name="dtds/system.dtd" subtype="Code" buildaction="Nothing" />
-    <File name="dtds/translation.dtd" subtype="Code" buildaction="Nothing" />
   </Contents>
   <References>
     <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
--- a/dtds/army.dtd	Tue Dec 23 20:29:09 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<!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>
\ No newline at end of file
--- a/dtds/race.dtd	Tue Dec 23 20:29:09 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-<!ELEMENT race (units,categories?,equipment?, abilities?)>
-<!ELEMENT categories (cat+)>
-<!ELEMENT cat EMPTY>
-<!ELEMENT units (unit+)>
-<!ELEMENT unit (unitCats,stats,unitEquipment,requires?,exclusiveOf?,champions?,specialItems?,attachable?,additionalMembers?)>
-<!ELEMENT unitCats (unitCat+)>
-<!ELEMENT unitCat EMPTY>
-<!ELEMENT stats (stat+)>
-<!ELEMENT stat (#PCDATA)>
-<!ELEMENT unitEquipment (unitEquipmentItem*)>
-<!ELEMENT unitEquipmentItem EMPTY>
-<!ELEMENT requires (required+)>
-<!ELEMENT required EMPTY>
-<!ELEMENT exclusiveOf (exclusive+)>
-<!ELEMENT exclusive EMPTY>
-<!ELEMENT champions (champion+)>
-<!ELEMENT champion EMPTY>
-<!ELEMENT specialItems (specialItem+)>
-<!ELEMENT specialItem EMPTY>
-<!ELEMENT attachable (attachableUnit+)>
-<!ELEMENT attachableUnit EMPTY>
-<!ELEMENT additionalMembers (additionalMember+)>
-<!ELEMENT additionalMember EMPTY>
-<!ELEMENT equipment (equipmentItem*)>
-<!ELEMENT equipmentItem (stats?)>
-<!ELEMENT abilities (ability?)>
-<!ELEMENT ability (description,requirements)>
-<!ELEMENT description (#PCDATA)>
-<!ELEMENT requirements (requirement*)>
-<!ELEMENT requirement (#PCDATA)>
-
-<!ATTLIST race id ID #REQUIRED>
-<!ATTLIST race subid CDATA "">
-<!ATTLIST race system CDATA #REQUIRED>
-<!ATTLIST race name CDATA #REQUIRED>
-
-<!ATTLIST cat id ID #REQUIRED>
-<!ATTLIST cat name CDATA #REQUIRED>
-<!ATTLIST cat minimum CDATA #REQUIRED>
-<!ATTLIST cat maximum CDATA #REQUIRED>
-<!ATTLIST cat baseValue CDATA #IMPLIED>
-<!ATTLIST cat incValue CDATA #IMPLIED>
-<!ATTLIST cat incAmount CDATA #IMPLIED>
-
-<!ATTLIST unit id ID #REQUIRED>
-<!ATTLIST unit typeName CDATA #REQUIRED>
-<!ATTLIST unit cat CDATA #REQUIRED>
-<!ATTLIST unit unitPoints CDATA "0">
-<!ATTLIST unit points CDATA #REQUIRED>
-<!ATTLIST unit race CDATA "">
-<!ATTLIST unit minNum CDATA "0">
-<!ATTLIST unit maxNum CDATA "-1">
-<!ATTLIST unit minSize CDATA "5">
-<!ATTLIST unit maxSize CDATA "-1">
-<!ATTLIST unit baseSize CDATA "0">
-
-<!ATTLIST unitCat catID CDATA #REQUIRED>
-<!ATTLIST unitCat catCost CDATA "1">
-
-<!ATTLIST stats statSet CDATA "">
-
-<!ATTLIST stat name CDATA #REQUIRED>
-
-<!ATTLIST unitEquipmentItem id CDATA #REQUIRED>
-<!ATTLIST unitEquipmentItem required (true|false) "false">
-<!ATTLIST unitEquipmentItem exclusivityGroup CDATA "">
-<!ATTLIST unitEquipmentItem roundDirection (up|down) "up">
-
-<!ATTLIST equipmentItem id ID #REQUIRED>
-<!ATTLIST equipmentItem name CDATA #REQUIRED>
-<!ATTLIST equipmentItem cost CDATA #REQUIRED>
-<!ATTLIST equipmentItem min CDATA "-1">
-<!ATTLIST equipmentItem max CDATA "-1">
-<!ATTLIST equipmentItem armourType (None|Shield|LightArmour|LightArmourShield|HeavyArmour|HeavyArmourShield|Barding|BardingShield|BardingLightArmour|BardingLightArmourShield|BardingHeavyArmour|BardingHeavyArmourShield) "None">
-
-<!ATTLIST ability id ID #REQUIRED>
-<!ATTLIST ability name CDATA #REQUIRED>
--- a/dtds/system.dtd	Tue Dec 23 20:29:09 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-<!ELEMENT system (categories,sysStatsList)>
-<!ELEMENT categories (cat+)>
-<!ELEMENT cat EMPTY>
-<!ELEMENT sysStatsList (sysStats+)>
-<!ELEMENT sysStats (sysStat+)>
-<!ELEMENT sysStat EMPTY>
-
-<!ATTLIST system id ID #REQUIRED>
-<!ATTLIST system name CDATA #REQUIRED>
-<!ATTLIST system warn (true|false) "false">
-<!ATTLIST system allowAllies (true|false) "true">
-<!ATTLIST system isRosterBased (true|false) "false">
-
-<!ATTLIST cat id ID #REQUIRED>
-<!ATTLIST cat name CDATA #REQUIRED>
-<!ATTLIST cat minPoints CDATA "0">
-<!ATTLIST cat maxPoints CDATA "-1">
-<!ATTLIST cat minPercentage CDATA "0">
-<!ATTLIST cat maxPercentage CDATA "100">
-<!ATTLIST cat minChoices CDATA "0">
-<!ATTLIST cat maxChoices CDATA "-1">
-<!ATTLIST cat baseValue CDATA "0">
-<!ATTLIST cat incValue CDATA "0">
-<!ATTLIST cat incAmount CDATA "0">
-
-<!ATTLIST sysStatsList defaultStats CDATA #REQUIRED>
-
-<!ATTLIST sysStats id ID #REQUIRED>
-
-<!ATTLIST sysStat name CDATA #REQUIRED>
--- a/dtds/translation.dtd	Tue Dec 23 20:29:09 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<!ELEMENT translations (translation*)>
-<!ELEMENT translation (#PCDATA)> <!-- it's a damned ugly hack, but C# won't take "#CDATA" so use #PCDATA and always treat it as CDATA -->
-<!ATTLIST translation id ID #REQUIRED>
-<!ATTLIST translations lang CDATA #REQUIRED>
\ No newline at end of file