view IBBoard.WarFoundry.API.csproj @ 101:f7b9423c2a5a

Big mess of updates, breaking our rules on "commit little and often" because the code was so ugly. This revision will be broken for the WinForms UI, but as MonoDevelop/eSVN don't have a way of committing multiple projects in one go it can't be helped (Eclipse's Team Sync view could handle it) Fixes #122: Make usage of percentage or ratio common * All usage of ratio amounts for equipment items should now assume percentage * Properly calculate number taken for ratio selection (divide by 0 now we're using percentages) Fixes #118: Allow equipment amounts of "ratio" equipment to be define as absolute or ratio amounts * Added extra commands that differentiate between ratio and absolute amounts Fixes #120: Numeric limit equipment items show large percentages * Now made formatting treat ratios as percentages (don't multiply by 100) * Move string formatting to UnitEquipmentItem...Selection classes * Add method to Unit to say whether an equipment item is a numeric or ratio amount
author IBBoard <dev@ibboard.co.uk>
date Thu, 13 Aug 2009 21:09:20 +0000
parents 38e788859199
children 3593d5d756ef
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.50727</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{951E6C7A-7FBA-4F68-9D9E-F48618BB9626}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>IBBoard.WarFoundry.API</RootNamespace>
    <AssemblyName>IBBoard.WarFoundry.API</AssemblyName>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
  <ItemGroup>
    <None Include="COPYING.GPL" />
    <None Include="COPYING.LGPL" />
    <None Include="dtds\system.xsd">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="dtds\race.xsd">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="dtds\warfoundry-core.xsd">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="dtds\warfoundry-cats.xsd">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="dtds\army.xsd">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="api\Commands\CreateAndAddUnitCommand.cs" />
    <Compile Include="api\Commands\RemoveUnitCommand.cs" />
    <Compile Include="api\Commands\AbstractReplaceUnitEquipmentCommand.cs" />
    <Compile Include="api\Commands\SetNameCommand.cs" />
    <Compile Include="api\Commands\SetUnitEquipmentNumericAmountCommand.cs" />
    <Compile Include="api\Commands\SetUnitSizeCommand.cs" />
    <Compile Include="api\Delegates.cs" />
    <Compile Include="api\Factories\AbstractNativeWarFoundryFactory.cs" />
    <Compile Include="api\Factories\AbstractNonNativeFileExtensionWarFoundryFactory.cs" />
    <Compile Include="api\Factories\AbstractNonNativeWarFoundryFactory.cs" />
    <Compile Include="api\Factories\AbstractWarFoundryFactory.cs" />
    <Compile Include="api\Factories\INativeWarFoundryFactory.cs" />
    <Compile Include="api\Factories\INonNativeWarFoundryFactory.cs" />
    <Compile Include="api\Factories\IWarFoundryFactory.cs" />
    <Compile Include="api\Factories\WarFoundryFactoryFactory.cs" />
    <Compile Include="api\Factories\Xml\WarFoundryXmlElementName.cs" />
    <Compile Include="api\Factories\Xml\WarFoundryXmlFactory.cs" />
    <Compile Include="api\Factories\Xml\WarFoundryXmlSaver.cs" />
    <Compile Include="api\FileLoadFailure.cs" />
    <Compile Include="api\Objects\Ability.cs" />
    <Compile Include="api\Objects\ArmourType.cs" />
    <Compile Include="api\Objects\Army.cs" />
    <Compile Include="api\Objects\ArmyCategory.cs" />
    <Compile Include="api\Objects\Category.cs" />
    <Compile Include="api\Objects\DuplicateItemException.cs" />
    <Compile Include="api\Objects\EquipmentItem.cs" />
    <Compile Include="api\Objects\GameSystem.cs" />
    <Compile Include="api\Objects\IWarFoundryNativeSourceObject.cs" />
    <Compile Include="api\Objects\IWarFoundryObject.cs" />
    <Compile Include="api\Objects\IWarFoundryStagedLoadObject.cs" />
    <Compile Include="api\Objects\Race.cs" />
    <Compile Include="api\Objects\Stat.cs" />
    <Compile Include="api\Objects\Stats.cs" />
    <Compile Include="api\Objects\StatSlot.cs" />
    <Compile Include="api\Objects\SystemStats.cs" />
    <Compile Include="api\Objects\Unit.cs" />
    <Compile Include="api\Objects\UnitEquipmentItem.cs" />
    <Compile Include="api\Objects\UnitType.cs" />
    <Compile Include="api\Objects\WarFoundryObject.cs" />
    <Compile Include="api\Objects\WarFoundryStagedLoadingObject.cs" />
    <Compile Include="api\Requirements\AbstractArmyRequirement.cs" />
    <Compile Include="api\Requirements\AbstractFailedRequirement.cs" />
    <Compile Include="api\Requirements\AbstractRequirement.cs" />
    <Compile Include="api\Requirements\AbstractUnitRequirement.cs" />
    <Compile Include="api\Requirements\Delegates.cs" />
    <Compile Include="api\Requirements\FailedRequirement.cs" />
    <Compile Include="api\Requirements\FailedUnitRequirement.cs" />
    <Compile Include="api\Requirements\RequirementAND.cs" />
    <Compile Include="api\Requirements\RequirementOR.cs" />
    <Compile Include="api\Requirements\UnitExcludesRequirement.cs" />
    <Compile Include="api\Requirements\UnitExclusion.cs" />
    <Compile Include="api\Requirements\UnitMaxNumberReached.cs" />
    <Compile Include="api\Requirements\UnitMinNumberReached.cs" />
    <Compile Include="api\Requirements\UnitRequirement.cs" />
    <Compile Include="api\Requirements\UnitRequirementItem.cs" />
    <Compile Include="api\Requirements\UnitRequirementMaxNumber.cs" />
    <Compile Include="api\Requirements\UnitRequirementMinNumber.cs" />
    <Compile Include="api\Requirements\UnitRequiresAtLeastRequirement.cs" />
    <Compile Include="api\Savers\IWarFoundryFileSaver.cs" />
    <Compile Include="api\Savers\WarFoundrySaver.cs" />
    <Compile Include="api\WarFoundryCore.cs" />
    <Compile Include="api\WarFoundryLoader.cs" />
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="api\Factories\Xml\WarFoundryXmlGameSystemFactory.cs" />
    <Compile Include="api\Factories\Xml\WarFoundryXmlRaceFactory.cs" />
    <Compile Include="api\Factories\Xml\WarFoundryXmlArmyFactory.cs" />
    <Compile Include="api\Factories\Xml\WarFoundryXmlFactoryUtils.cs" />
    <Compile Include="api\Factories\Xml\AbstractStagedLoadedSubFactory.cs" />
    <Compile Include="api\Objects\InvalidContainershipException.cs" />
    <Compile Include="api\Objects\CompositeEquipmentItem.cs" />
    <Compile Include="api\Objects\AbstractUnitEquipmentItemSelection.cs" />
    <Compile Include="api\Objects\UnitEquipmentNumericForRatioSelection.cs" />
    <Compile Include="api\Objects\UnitEquipmentNumericSelection.cs" />
    <Compile Include="api\Objects\UnitEquipmentRatioSelection.cs" />
    <Compile Include="api\Commands\SetUnitEquipmentRatioAmountCommand.cs" />
    <Compile Include="api\Commands\AbstractSetUnitEquipmentAmountCommand.cs" />
    <Compile Include="api\Commands\ReplaceUnitEquipmentWithNumericAmountItemCommand.cs" />
    <Compile Include="api\Commands\ReplaceUnitEquipmentWithRatioAmountItemCommand.cs" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="libs\ICSharpCode.SharpZipLib.dll" />
    <Content Include="libs\log4net.dll" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\IBBoard\IBBoard.csproj">
      <Project>{5DFD64F6-FC2B-4B4F-B92E-483BAC468105}</Project>
      <Name>IBBoard</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <Reference Include="System.Xml" />
    <Reference Include="System" />
    <Reference Include="ICSharpCode.SharpZipLib, Version=0.85.5.452, Culture=neutral, PublicKeyToken=1b03e6acf1164f73">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>libs\ICSharpCode.SharpZipLib.dll</HintPath>
    </Reference>
  </ItemGroup>
</Project>