Mercurial > repos > IBBoard.WarFoundry.API
changeset 147:938409fc24cc WarFoundry_v0.1beta3_Winforms
Fixes #175: Add attribute to schema to define which stats set to use
* Add "statSet" attribute to <stats> tag
Also:
* Auto-clean up of project file
* Auto-clean up of line endings
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 25 Sep 2009 19:17:54 +0000 |
parents | 0b32cc40d82f |
children | 8e636443aa8e |
files | IBBoard.WarFoundry.API.csproj api/Objects/ArmyCategory.cs dtds/race.xsd |
diffstat | 3 files changed, 4 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/IBBoard.WarFoundry.API.csproj Wed Sep 23 19:58:21 2009 +0000 1.2 +++ b/IBBoard.WarFoundry.API.csproj Fri Sep 25 19:17:54 2009 +0000 1.3 @@ -42,6 +42,8 @@ 1.4 </None> 1.5 <None Include="dtds\race.xsd"> 1.6 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 1.7 + <SubType> 1.8 + </SubType> 1.9 </None> 1.10 <None Include="dtds\warfoundry-core.xsd"> 1.11 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2.1 --- a/api/Objects/ArmyCategory.cs Wed Sep 23 19:58:21 2009 +0000 2.2 +++ b/api/Objects/ArmyCategory.cs Fri Sep 25 19:17:54 2009 +0000 2.3 @@ -20,7 +20,7 @@ 2.4 private Dictionary<string, int> unitTypes; 2.5 private DoubleValChangedDelegate PointsValueChangedMethod; 2.6 public event ObjectAddDelegate UnitAdded; 2.7 - public event ObjectRemoveDelegate UnitRemoved; 2.8 + public event ObjectRemoveDelegate UnitRemoved; 2.9 public event FailedUnitRequirementDelegate FailedRequirement; 2.10 public event DoubleValChangedDelegate PointsValueChanged; 2.11
3.1 --- a/dtds/race.xsd Wed Sep 23 19:58:21 2009 +0000 3.2 +++ b/dtds/race.xsd Fri Sep 25 19:17:54 2009 +0000 3.3 @@ -24,6 +24,7 @@ 3.4 </xs:complexType> 3.5 </xs:element> 3.6 </xs:sequence> 3.7 + <xs:attribute name="statSet" type="xs:string" default="" /> 3.8 <xs:anyAttribute/> 3.9 </xs:complexType> 3.10 </xs:element>