Mercurial > repos > snowblizz-super-API-ideas
view IBBoard.WarFoundry.API.mdp @ 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 | ac232763858b |
children | 306558904c2a |
line wrap: on
line source
<Project name="IBBoard.WarFoundry.API" fileversion="2.0" language="C#" DefaultNamespace="IBBoard.WarFoundry" clr-version="Net_2_0" ctype="DotNetProject"> <Configurations active="Debug"> <Configuration name="Debug" ctype="DotNetProjectConfiguration"> <Output directory="bin/Debug/" assemblyKeyFile="." assembly="IBBoard.WarFoundry.API" /> <Build debugmode="True" target="Library" /> <Execution runwithwarnings="False" consolepause="True" runtime="MsNet" clr-version="Net_2_0" /> <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" /> </Configuration> <Configuration name="Release" ctype="DotNetProjectConfiguration"> <Output directory="bin/Release/" assembly="IBBoard.WarFoundry.API" /> <Build debugmode="False" target="Library" /> <Execution runwithwarnings="False" consolepause="True" runtime="MsNet" clr-version="Net_2_0" /> <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="True" ctype="CSharpCompilerParameters" /> </Configuration> </Configurations> <Contents> <File name="AssemblyInfo.cs" subtype="Code" buildaction="Compile" /> <File name="api/Delegates.cs" subtype="Code" buildaction="Compile" /> <File name="api/Commands/CreateAndAddUnitCommand.cs" subtype="Code" buildaction="Compile" /> <File name="api/Commands/RemoveUnitCommand.cs" subtype="Code" buildaction="Compile" /> <File name="api/Commands/ReplaceUnitEquipmentCommand.cs" subtype="Code" buildaction="Compile" /> <File name="api/Commands/SetNameCommand.cs" subtype="Code" buildaction="Compile" /> <File name="api/Commands/SetUnitEquipmentAmountCommand.cs" subtype="Code" buildaction="Compile" /> <File name="api/Commands/SetUnitSizeCommand.cs" subtype="Code" buildaction="Compile" /> <File name="libs/log4net.dll" subtype="Code" buildaction="Nothing" /> <File name="libs/log4net.xml" subtype="Code" buildaction="Nothing" /> <File name="api/Requirements" subtype="Directory" buildaction="Compile" /> <File name="api/Requirements/UnitExcludesRequirement.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/UnitRequirementItem.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/UnitRequirement.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/RequirementAND.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/RequirementOR.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/UnitRequiresAtLeastRequirement.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/UnitMinNumberReached.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/UnitMaxNumberReached.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/FailedUnitRequirement.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/UnitExclusion.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/AbstractArmyRequirement.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/FailedRequirement.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/UnitRequirementMaxNumber.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/UnitRequirementMinNumber.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/AbstractFailedRequirement.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/Delegates.cs" subtype="Code" buildaction="Compile" /> <File name="api/WarFoundryCore.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/AbstractRequirement.cs" subtype="Code" buildaction="Compile" /> <File name="api/Requirements/AbstractUnitRequirement.cs" subtype="Code" buildaction="Compile" /> <File name="libs/ICSharpCode.SharpZipLib.dll" subtype="Code" buildaction="Nothing" /> <File name="api/WarFoundryLoader.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories" subtype="Directory" buildaction="Compile" /> <File name="api/Factories/AbstractNativeWarFoundryFactory.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories/WarFoundryFactoryFactory.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects" subtype="Directory" buildaction="Compile" /> <File name="api/Objects/Ability.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/ArmourType.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/Army.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/ArmyCategory.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/Category.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/EquipmentItem.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/GameSystem.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/Stat.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/Stats.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/StatSlot.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/SystemStats.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/Unit.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/UnitEquipmentItem.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/UnitEquipmentItemObj.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/UnitType.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/WarFoundryObject.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories/Xml" subtype="Directory" buildaction="Compile" /> <File name="api/Factories/Xml/WarFoundryXmlSaver.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories/Xml/WarFoundryXmlFactory.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories/Xml/WarFoundryXmlElementName.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories/AbstractNonNativeWarFoundryFactory.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories/IWarFoundryFactory.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories/AbstractWarFoundryFactory.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories/AbstractNonNativeFileExtensionWarFoundryFactory.cs" subtype="Code" buildaction="Compile" /> <File name="api/Savers" subtype="Directory" buildaction="Compile" /> <File name="api/Savers/IWarFoundryFileSaver.cs" subtype="Code" buildaction="Compile" /> <File name="api/Savers/WarFoundrySaver.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories/INonNativeWarFoundryFactory.cs" subtype="Code" buildaction="Compile" /> <File name="api/Factories/INativeWarFoundryFactory.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/Race.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/IWarFoundryNativeSourceObject.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/IWarFoundryObject.cs" subtype="Code" buildaction="Compile" /> <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="api/Objects/WarFoundryStagedLoadingObject.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/IWarFoundryStagedLoadObject.cs" subtype="Code" buildaction="Compile" /> <File name="api/Objects/DuplicateItemException.cs" subtype="Code" buildaction="Compile" /> <File name="api/FileLoadFailure.cs" subtype="Code" buildaction="Compile" /> </Contents> <References> <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <ProjectReference type="Gac" localcopy="True" refto="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <ProjectReference type="Gac" localcopy="True" refto="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <ProjectReference type="Project" localcopy="True" refto="IBBoard" /> <ProjectReference type="Gac" localcopy="True" refto="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <ProjectReference type="Assembly" localcopy="True" refto="libs/ICSharpCode.SharpZipLib.dll" /> </References> <GtkDesignInfo /> </Project>