Merge pull request #7295 from reaperrr/move-prodrep
Move some more traits to Mods.Common
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using OpenRA.Mods.RA.Widgets;
|
using OpenRA.Mods.Common.Widgets;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Cnc.Widgets.Logic
|
namespace OpenRA.Mods.Cnc.Widgets.Logic
|
||||||
|
|||||||
@@ -126,9 +126,12 @@
|
|||||||
<Compile Include="Graphics\VoxelActorPreview.cs" />
|
<Compile Include="Graphics\VoxelActorPreview.cs" />
|
||||||
<Compile Include="Graphics\VoxelRenderable.cs" />
|
<Compile Include="Graphics\VoxelRenderable.cs" />
|
||||||
<Compile Include="LoadScreens\ModChooserLoadScreen.cs" />
|
<Compile Include="LoadScreens\ModChooserLoadScreen.cs" />
|
||||||
|
<Compile Include="Orders\BeaconOrderGenerator.cs" />
|
||||||
<Compile Include="Orders\DeployOrderTargeter.cs" />
|
<Compile Include="Orders\DeployOrderTargeter.cs" />
|
||||||
<Compile Include="Orders\EnterAlliedActorTargeter.cs" />
|
<Compile Include="Orders\EnterAlliedActorTargeter.cs" />
|
||||||
<Compile Include="Orders\RepairOrderGenerator.cs" />
|
<Compile Include="Orders\RepairOrderGenerator.cs" />
|
||||||
|
<Compile Include="Orders\GlobalButtonOrderGenerator.cs" />
|
||||||
|
<Compile Include="Orders\PlaceBuildingOrderGenerator.cs" />
|
||||||
<Compile Include="Orders\UnitOrderTargeter.cs" />
|
<Compile Include="Orders\UnitOrderTargeter.cs" />
|
||||||
<Compile Include="PlayerExtensions.cs" />
|
<Compile Include="PlayerExtensions.cs" />
|
||||||
<Compile Include="ServerTraits\ColorValidator.cs" />
|
<Compile Include="ServerTraits\ColorValidator.cs" />
|
||||||
@@ -194,6 +197,7 @@
|
|||||||
<Compile Include="Traits\Buildings\FreeActor.cs" />
|
<Compile Include="Traits\Buildings\FreeActor.cs" />
|
||||||
<Compile Include="Traits\Buildings\LineBuild.cs" />
|
<Compile Include="Traits\Buildings\LineBuild.cs" />
|
||||||
<Compile Include="Traits\Buildings\LineBuildNode.cs" />
|
<Compile Include="Traits\Buildings\LineBuildNode.cs" />
|
||||||
|
<Compile Include="Traits\Buildings\PrimaryBuilding.cs" />
|
||||||
<Compile Include="Traits\Buildings\RallyPoint.cs" />
|
<Compile Include="Traits\Buildings\RallyPoint.cs" />
|
||||||
<Compile Include="Traits\Buildings\RepairableBuilding.cs" />
|
<Compile Include="Traits\Buildings\RepairableBuilding.cs" />
|
||||||
<Compile Include="Traits\Buildings\RepairsUnits.cs" />
|
<Compile Include="Traits\Buildings\RepairsUnits.cs" />
|
||||||
@@ -245,11 +249,14 @@
|
|||||||
<Compile Include="Traits\PaletteEffects\WaterPaletteRotation.cs" />
|
<Compile Include="Traits\PaletteEffects\WaterPaletteRotation.cs" />
|
||||||
<Compile Include="Traits\Player\ActorGroupProxy.cs" />
|
<Compile Include="Traits\Player\ActorGroupProxy.cs" />
|
||||||
<Compile Include="Traits\Player\AllyRepair.cs" />
|
<Compile Include="Traits\Player\AllyRepair.cs" />
|
||||||
|
<Compile Include="Traits\Player\ClassicProductionQueue.cs" />
|
||||||
<Compile Include="Traits\Player\ConquestVictoryConditions.cs" />
|
<Compile Include="Traits\Player\ConquestVictoryConditions.cs" />
|
||||||
<Compile Include="Traits\Player\GlobalUpgradeManager.cs" />
|
<Compile Include="Traits\Player\GlobalUpgradeManager.cs" />
|
||||||
<Compile Include="Traits\Player\MissionObjectives.cs" />
|
<Compile Include="Traits\Player\MissionObjectives.cs" />
|
||||||
<Compile Include="Traits\Player\PlaceBeacon.cs" />
|
<Compile Include="Traits\Player\PlaceBeacon.cs" />
|
||||||
|
<Compile Include="Traits\Player\PlaceBuilding.cs" />
|
||||||
<Compile Include="Traits\Player\PlayerStatistics.cs" />
|
<Compile Include="Traits\Player\PlayerStatistics.cs" />
|
||||||
|
<Compile Include="Traits\Player\ProductionQueue.cs" />
|
||||||
<Compile Include="Traits\Player\ProvidesCustomPrerequisite.cs" />
|
<Compile Include="Traits\Player\ProvidesCustomPrerequisite.cs" />
|
||||||
<Compile Include="Traits\Player\ProvidesTechPrerequisite.cs" />
|
<Compile Include="Traits\Player\ProvidesTechPrerequisite.cs" />
|
||||||
<Compile Include="Traits\Player\StrategicVictoryConditions.cs" />
|
<Compile Include="Traits\Player\StrategicVictoryConditions.cs" />
|
||||||
@@ -260,6 +267,8 @@
|
|||||||
<Compile Include="Traits\Power\Power.cs" />
|
<Compile Include="Traits\Power\Power.cs" />
|
||||||
<Compile Include="Traits\Power\RequiresPower.cs" />
|
<Compile Include="Traits\Power\RequiresPower.cs" />
|
||||||
<Compile Include="Traits\Power\ScalePowerWithHealth.cs" />
|
<Compile Include="Traits\Power\ScalePowerWithHealth.cs" />
|
||||||
|
<Compile Include="Traits\Production.cs" />
|
||||||
|
<Compile Include="Traits\ProductionQueueFromSelection.cs" />
|
||||||
<Compile Include="Traits\ProvidesRadar.cs" />
|
<Compile Include="Traits\ProvidesRadar.cs" />
|
||||||
<Compile Include="Traits\ProximityCaptor.cs" />
|
<Compile Include="Traits\ProximityCaptor.cs" />
|
||||||
<Compile Include="Traits\ProximityCapturable.cs" />
|
<Compile Include="Traits\ProximityCapturable.cs" />
|
||||||
@@ -269,10 +278,12 @@
|
|||||||
<Compile Include="Traits\Render\RenderBuilding.cs" />
|
<Compile Include="Traits\Render\RenderBuilding.cs" />
|
||||||
<Compile Include="Traits\Render\RenderBuildingCharge.cs" />
|
<Compile Include="Traits\Render\RenderBuildingCharge.cs" />
|
||||||
<Compile Include="Traits\Render\RenderBuildingTurreted.cs" />
|
<Compile Include="Traits\Render\RenderBuildingTurreted.cs" />
|
||||||
|
<Compile Include="Traits\Render\RenderBuildingWarFactory.cs" />
|
||||||
<Compile Include="Traits\Render\RenderEditorOnly.cs" />
|
<Compile Include="Traits\Render\RenderEditorOnly.cs" />
|
||||||
<Compile Include="Traits\Render\RenderFlare.cs" />
|
<Compile Include="Traits\Render\RenderFlare.cs" />
|
||||||
<Compile Include="Traits\Render\RenderInfantry.cs" />
|
<Compile Include="Traits\Render\RenderInfantry.cs" />
|
||||||
<Compile Include="Traits\Render\RenderNameTag.cs" />
|
<Compile Include="Traits\Render\RenderNameTag.cs" />
|
||||||
|
<Compile Include="Traits\Render\ProductionBar.cs" />
|
||||||
<Compile Include="Traits\Render\RenderSimple.cs" />
|
<Compile Include="Traits\Render\RenderSimple.cs" />
|
||||||
<Compile Include="Traits\Render\RenderSprites.cs" />
|
<Compile Include="Traits\Render\RenderSprites.cs" />
|
||||||
<Compile Include="Traits\Render\RenderUnit.cs" />
|
<Compile Include="Traits\Render\RenderUnit.cs" />
|
||||||
@@ -283,11 +294,13 @@
|
|||||||
<Compile Include="Traits\Render\RenderBuildingWall.cs" />
|
<Compile Include="Traits\Render\RenderBuildingWall.cs" />
|
||||||
<Compile Include="Traits\Render\RenderDetectionCircle.cs" />
|
<Compile Include="Traits\Render\RenderDetectionCircle.cs" />
|
||||||
<Compile Include="Traits\Render\RenderRangeCircle.cs" />
|
<Compile Include="Traits\Render\RenderRangeCircle.cs" />
|
||||||
|
<Compile Include="Traits\Render\WithActiveAnimation.cs" />
|
||||||
<Compile Include="Traits\Render\WithBuildingPlacedAnimation.cs" />
|
<Compile Include="Traits\Render\WithBuildingPlacedAnimation.cs" />
|
||||||
<Compile Include="Traits\Render\WithMakeAnimation.cs" />
|
<Compile Include="Traits\Render\WithMakeAnimation.cs" />
|
||||||
<Compile Include="Traits\Render\WithCrateBody.cs" />
|
<Compile Include="Traits\Render\WithCrateBody.cs" />
|
||||||
<Compile Include="Traits\Render\WithDeathAnimation.cs" />
|
<Compile Include="Traits\Render\WithDeathAnimation.cs" />
|
||||||
<Compile Include="Traits\Render\WithHarvestAnimation.cs" />
|
<Compile Include="Traits\Render\WithHarvestAnimation.cs" />
|
||||||
|
<Compile Include="Traits\Render\WithIdleOverlay.cs" />
|
||||||
<Compile Include="Traits\Render\WithMuzzleFlash.cs" />
|
<Compile Include="Traits\Render\WithMuzzleFlash.cs" />
|
||||||
<Compile Include="Traits\Render\WithRangeCircle.cs" />
|
<Compile Include="Traits\Render\WithRangeCircle.cs" />
|
||||||
<Compile Include="Traits\Render\WithRepairAnimation.cs" />
|
<Compile Include="Traits\Render\WithRepairAnimation.cs" />
|
||||||
@@ -381,7 +394,11 @@
|
|||||||
<Compile Include="Widgets\Logic\Ingame\IngameRadarDisplayLogic.cs" />
|
<Compile Include="Widgets\Logic\Ingame\IngameRadarDisplayLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\Ingame\LoadIngamePlayerOrObserverUILogic.cs" />
|
<Compile Include="Widgets\Logic\Ingame\LoadIngamePlayerOrObserverUILogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\ModBrowserLogic.cs" />
|
<Compile Include="Widgets\Logic\ModBrowserLogic.cs" />
|
||||||
|
<Compile Include="Widgets\Logic\ProductionTooltipLogic.cs" />
|
||||||
<Compile Include="Widgets\MenuButtonWidget.cs" />
|
<Compile Include="Widgets\MenuButtonWidget.cs" />
|
||||||
|
<Compile Include="Widgets\ProductionPaletteWidget.cs" />
|
||||||
|
<Compile Include="Widgets\ProductionTabsWidget.cs" />
|
||||||
|
<Compile Include="Widgets\ProductionTypeButtonWidget.cs" />
|
||||||
<Compile Include="Widgets\RadarWidget.cs" />
|
<Compile Include="Widgets\RadarWidget.cs" />
|
||||||
<Compile Include="Widgets\ResourceBarWidget.cs" />
|
<Compile Include="Widgets\ResourceBarWidget.cs" />
|
||||||
<Compile Include="Widgets\StrategicProgressWidget.cs" />
|
<Compile Include="Widgets\StrategicProgressWidget.cs" />
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Orders
|
namespace OpenRA.Mods.Common.Orders
|
||||||
{
|
{
|
||||||
public class BeaconOrderGenerator : IOrderGenerator
|
public class BeaconOrderGenerator : IOrderGenerator
|
||||||
{
|
{
|
||||||
3
OpenRA.Mods.RA/Orders/GlobalButtonOrderGenerator.cs → OpenRA.Mods.Common/Orders/GlobalButtonOrderGenerator.cs
Executable file → Normal file
3
OpenRA.Mods.RA/Orders/GlobalButtonOrderGenerator.cs → OpenRA.Mods.Common/Orders/GlobalButtonOrderGenerator.cs
Executable file → Normal file
@@ -12,10 +12,9 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.Common.Traits;
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Mods.RA.Traits;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Orders
|
namespace OpenRA.Mods.Common.Orders
|
||||||
{
|
{
|
||||||
public class GlobalButtonOrderGenerator<T> : IOrderGenerator
|
public class GlobalButtonOrderGenerator<T> : IOrderGenerator
|
||||||
{
|
{
|
||||||
@@ -14,11 +14,10 @@ using System.Linq;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.Common.Graphics;
|
using OpenRA.Mods.Common.Graphics;
|
||||||
using OpenRA.Mods.Common.Traits;
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Mods.RA.Traits;
|
|
||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Orders
|
namespace OpenRA.Mods.Common.Orders
|
||||||
{
|
{
|
||||||
public class PlaceBuildingOrderGenerator : IOrderGenerator
|
public class PlaceBuildingOrderGenerator : IOrderGenerator
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@ using System.Linq;
|
|||||||
using OpenRA.Mods.Common.Orders;
|
using OpenRA.Mods.Common.Orders;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
static class PrimaryExts
|
static class PrimaryExts
|
||||||
{
|
{
|
||||||
@@ -25,9 +25,9 @@ namespace OpenRA.Mods.RA.Traits
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Desc("Used together with ClassicProductionQueue.")]
|
[Desc("Used together with ClassicProductionQueue.")]
|
||||||
class PrimaryBuildingInfo : TraitInfo<PrimaryBuilding> { }
|
public class PrimaryBuildingInfo : TraitInfo<PrimaryBuilding> { }
|
||||||
|
|
||||||
class PrimaryBuilding : IIssueOrder, IResolveOrder, ITags
|
public class PrimaryBuilding : IIssueOrder, IResolveOrder, ITags
|
||||||
{
|
{
|
||||||
bool isPrimary = false;
|
bool isPrimary = false;
|
||||||
public bool IsPrimary { get { return isPrimary; } }
|
public bool IsPrimary { get { return isPrimary; } }
|
||||||
@@ -10,11 +10,9 @@
|
|||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Mods.Common.Traits;
|
|
||||||
using OpenRA.Mods.RA.Traits;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Attach this to the player actor (not a building!) to define a new shared build queue.",
|
[Desc("Attach this to the player actor (not a building!) to define a new shared build queue.",
|
||||||
"Will only work together with the Production: trait on the actor that actually does the production.",
|
"Will only work together with the Production: trait on the actor that actually does the production.",
|
||||||
@@ -10,12 +10,10 @@
|
|||||||
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Effects;
|
using OpenRA.Effects;
|
||||||
using OpenRA.Mods.Common.Traits;
|
|
||||||
using OpenRA.Mods.RA.Traits;
|
|
||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Allows to execute build orders.", " Attach this to the player actor.")]
|
[Desc("Allows to execute build orders.", " Attach this to the player actor.")]
|
||||||
class PlaceBuildingInfo : TraitInfo<PlaceBuilding> { }
|
class PlaceBuildingInfo : TraitInfo<PlaceBuilding> { }
|
||||||
@@ -11,11 +11,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Mods.Common.Traits;
|
|
||||||
using OpenRA.Mods.RA.Traits;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Attach this to an actor (usually a building) to let it produce units or construct buildings.",
|
[Desc("Attach this to an actor (usually a building) to let it produce units or construct buildings.",
|
||||||
"If one builds another actor of this type, he will get a separate queue to create two actors",
|
"If one builds another actor of this type, he will get a separate queue to create two actors",
|
||||||
@@ -12,13 +12,11 @@ using System;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Activities;
|
using OpenRA.Activities;
|
||||||
using OpenRA.Mods.Common;
|
|
||||||
using OpenRA.Mods.Common.Activities;
|
using OpenRA.Mods.Common.Activities;
|
||||||
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
|
||||||
{
|
{
|
||||||
[Desc("This unit has access to build queues.")]
|
[Desc("This unit has access to build queues.")]
|
||||||
public class ProductionInfo : ITraitInfo
|
public class ProductionInfo : ITraitInfo
|
||||||
@@ -10,12 +10,11 @@
|
|||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Mods.RA.Traits;
|
using OpenRA.Mods.Common.Widgets;
|
||||||
using OpenRA.Mods.RA.Widgets;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
class ProductionQueueFromSelectionInfo : ITraitInfo
|
class ProductionQueueFromSelectionInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
@@ -11,10 +11,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Mods.RA.Traits;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Visualizes the remaining build time of actor produced here.")]
|
[Desc("Visualizes the remaining build time of actor produced here.")]
|
||||||
class ProductionBarInfo : ITraitInfo
|
class ProductionBarInfo : ITraitInfo
|
||||||
@@ -12,10 +12,9 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.Common.Graphics;
|
using OpenRA.Mods.Common.Graphics;
|
||||||
using OpenRA.Mods.Common.Traits;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
class RenderBuildingWarFactoryInfo : RenderBuildingInfo
|
class RenderBuildingWarFactoryInfo : RenderBuildingInfo
|
||||||
{
|
{
|
||||||
@@ -11,10 +11,9 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.Common.Traits;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Replaces the idle animation of a building.")]
|
[Desc("Replaces the idle animation of a building.")]
|
||||||
public class WithActiveAnimationInfo : ITraitInfo, Requires<RenderBuildingInfo>
|
public class WithActiveAnimationInfo : ITraitInfo, Requires<RenderBuildingInfo>
|
||||||
@@ -12,10 +12,9 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.Common.Graphics;
|
using OpenRA.Mods.Common.Graphics;
|
||||||
using OpenRA.Mods.Common.Traits;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Renders a decorative animation on units and buildings.")]
|
[Desc("Renders a decorative animation on units and buildings.")]
|
||||||
public class WithIdleOverlayInfo : ITraitInfo, IRenderActorPreviewSpritesInfo, Requires<RenderSpritesInfo>, Requires<IBodyOrientationInfo>
|
public class WithIdleOverlayInfo : ITraitInfo, IRenderActorPreviewSpritesInfo, Requires<RenderSpritesInfo>, Requires<IBodyOrientationInfo>
|
||||||
@@ -15,7 +15,7 @@ using OpenRA.Mods.Common.Traits;
|
|||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Widgets.Logic
|
namespace OpenRA.Mods.Common.Widgets.Logic
|
||||||
{
|
{
|
||||||
public class ProductionTooltipLogic
|
public class ProductionTooltipLogic
|
||||||
{
|
{
|
||||||
@@ -13,13 +13,12 @@ using System.Collections.Generic;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
|
using OpenRA.Mods.Common.Orders;
|
||||||
using OpenRA.Mods.Common.Traits;
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Mods.RA.Orders;
|
|
||||||
using OpenRA.Mods.RA.Traits;
|
|
||||||
using OpenRA.Network;
|
using OpenRA.Network;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Widgets
|
namespace OpenRA.Mods.Common.Widgets
|
||||||
{
|
{
|
||||||
public class ProductionIcon
|
public class ProductionIcon
|
||||||
{
|
{
|
||||||
@@ -13,10 +13,10 @@ using System.Collections.Generic;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.RA;
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Widgets
|
namespace OpenRA.Mods.Common.Widgets
|
||||||
{
|
{
|
||||||
public class ProductionTab
|
public class ProductionTab
|
||||||
{
|
{
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Widgets
|
namespace OpenRA.Mods.Common.Widgets
|
||||||
{
|
{
|
||||||
public class ProductionTypeButtonWidget : ButtonWidget
|
public class ProductionTypeButtonWidget : ButtonWidget
|
||||||
{
|
{
|
||||||
@@ -9,8 +9,8 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Mods.D2k.Widgets;
|
using OpenRA.Mods.D2k.Widgets;
|
||||||
using OpenRA.Mods.RA;
|
|
||||||
using OpenRA.Mods.RA.Traits;
|
using OpenRA.Mods.RA.Traits;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|||||||
@@ -13,10 +13,8 @@ using System.Collections.Generic;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
|
using OpenRA.Mods.Common.Orders;
|
||||||
using OpenRA.Mods.Common.Traits;
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Mods.RA;
|
|
||||||
using OpenRA.Mods.RA.Orders;
|
|
||||||
using OpenRA.Mods.RA.Traits;
|
|
||||||
using OpenRA.Network;
|
using OpenRA.Network;
|
||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|||||||
@@ -81,7 +81,6 @@
|
|||||||
<Compile Include="AI\AttackOrFleeFuzzy.cs" />
|
<Compile Include="AI\AttackOrFleeFuzzy.cs" />
|
||||||
<Compile Include="AI\BaseBuilder.cs" />
|
<Compile Include="AI\BaseBuilder.cs" />
|
||||||
<Compile Include="AI\HackyAI.cs" />
|
<Compile Include="AI\HackyAI.cs" />
|
||||||
<Compile Include="Render\WithIdleOverlay.cs" />
|
|
||||||
<Compile Include="Traits\AcceptsSupplies.cs" />
|
<Compile Include="Traits\AcceptsSupplies.cs" />
|
||||||
<Compile Include="Activities\DeliverResources.cs" />
|
<Compile Include="Activities\DeliverResources.cs" />
|
||||||
<Compile Include="Activities\Demolish.cs" />
|
<Compile Include="Activities\Demolish.cs" />
|
||||||
@@ -96,7 +95,7 @@
|
|||||||
<Compile Include="Effects\GpsSatellite.cs" />
|
<Compile Include="Effects\GpsSatellite.cs" />
|
||||||
<Compile Include="Effects\SatelliteLaunch.cs" />
|
<Compile Include="Effects\SatelliteLaunch.cs" />
|
||||||
<Compile Include="Effects\TeslaZap.cs" />
|
<Compile Include="Effects\TeslaZap.cs" />
|
||||||
<Compile Include="Render\RenderUnitReload.cs" />
|
<Compile Include="Traits\Render\RenderUnitReload.cs" />
|
||||||
<Compile Include="Graphics\TeslaZapRenderable.cs" />
|
<Compile Include="Graphics\TeslaZapRenderable.cs" />
|
||||||
<Compile Include="EjectOnDeath.cs" />
|
<Compile Include="EjectOnDeath.cs" />
|
||||||
<Compile Include="AI\RushFuzzy.cs" />
|
<Compile Include="AI\RushFuzzy.cs" />
|
||||||
@@ -132,22 +131,14 @@
|
|||||||
<Compile Include="Traits\MadTank.cs" />
|
<Compile Include="Traits\MadTank.cs" />
|
||||||
<Compile Include="Traits\Mine.cs" />
|
<Compile Include="Traits\Mine.cs" />
|
||||||
<Compile Include="Traits\Minelayer.cs" />
|
<Compile Include="Traits\Minelayer.cs" />
|
||||||
<Compile Include="Orders\PlaceBuildingOrderGenerator.cs" />
|
|
||||||
<Compile Include="Orders\GlobalButtonOrderGenerator.cs" />
|
|
||||||
<Compile Include="ParaDrop.cs" />
|
<Compile Include="ParaDrop.cs" />
|
||||||
<Compile Include="Player\ClassicProductionQueue.cs" />
|
|
||||||
<Compile Include="Player\PlaceBuilding.cs" />
|
|
||||||
<Compile Include="Player\ProductionQueue.cs" />
|
|
||||||
<Compile Include="Traits\PortableChrono.cs" />
|
<Compile Include="Traits\PortableChrono.cs" />
|
||||||
<Compile Include="Scripting\Properties\GuardProperties.cs" />
|
<Compile Include="Scripting\Properties\GuardProperties.cs" />
|
||||||
<Compile Include="Widgets\Logic\TabCompletionLogic.cs" />
|
<Compile Include="Widgets\Logic\TabCompletionLogic.cs" />
|
||||||
<Compile Include="Production.cs" />
|
|
||||||
<Compile Include="ProductionBar.cs" />
|
|
||||||
<Compile Include="Traits\Render\RenderJammerCircle.cs" />
|
<Compile Include="Traits\Render\RenderJammerCircle.cs" />
|
||||||
<Compile Include="Render\RenderBuildingWarFactory.cs" />
|
<Compile Include="Traits\Render\RenderHarvester.cs" />
|
||||||
<Compile Include="Render\RenderHarvester.cs" />
|
<Compile Include="Traits\Render\RenderDisguise.cs" />
|
||||||
<Compile Include="Render\RenderDisguise.cs" />
|
<Compile Include="Traits\Render\RenderLandingCraft.cs" />
|
||||||
<Compile Include="Render\RenderLandingCraft.cs" />
|
|
||||||
<Compile Include="Disguise.cs" />
|
<Compile Include="Disguise.cs" />
|
||||||
<Compile Include="Traits\SupplyTruck.cs" />
|
<Compile Include="Traits\SupplyTruck.cs" />
|
||||||
<Compile Include="SupportPowers\AirstrikePower.cs" />
|
<Compile Include="SupportPowers\AirstrikePower.cs" />
|
||||||
@@ -161,7 +152,6 @@
|
|||||||
<Compile Include="TraitsInterfaces.cs" />
|
<Compile Include="TraitsInterfaces.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\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" />
|
||||||
@@ -223,7 +213,6 @@
|
|||||||
<Compile Include="Widgets\Logic\ReplayControlBarLogic.cs" />
|
<Compile Include="Widgets\Logic\ReplayControlBarLogic.cs" />
|
||||||
<Compile Include="Traits\Attack\AttackGarrisoned.cs" />
|
<Compile Include="Traits\Attack\AttackGarrisoned.cs" />
|
||||||
<Compile Include="Widgets\Logic\LobbyMapPreviewLogic.cs" />
|
<Compile Include="Widgets\Logic\LobbyMapPreviewLogic.cs" />
|
||||||
<Compile Include="Orders\BeaconOrderGenerator.cs" />
|
|
||||||
<Compile Include="Widgets\Logic\ControlGroupLogic.cs" />
|
<Compile Include="Widgets\Logic\ControlGroupLogic.cs" />
|
||||||
<Compile Include="Scripting\Global\ReinforcementsGlobal.cs" />
|
<Compile Include="Scripting\Global\ReinforcementsGlobal.cs" />
|
||||||
<Compile Include="Scripting\Properties\ProductionProperties.cs" />
|
<Compile Include="Scripting\Properties\ProductionProperties.cs" />
|
||||||
@@ -240,14 +229,9 @@
|
|||||||
<Compile Include="Parachutable.cs" />
|
<Compile Include="Parachutable.cs" />
|
||||||
<Compile Include="Widgets\Logic\InstallFromCDLogic.cs" />
|
<Compile Include="Widgets\Logic\InstallFromCDLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\InstallMusicLogic.cs" />
|
<Compile Include="Widgets\Logic\InstallMusicLogic.cs" />
|
||||||
<Compile Include="Render\WithActiveAnimation.cs" />
|
|
||||||
<Compile Include="SupportPowers\SpawnActorPower.cs" />
|
<Compile Include="SupportPowers\SpawnActorPower.cs" />
|
||||||
<Compile Include="Traits\Buildings\ClonesProducedUnits.cs" />
|
<Compile Include="Traits\Buildings\ClonesProducedUnits.cs" />
|
||||||
<Compile Include="Cloneable.cs" />
|
<Compile Include="Cloneable.cs" />
|
||||||
<Compile Include="Widgets\ProductionPaletteWidget.cs" />
|
|
||||||
<Compile Include="Widgets\ProductionTabsWidget.cs" />
|
|
||||||
<Compile Include="Widgets\ProductionTypeButtonWidget.cs" />
|
|
||||||
<Compile Include="Widgets\Logic\ProductionTooltipLogic.cs" />
|
|
||||||
<Compile Include="Widgets\Logic\Ingame\IngameCashCounterLogic.cs" />
|
<Compile Include="Widgets\Logic\Ingame\IngameCashCounterLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\Ingame\IngamePowerCounterLogic.cs" />
|
<Compile Include="Widgets\Logic\Ingame\IngamePowerCounterLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\Ingame\IngamePowerBarLogic.cs" />
|
<Compile Include="Widgets\Logic\Ingame\IngamePowerBarLogic.cs" />
|
||||||
@@ -258,7 +242,6 @@
|
|||||||
<Compile Include="Widgets\Logic\SupportPowerTooltipLogic.cs" />
|
<Compile Include="Widgets\Logic\SupportPowerTooltipLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\SupportPowerBinLogic.cs" />
|
<Compile Include="Widgets\Logic\SupportPowerBinLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\DebugMenuLogic.cs" />
|
<Compile Include="Widgets\Logic\DebugMenuLogic.cs" />
|
||||||
<Compile Include="ProductionQueueFromSelection.cs" />
|
|
||||||
<Compile Include="GainsStatUpgrades.cs" />
|
<Compile Include="GainsStatUpgrades.cs" />
|
||||||
<Compile Include="Warheads\PerCellDamageWarhead.cs" />
|
<Compile Include="Warheads\PerCellDamageWarhead.cs" />
|
||||||
<Compile Include="Scripting\Properties\HarvesterProperties.cs" />
|
<Compile Include="Scripting\Properties\HarvesterProperties.cs" />
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Mods.Common.Widgets;
|
using OpenRA.Mods.Common.Widgets;
|
||||||
using OpenRA.Mods.RA.Widgets;
|
using OpenRA.Mods.RA.Widgets;
|
||||||
using OpenRA.Network;
|
using OpenRA.Network;
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ using System.Linq;
|
|||||||
using OpenRA.Mods.Common.Orders;
|
using OpenRA.Mods.Common.Orders;
|
||||||
using OpenRA.Mods.Common.Traits;
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Mods.Common.Widgets;
|
using OpenRA.Mods.Common.Widgets;
|
||||||
using OpenRA.Mods.RA.Orders;
|
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Widgets.Logic
|
namespace OpenRA.Mods.RA.Widgets.Logic
|
||||||
|
|||||||
Reference in New Issue
Block a user