Move everything Bridge-related to Mods.Common
This commit is contained in:
@@ -8,11 +8,10 @@
|
|||||||
*/
|
*/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using OpenRA.Mods.Common.Activities;
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Mods.RA.Traits;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Activities
|
namespace OpenRA.Mods.Common.Activities
|
||||||
{
|
{
|
||||||
class RepairBridge : Enter
|
class RepairBridge : Enter
|
||||||
{
|
{
|
||||||
@@ -85,6 +85,7 @@
|
|||||||
<Compile Include="Activities\Rearm.cs" />
|
<Compile Include="Activities\Rearm.cs" />
|
||||||
<Compile Include="Activities\RemoveSelf.cs" />
|
<Compile Include="Activities\RemoveSelf.cs" />
|
||||||
<Compile Include="Activities\Repair.cs" />
|
<Compile Include="Activities\Repair.cs" />
|
||||||
|
<Compile Include="Activities\RepairBridge.cs" />
|
||||||
<Compile Include="Activities\RepairBuilding.cs" />
|
<Compile Include="Activities\RepairBuilding.cs" />
|
||||||
<Compile Include="Activities\Sell.cs" />
|
<Compile Include="Activities\Sell.cs" />
|
||||||
<Compile Include="Activities\SimpleTeleport.cs" />
|
<Compile Include="Activities\SimpleTeleport.cs" />
|
||||||
@@ -177,6 +178,8 @@
|
|||||||
<Compile Include="Traits\Buildings\BaseBuilding.cs" />
|
<Compile Include="Traits\Buildings\BaseBuilding.cs" />
|
||||||
<Compile Include="Traits\Buildings\BaseProvider.cs" />
|
<Compile Include="Traits\Buildings\BaseProvider.cs" />
|
||||||
<Compile Include="Traits\Buildings\Bib.cs" />
|
<Compile Include="Traits\Buildings\Bib.cs" />
|
||||||
|
<Compile Include="Traits\Buildings\Bridge.cs" />
|
||||||
|
<Compile Include="Traits\Buildings\BridgeHut.cs" />
|
||||||
<Compile Include="Traits\Buildings\Building.cs" />
|
<Compile Include="Traits\Buildings\Building.cs" />
|
||||||
<Compile Include="Traits\Buildings\BuildingInfluence.cs" />
|
<Compile Include="Traits\Buildings\BuildingInfluence.cs" />
|
||||||
<Compile Include="Traits\Buildings\BuildingUtils.cs" />
|
<Compile Include="Traits\Buildings\BuildingUtils.cs" />
|
||||||
@@ -277,6 +280,7 @@
|
|||||||
<Compile Include="Traits\Render\WithShadow.cs" />
|
<Compile Include="Traits\Render\WithShadow.cs" />
|
||||||
<Compile Include="Traits\Render\WithSmoke.cs" />
|
<Compile Include="Traits\Render\WithSmoke.cs" />
|
||||||
<Compile Include="Traits\Render\WithTurret.cs" />
|
<Compile Include="Traits\Render\WithTurret.cs" />
|
||||||
|
<Compile Include="Traits\RepairsBridges.cs" />
|
||||||
<Compile Include="Traits\SeedsResource.cs" />
|
<Compile Include="Traits\SeedsResource.cs" />
|
||||||
<Compile Include="Traits\StoresResources.cs" />
|
<Compile Include="Traits\StoresResources.cs" />
|
||||||
<Compile Include="Traits\SelfHealing.cs" />
|
<Compile Include="Traits\SelfHealing.cs" />
|
||||||
@@ -296,6 +300,7 @@
|
|||||||
<Compile Include="Traits\Upgrades\UpgradeManager.cs" />
|
<Compile Include="Traits\Upgrades\UpgradeManager.cs" />
|
||||||
<Compile Include="Traits\Valued.cs" />
|
<Compile Include="Traits\Valued.cs" />
|
||||||
<Compile Include="Traits\Wanders.cs" />
|
<Compile Include="Traits\Wanders.cs" />
|
||||||
|
<Compile Include="Traits\World\BridgeLayer.cs" />
|
||||||
<Compile Include="Traits\World\CreateMPPlayers.cs" />
|
<Compile Include="Traits\World\CreateMPPlayers.cs" />
|
||||||
<Compile Include="Traits\World\DomainIndex.cs" />
|
<Compile Include="Traits\World\DomainIndex.cs" />
|
||||||
<Compile Include="Traits\World\LoadWidgetAtGameStart.cs" />
|
<Compile Include="Traits\World\LoadWidgetAtGameStart.cs" />
|
||||||
|
|||||||
@@ -12,13 +12,11 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Effects;
|
using OpenRA.Effects;
|
||||||
using OpenRA.GameRules;
|
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.Common.Traits;
|
|
||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
class BridgeInfo : ITraitInfo, Requires<HealthInfo>, Requires<BuildingInfo>
|
class BridgeInfo : ITraitInfo, Requires<HealthInfo>, Requires<BuildingInfo>
|
||||||
{
|
{
|
||||||
@@ -8,12 +8,10 @@
|
|||||||
*/
|
*/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Mods.Common.Traits;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Allows bridges to be targeted for demolition and repair.")]
|
[Desc("Allows bridges to be targeted for demolition and repair.")]
|
||||||
class BridgeHutInfo : IDemolishableInfo, ITraitInfo
|
class BridgeHutInfo : IDemolishableInfo, ITraitInfo
|
||||||
@@ -10,11 +10,11 @@
|
|||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
using OpenRA.Mods.Common.Activities;
|
||||||
using OpenRA.Mods.Common.Orders;
|
using OpenRA.Mods.Common.Orders;
|
||||||
using OpenRA.Mods.RA.Activities;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Can enter a BridgeHut to trigger a repair.")]
|
[Desc("Can enter a BridgeHut to trigger a repair.")]
|
||||||
class RepairsBridgesInfo : TraitInfo<RepairsBridges> { }
|
class RepairsBridgesInfo : TraitInfo<RepairsBridges> { }
|
||||||
@@ -14,7 +14,7 @@ using OpenRA.Graphics;
|
|||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
class BridgeLayerInfo : ITraitInfo
|
class BridgeLayerInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
@@ -175,8 +175,6 @@
|
|||||||
<Compile Include="SupportPowers\SupportPowerChargeBar.cs" />
|
<Compile Include="SupportPowers\SupportPowerChargeBar.cs" />
|
||||||
<Compile Include="SupportPowers\SupportPowerManager.cs" />
|
<Compile Include="SupportPowers\SupportPowerManager.cs" />
|
||||||
<Compile Include="TraitsInterfaces.cs" />
|
<Compile Include="TraitsInterfaces.cs" />
|
||||||
<Compile Include="Traits\Buildings\Bridge.cs" />
|
|
||||||
<Compile Include="Traits\Buildings\BridgeHut.cs" />
|
|
||||||
<Compile Include="Traits\Buildings\Fake.cs" />
|
<Compile Include="Traits\Buildings\Fake.cs" />
|
||||||
<Compile Include="Traits\Buildings\OreRefinery.cs" />
|
<Compile Include="Traits\Buildings\OreRefinery.cs" />
|
||||||
<Compile Include="Traits\Buildings\PrimaryBuilding.cs" />
|
<Compile Include="Traits\Buildings\PrimaryBuilding.cs" />
|
||||||
@@ -184,9 +182,7 @@
|
|||||||
<Compile Include="Traits\Harvester.cs" />
|
<Compile Include="Traits\Harvester.cs" />
|
||||||
<Compile Include="Traits\HarvesterHuskModifier.cs" />
|
<Compile Include="Traits\HarvesterHuskModifier.cs" />
|
||||||
<Compile Include="Traits\LeavesHusk.cs" />
|
<Compile Include="Traits\LeavesHusk.cs" />
|
||||||
<Compile Include="Traits\RepairsBridges.cs" />
|
|
||||||
<Compile Include="Traits\TargetableSubmarine.cs" />
|
<Compile Include="Traits\TargetableSubmarine.cs" />
|
||||||
<Compile Include="Traits\World\BridgeLayer.cs" />
|
|
||||||
<Compile Include="TransformOnCapture.cs" />
|
<Compile Include="TransformOnCapture.cs" />
|
||||||
<Compile Include="TransformOnPassenger.cs" />
|
<Compile Include="TransformOnPassenger.cs" />
|
||||||
<Compile Include="Transforms.cs" />
|
<Compile Include="Transforms.cs" />
|
||||||
@@ -228,7 +224,6 @@
|
|||||||
<Compile Include="Traits\Infiltration\InfiltrateForSupportPower.cs" />
|
<Compile Include="Traits\Infiltration\InfiltrateForSupportPower.cs" />
|
||||||
<Compile Include="Traits\Infiltration\Infiltrates.cs" />
|
<Compile Include="Traits\Infiltration\Infiltrates.cs" />
|
||||||
<Compile Include="Widgets\Logic\ObserverShroudSelectorLogic.cs" />
|
<Compile Include="Widgets\Logic\ObserverShroudSelectorLogic.cs" />
|
||||||
<Compile Include="Activities\RepairBridge.cs" />
|
|
||||||
<Compile Include="Lint\CheckSequences.cs" />
|
<Compile Include="Lint\CheckSequences.cs" />
|
||||||
<Compile Include="Widgets\Logic\SpawnSelectorTooltipLogic.cs" />
|
<Compile Include="Widgets\Logic\SpawnSelectorTooltipLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\ClientTooltipLogic.cs" />
|
<Compile Include="Widgets\Logic\ClientTooltipLogic.cs" />
|
||||||
@@ -344,5 +339,4 @@ cd "$(SolutionDir)thirdparty/"
|
|||||||
copy "FuzzyLogicLibrary.dll" "$(SolutionDir)"
|
copy "FuzzyLogicLibrary.dll" "$(SolutionDir)"
|
||||||
cd "$(SolutionDir)"</PostBuildEvent>
|
cd "$(SolutionDir)"</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup />
|
|
||||||
</Project>
|
</Project>
|
||||||
Reference in New Issue
Block a user