Move Valued, CustomSellValue and CustomBuildTimeValue to Common
This commit is contained in:
@@ -99,6 +99,8 @@
|
|||||||
<Compile Include="Traits\BlocksBullets.cs" />
|
<Compile Include="Traits\BlocksBullets.cs" />
|
||||||
<Compile Include="Traits\Immobile.cs" />
|
<Compile Include="Traits\Immobile.cs" />
|
||||||
<Compile Include="Traits\Burns.cs" />
|
<Compile Include="Traits\Burns.cs" />
|
||||||
|
<Compile Include="Traits\CustomBuildTimeValue.cs" />
|
||||||
|
<Compile Include="Traits\CustomSellValue.cs" />
|
||||||
<Compile Include="Traits\Demolishable.cs" />
|
<Compile Include="Traits\Demolishable.cs" />
|
||||||
<Compile Include="Traits\JamsMissiles.cs" />
|
<Compile Include="Traits\JamsMissiles.cs" />
|
||||||
<Compile Include="Traits\ProvidesRadar.cs" />
|
<Compile Include="Traits\ProvidesRadar.cs" />
|
||||||
|
|||||||
2
OpenRA.Mods.RA/Buildings/CustomBuildTimeValue.cs → OpenRA.Mods.Common/Traits/CustomBuildTimeValue.cs
Executable file → Normal file
2
OpenRA.Mods.RA/Buildings/CustomBuildTimeValue.cs → OpenRA.Mods.Common/Traits/CustomBuildTimeValue.cs
Executable file → Normal file
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Buildings
|
namespace OpenRA.Mods.Common
|
||||||
{
|
{
|
||||||
[Desc("Overrides the build time calculated by actor value.")]
|
[Desc("Overrides the build time calculated by actor value.")]
|
||||||
public class CustomBuildTimeValueInfo : TraitInfo<CustomBuildTimeValue>
|
public class CustomBuildTimeValueInfo : TraitInfo<CustomBuildTimeValue>
|
||||||
2
OpenRA.Mods.RA/Buildings/CustomSellValue.cs → OpenRA.Mods.Common/Traits/CustomSellValue.cs
Executable file → Normal file
2
OpenRA.Mods.RA/Buildings/CustomSellValue.cs → OpenRA.Mods.Common/Traits/CustomSellValue.cs
Executable file → Normal file
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Buildings
|
namespace OpenRA.Mods.Common
|
||||||
{
|
{
|
||||||
[Desc("Allow a non-standard sell/repair value to avoid buy-sell exploits.")]
|
[Desc("Allow a non-standard sell/repair value to avoid buy-sell exploits.")]
|
||||||
public class CustomSellValueInfo : TraitInfo<CustomSellValue>
|
public class CustomSellValueInfo : TraitInfo<CustomSellValue>
|
||||||
2
OpenRA.Mods.RA/Valued.cs → OpenRA.Mods.Common/Traits/Valued.cs
Executable file → Normal file
2
OpenRA.Mods.RA/Valued.cs → OpenRA.Mods.Common/Traits/Valued.cs
Executable file → Normal file
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common
|
||||||
{
|
{
|
||||||
[Desc("How much the unit is worth.")]
|
[Desc("How much the unit is worth.")]
|
||||||
public class ValuedInfo : TraitInfo<Valued>
|
public class ValuedInfo : TraitInfo<Valued>
|
||||||
@@ -13,10 +13,11 @@ 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;
|
||||||
|
using OpenRA.Mods.Common.Power;
|
||||||
using OpenRA.Mods.RA;
|
using OpenRA.Mods.RA;
|
||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Mods.RA.Orders;
|
using OpenRA.Mods.RA.Orders;
|
||||||
using OpenRA.Mods.Common.Power;
|
|
||||||
using OpenRA.Mods.RA.Render;
|
using OpenRA.Mods.RA.Render;
|
||||||
using OpenRA.Network;
|
using OpenRA.Network;
|
||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using OpenRA;
|
using OpenRA;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.RA.AI;
|
using OpenRA.Mods.RA.AI;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Activities
|
namespace OpenRA.Mods.RA.Activities
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.Common.Effects;
|
using OpenRA.Mods.Common.Effects;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.RA.Effects;
|
using OpenRA.Mods.RA.Effects;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.RA.Move;
|
using OpenRA.Mods.RA.Move;
|
||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.Common.Effects;
|
using OpenRA.Mods.Common.Effects;
|
||||||
using OpenRA.Mods.RA.Effects;
|
using OpenRA.Mods.RA.Effects;
|
||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.Common.Effects;
|
using OpenRA.Mods.Common.Effects;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.RA
|
||||||
|
|||||||
@@ -164,8 +164,6 @@
|
|||||||
<Compile Include="CaptureNotification.cs" />
|
<Compile Include="CaptureNotification.cs" />
|
||||||
<Compile Include="Buildings\Building.cs" />
|
<Compile Include="Buildings\Building.cs" />
|
||||||
<Compile Include="Buildings\BuildingInfluence.cs" />
|
<Compile Include="Buildings\BuildingInfluence.cs" />
|
||||||
<Compile Include="Buildings\CustomSellValue.cs" />
|
|
||||||
<Compile Include="Buildings\CustomBuildTimeValue.cs" />
|
|
||||||
<Compile Include="Buildings\DeadBuildingState.cs" />
|
<Compile Include="Buildings\DeadBuildingState.cs" />
|
||||||
<Compile Include="Buildings\FootprintUtils.cs" />
|
<Compile Include="Buildings\FootprintUtils.cs" />
|
||||||
<Compile Include="Buildings\LineBuild.cs" />
|
<Compile Include="Buildings\LineBuild.cs" />
|
||||||
@@ -312,7 +310,6 @@
|
|||||||
<Compile Include="TransformOnPassenger.cs" />
|
<Compile Include="TransformOnPassenger.cs" />
|
||||||
<Compile Include="Transforms.cs" />
|
<Compile Include="Transforms.cs" />
|
||||||
<Compile Include="Turreted.cs" />
|
<Compile Include="Turreted.cs" />
|
||||||
<Compile Include="Valued.cs" />
|
|
||||||
<Compile Include="Widgets\Logic\KickSpectatorsLogic.cs" />
|
<Compile Include="Widgets\Logic\KickSpectatorsLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\MissionBrowserLogic.cs" />
|
<Compile Include="Widgets\Logic\MissionBrowserLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\IngameMenuLogic.cs" />
|
<Compile Include="Widgets\Logic\IngameMenuLogic.cs" />
|
||||||
|
|||||||
@@ -10,8 +10,9 @@
|
|||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.Common.Power;
|
using OpenRA.Mods.Common.Power;
|
||||||
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.RA
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.Common.Power;
|
using OpenRA.Mods.Common.Power;
|
||||||
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.RA
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Eluant;
|
using Eluant;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.RA.Air;
|
using OpenRA.Mods.RA.Air;
|
||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ using System.Collections.Generic;
|
|||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.UtilityCommands
|
namespace OpenRA.Mods.RA.UtilityCommands
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ 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;
|
||||||
using OpenRA.Mods.Common.Power;
|
using OpenRA.Mods.Common.Power;
|
||||||
using OpenRA.Network;
|
using OpenRA.Network;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Mods.Common.Power;
|
using OpenRA.Mods.Common.Power;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|||||||
Reference in New Issue
Block a user