Merge pull request #2736 from Mailaender/better-bots

Better AI Bots
This commit is contained in:
Chris Forbes
2013-03-09 21:11:29 -08:00
19 changed files with 1972 additions and 177 deletions

View File

@@ -42,6 +42,7 @@
<WarningLevel>4</WarningLevel>
<CustomCommands>
<CustomCommands>
<Command type="AfterBuild" command="cp ../thirdparty/FuzzyLogicLibrary.dll ../" workingdir="${ProjectDir}" />
<Command type="AfterBuild" command="cp ${TargetFile} ../mods/ra" workingdir="${ProjectDir}" />
<Command type="AfterBuild" command="mono RALint.exe ra" workingdir="${ProjectDir}/../" />
</CustomCommands>
@@ -58,6 +59,9 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="FuzzyLogicLibrary">
<HintPath>..\thirdparty\FuzzyLogicLibrary.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
@@ -69,6 +73,7 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AI\AttackOrFleeFuzzy.cs" />
<Compile Include="AI\BaseBuilder.cs" />
<Compile Include="AI\HackyAI.cs" />
<Compile Include="AcceptsSupplies.cs" />
@@ -120,6 +125,8 @@
<Compile Include="Air\ReturnOnIdle.cs" />
<Compile Include="Air\ReturnToBase.cs" />
<Compile Include="Air\TargetableAircraft.cs" />
<Compile Include="AI\RushFuzzy.cs" />
<Compile Include="AI\StateMachine.cs" />
<Compile Include="AnnounceOnBuild.cs" />
<Compile Include="AnnounceOnKill.cs" />
<Compile Include="AppearsOnRadar.cs" />
@@ -451,6 +458,7 @@
<PropertyGroup>
<PostBuildEvent>mkdir "$(SolutionDir)mods/ra/"
copy "$(TargetPath)" "$(SolutionDir)mods/ra/"
copy "thirdparty/FuzzyLogicLibrary.dll" "$(SolutionDir)"
cd "$(SolutionDir)"</PostBuildEvent>
</PropertyGroup>
</Project>