Move Smoke effect, ContrailFader effect, SmudgeLayer and LeaveSmudgeWarhead to Mods.Common
This commit is contained in:
4
OpenRA.Mods.RA/Effects/ContrailFader.cs → OpenRA.Mods.Common/Effects/ContrailFader.cs
Executable file → Normal file
4
OpenRA.Mods.RA/Effects/ContrailFader.cs → OpenRA.Mods.Common/Effects/ContrailFader.cs
Executable file → Normal file
@@ -13,9 +13,9 @@ using OpenRA.Effects;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.Common.Graphics;
|
using OpenRA.Mods.Common.Graphics;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Effects
|
namespace OpenRA.Mods.Common.Effects
|
||||||
{
|
{
|
||||||
class ContrailFader : IEffect
|
public class ContrailFader : IEffect
|
||||||
{
|
{
|
||||||
WPos pos;
|
WPos pos;
|
||||||
ContrailRenderable trail;
|
ContrailRenderable trail;
|
||||||
@@ -12,7 +12,7 @@ using System.Collections.Generic;
|
|||||||
using OpenRA.Effects;
|
using OpenRA.Effects;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Effects
|
namespace OpenRA.Mods.Common.Effects
|
||||||
{
|
{
|
||||||
public class Smoke : IEffect
|
public class Smoke : IEffect
|
||||||
{
|
{
|
||||||
@@ -42,8 +42,10 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="CommonTraitsInterfaces.cs" />
|
<Compile Include="CommonTraitsInterfaces.cs" />
|
||||||
|
<Compile Include="Effects\ContrailFader.cs" />
|
||||||
<Compile Include="Effects\Explosion.cs" />
|
<Compile Include="Effects\Explosion.cs" />
|
||||||
<Compile Include="Effects\FloatingText.cs" />
|
<Compile Include="Effects\FloatingText.cs" />
|
||||||
|
<Compile Include="Effects\Smoke.cs" />
|
||||||
<Compile Include="Console\ChatCommands.cs" />
|
<Compile Include="Console\ChatCommands.cs" />
|
||||||
<Compile Include="Console\DevCommands.cs" />
|
<Compile Include="Console\DevCommands.cs" />
|
||||||
<Compile Include="Console\HelpCommand.cs" />
|
<Compile Include="Console\HelpCommand.cs" />
|
||||||
@@ -78,6 +80,7 @@
|
|||||||
<Compile Include="Graphics\TextRenderable.cs" />
|
<Compile Include="Graphics\TextRenderable.cs" />
|
||||||
<Compile Include="Graphics\VoxelActorPreview.cs" />
|
<Compile Include="Graphics\VoxelActorPreview.cs" />
|
||||||
<Compile Include="Graphics\VoxelRenderable.cs" />
|
<Compile Include="Graphics\VoxelRenderable.cs" />
|
||||||
|
<Compile Include="Warheads\LeaveSmudgeWarhead.cs" />
|
||||||
<Compile Include="Widgets\ConfirmationDialogs.cs" />
|
<Compile Include="Widgets\ConfirmationDialogs.cs" />
|
||||||
<Compile Include="Widgets\HueSliderWidget.cs" />
|
<Compile Include="Widgets\HueSliderWidget.cs" />
|
||||||
<Compile Include="Widgets\LabelWithTooltipWidget.cs" />
|
<Compile Include="Widgets\LabelWithTooltipWidget.cs" />
|
||||||
@@ -96,6 +99,7 @@
|
|||||||
<Compile Include="Widgets\RadarWidget.cs" />
|
<Compile Include="Widgets\RadarWidget.cs" />
|
||||||
<Compile Include="Widgets\ResourceBarWidget.cs" />
|
<Compile Include="Widgets\ResourceBarWidget.cs" />
|
||||||
<Compile Include="World\RadarPings.cs" />
|
<Compile Include="World\RadarPings.cs" />
|
||||||
|
<Compile Include="World\SmudgeLayer.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ using OpenRA.Effects;
|
|||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common
|
||||||
{
|
{
|
||||||
public class LeaveSmudgeWarhead : Warhead
|
public class LeaveSmudgeWarhead : Warhead
|
||||||
{
|
{
|
||||||
@@ -11,10 +11,10 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.RA.Effects;
|
using OpenRA.Mods.Common.Effects;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common
|
||||||
{
|
{
|
||||||
[Desc("Attach this to the world actor.", "Order of the layers defines the Z sorting.")]
|
[Desc("Attach this to the world actor.", "Order of the layers defines the Z sorting.")]
|
||||||
public class SmudgeLayerInfo : ITraitInfo
|
public class SmudgeLayerInfo : ITraitInfo
|
||||||
@@ -15,6 +15,7 @@ using System.Linq;
|
|||||||
using OpenRA.Effects;
|
using OpenRA.Effects;
|
||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
|
using OpenRA.Mods.Common.Effects;
|
||||||
using OpenRA.Mods.Common.Graphics;
|
using OpenRA.Mods.Common.Graphics;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
|
using OpenRA.Mods.Common.Effects;
|
||||||
using OpenRA.Mods.Common.Graphics;
|
using OpenRA.Mods.Common.Graphics;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ using System.Linq;
|
|||||||
using OpenRA.Effects;
|
using OpenRA.Effects;
|
||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
|
using OpenRA.Mods.Common.Effects;
|
||||||
using OpenRA.Mods.Common.Graphics;
|
using OpenRA.Mods.Common.Graphics;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
|
|||||||
@@ -225,7 +225,6 @@
|
|||||||
<Compile Include="Effects\RallyPoint.cs" />
|
<Compile Include="Effects\RallyPoint.cs" />
|
||||||
<Compile Include="Effects\RepairIndicator.cs" />
|
<Compile Include="Effects\RepairIndicator.cs" />
|
||||||
<Compile Include="Effects\SatelliteLaunch.cs" />
|
<Compile Include="Effects\SatelliteLaunch.cs" />
|
||||||
<Compile Include="Effects\Smoke.cs" />
|
|
||||||
<Compile Include="Effects\TeslaZap.cs" />
|
<Compile Include="Effects\TeslaZap.cs" />
|
||||||
<Compile Include="EmitInfantryOnSell.cs" />
|
<Compile Include="EmitInfantryOnSell.cs" />
|
||||||
<Compile Include="EngineerRepair.cs" />
|
<Compile Include="EngineerRepair.cs" />
|
||||||
@@ -290,7 +289,6 @@
|
|||||||
<Compile Include="Warheads\DestroyResourceWarhead.cs" />
|
<Compile Include="Warheads\DestroyResourceWarhead.cs" />
|
||||||
<Compile Include="Warheads\CreateEffectWarhead.cs" />
|
<Compile Include="Warheads\CreateEffectWarhead.cs" />
|
||||||
<Compile Include="Warheads\CreateResourceWarhead.cs" />
|
<Compile Include="Warheads\CreateResourceWarhead.cs" />
|
||||||
<Compile Include="Warheads\LeaveSmudgeWarhead.cs" />
|
|
||||||
<Compile Include="Widgets\Logic\TabCompletionLogic.cs" />
|
<Compile Include="Widgets\Logic\TabCompletionLogic.cs" />
|
||||||
<Compile Include="Player\TechTree.cs" />
|
<Compile Include="Player\TechTree.cs" />
|
||||||
<Compile Include="PrimaryBuilding.cs" />
|
<Compile Include="PrimaryBuilding.cs" />
|
||||||
@@ -401,7 +399,6 @@
|
|||||||
<Compile Include="World\ResourceClaim.cs" />
|
<Compile Include="World\ResourceClaim.cs" />
|
||||||
<Compile Include="World\ResourceClaimLayer.cs" />
|
<Compile Include="World\ResourceClaimLayer.cs" />
|
||||||
<Compile Include="World\PlayMusicOnMapLoad.cs" />
|
<Compile Include="World\PlayMusicOnMapLoad.cs" />
|
||||||
<Compile Include="World\SmudgeLayer.cs" />
|
|
||||||
<Compile Include="Player\BaseAttackNotifier.cs" />
|
<Compile Include="Player\BaseAttackNotifier.cs" />
|
||||||
<Compile Include="Player\HarvesterAttackNotifier.cs" />
|
<Compile Include="Player\HarvesterAttackNotifier.cs" />
|
||||||
<Compile Include="Infiltration\InfiltrateForExploration.cs" />
|
<Compile Include="Infiltration\InfiltrateForExploration.cs" />
|
||||||
@@ -445,7 +442,6 @@
|
|||||||
<Compile Include="Widgets\Logic\InstallLogic.cs" />
|
<Compile Include="Widgets\Logic\InstallLogic.cs" />
|
||||||
<Compile Include="CombatDebugOverlay.cs" />
|
<Compile Include="CombatDebugOverlay.cs" />
|
||||||
<Compile Include="World\PathfinderDebugOverlay.cs" />
|
<Compile Include="World\PathfinderDebugOverlay.cs" />
|
||||||
<Compile Include="Effects\ContrailFader.cs" />
|
|
||||||
<Compile Include="Widgets\Logic\SettingsLogic.cs" />
|
<Compile Include="Widgets\Logic\SettingsLogic.cs" />
|
||||||
<Compile Include="AttackBomber.cs" />
|
<Compile Include="AttackBomber.cs" />
|
||||||
<Compile Include="Effects\Rank.cs" />
|
<Compile Include="Effects\Rank.cs" />
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using OpenRA.Mods.RA.Effects;
|
using OpenRA.Mods.Common.Effects;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.RA
|
||||||
|
|||||||
Reference in New Issue
Block a user