diff --git a/OpenRA.Game/Effects/DelayedImpact.cs b/OpenRA.Game/Effects/DelayedImpact.cs index e0d68cde42..49e40edaa9 100644 --- a/OpenRA.Game/Effects/DelayedImpact.cs +++ b/OpenRA.Game/Effects/DelayedImpact.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using OpenRA.Graphics; using OpenRA.Traits; diff --git a/OpenRA.Game/GameRules/MusicInfo.cs b/OpenRA.Game/GameRules/MusicInfo.cs index 846dd30643..5e991f236f 100644 --- a/OpenRA.Game/GameRules/MusicInfo.cs +++ b/OpenRA.Game/GameRules/MusicInfo.cs @@ -10,7 +10,6 @@ #endregion using System.IO; -using OpenRA.FileFormats; using OpenRA.FileSystem; namespace OpenRA.GameRules diff --git a/OpenRA.Game/Graphics/Animation.cs b/OpenRA.Game/Graphics/Animation.cs index 86117fc194..67f67c9f96 100644 --- a/OpenRA.Game/Graphics/Animation.cs +++ b/OpenRA.Game/Graphics/Animation.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using System.Drawing; using System.Linq; using OpenRA.Support; diff --git a/OpenRA.Game/Graphics/AnimationWithOffset.cs b/OpenRA.Game/Graphics/AnimationWithOffset.cs index 4778119f88..f8bae6c8bd 100644 --- a/OpenRA.Game/Graphics/AnimationWithOffset.cs +++ b/OpenRA.Game/Graphics/AnimationWithOffset.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using System.Drawing; namespace OpenRA.Graphics diff --git a/OpenRA.Game/Graphics/RgbaSpriteRenderer.cs b/OpenRA.Game/Graphics/RgbaSpriteRenderer.cs index 1dc418b88c..7354e33985 100644 --- a/OpenRA.Game/Graphics/RgbaSpriteRenderer.cs +++ b/OpenRA.Game/Graphics/RgbaSpriteRenderer.cs @@ -10,9 +10,6 @@ #endregion using System; -using System.Collections.Generic; -using System.Drawing; -using System.Linq; namespace OpenRA.Graphics { diff --git a/OpenRA.Game/Graphics/SpriteRenderable.cs b/OpenRA.Game/Graphics/SpriteRenderable.cs index 57b160376c..00fb1d62ab 100644 --- a/OpenRA.Game/Graphics/SpriteRenderable.cs +++ b/OpenRA.Game/Graphics/SpriteRenderable.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Drawing; -using System.Linq; namespace OpenRA.Graphics { diff --git a/OpenRA.Game/LocalPlayerProfile.cs b/OpenRA.Game/LocalPlayerProfile.cs index 051d99cc0c..03d72f0485 100644 --- a/OpenRA.Game/LocalPlayerProfile.cs +++ b/OpenRA.Game/LocalPlayerProfile.cs @@ -16,7 +16,6 @@ using System.Net; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; -using OpenRA.Network; namespace OpenRA { diff --git a/OpenRA.Game/Map/Map.cs b/OpenRA.Game/Map/Map.cs index 5a5ce00b1d..6f87c0debf 100644 --- a/OpenRA.Game/Map/Map.cs +++ b/OpenRA.Game/Map/Map.cs @@ -18,7 +18,6 @@ using System.Linq; using System.Reflection; using System.Text; using OpenRA.FileSystem; -using OpenRA.Graphics; using OpenRA.Primitives; using OpenRA.Support; using OpenRA.Traits; diff --git a/OpenRA.Game/Map/MapPreview.cs b/OpenRA.Game/Map/MapPreview.cs index 262b10a533..e9dcc07240 100644 --- a/OpenRA.Game/Map/MapPreview.cs +++ b/OpenRA.Game/Map/MapPreview.cs @@ -11,7 +11,6 @@ using System; using System.Collections.Generic; -using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Drawing; using System.IO; diff --git a/OpenRA.Game/Network/Order.cs b/OpenRA.Game/Network/Order.cs index 035dc77d44..ea157e0746 100644 --- a/OpenRA.Game/Network/Order.cs +++ b/OpenRA.Game/Network/Order.cs @@ -11,7 +11,6 @@ using System; using System.IO; -using System.Linq; using OpenRA.Network; using OpenRA.Traits; diff --git a/OpenRA.Game/Network/UPnP.cs b/OpenRA.Game/Network/UPnP.cs index b889829d41..5006390561 100644 --- a/OpenRA.Game/Network/UPnP.cs +++ b/OpenRA.Game/Network/UPnP.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using System.Diagnostics; using System.Net; using System.Threading; diff --git a/OpenRA.Game/Network/UnitOrders.cs b/OpenRA.Game/Network/UnitOrders.cs index 855988a20b..4fb2db8931 100644 --- a/OpenRA.Game/Network/UnitOrders.cs +++ b/OpenRA.Game/Network/UnitOrders.cs @@ -9,12 +9,9 @@ */ #endregion -using System; using System.Collections.Generic; using System.Drawing; using System.Linq; -using System.Security.Cryptography; -using System.Text; using OpenRA.Traits; namespace OpenRA.Network diff --git a/OpenRA.Game/Orders/UnitOrderGenerator.cs b/OpenRA.Game/Orders/UnitOrderGenerator.cs index 679c3a305a..016459fe75 100644 --- a/OpenRA.Game/Orders/UnitOrderGenerator.cs +++ b/OpenRA.Game/Orders/UnitOrderGenerator.cs @@ -12,7 +12,6 @@ using System.Collections.Generic; using System.Linq; using OpenRA.Graphics; -using OpenRA.Primitives; using OpenRA.Traits; namespace OpenRA.Orders diff --git a/OpenRA.Game/Platform.cs b/OpenRA.Game/Platform.cs index a15a588359..b8c1ede0ea 100644 --- a/OpenRA.Game/Platform.cs +++ b/OpenRA.Game/Platform.cs @@ -12,7 +12,6 @@ using System; using System.Diagnostics; using System.IO; -using System.Linq; using System.Reflection; namespace OpenRA diff --git a/OpenRA.Game/Primitives/float3.cs b/OpenRA.Game/Primitives/float3.cs index cf43609aea..9b85b67a5f 100644 --- a/OpenRA.Game/Primitives/float3.cs +++ b/OpenRA.Game/Primitives/float3.cs @@ -9,9 +9,7 @@ */ #endregion -using System; using System.Diagnostics.CodeAnalysis; -using System.Drawing; using System.Runtime.InteropServices; namespace OpenRA diff --git a/OpenRA.Game/SelectableExts.cs b/OpenRA.Game/SelectableExts.cs index 41fda7ebb1..5aa60ffc5a 100644 --- a/OpenRA.Game/SelectableExts.cs +++ b/OpenRA.Game/SelectableExts.cs @@ -13,8 +13,6 @@ using System; using System.Collections.Generic; using System.Drawing; using System.Linq; -using OpenRA.Graphics; -using OpenRA.Primitives; namespace OpenRA.Traits { diff --git a/OpenRA.Game/Traits/Interactable.cs b/OpenRA.Game/Traits/Interactable.cs index e109bf7283..462bf9adf8 100644 --- a/OpenRA.Game/Traits/Interactable.cs +++ b/OpenRA.Game/Traits/Interactable.cs @@ -12,7 +12,6 @@ using System.Drawing; using System.Linq; using OpenRA.Graphics; -using OpenRA.Traits; namespace OpenRA.Traits { diff --git a/OpenRA.Game/Traits/Selectable.cs b/OpenRA.Game/Traits/Selectable.cs index cbf5d05d9f..b4242688b8 100644 --- a/OpenRA.Game/Traits/Selectable.cs +++ b/OpenRA.Game/Traits/Selectable.cs @@ -9,10 +9,6 @@ */ #endregion -using System.Collections.Generic; -using System.Drawing; -using OpenRA.Graphics; - namespace OpenRA.Traits { [Desc("This actor is selectable. Defines bounds of selectable area, selection class and selection priority.")] diff --git a/OpenRA.Game/Traits/TraitsInterfaces.cs b/OpenRA.Game/Traits/TraitsInterfaces.cs index 435c44aa43..5a6d9656ce 100644 --- a/OpenRA.Game/Traits/TraitsInterfaces.cs +++ b/OpenRA.Game/Traits/TraitsInterfaces.cs @@ -13,7 +13,6 @@ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Drawing; -using OpenRA.Activities; using OpenRA.FileSystem; using OpenRA.Graphics; using OpenRA.Network; diff --git a/OpenRA.Mods.Cnc/Activities/LayMines.cs b/OpenRA.Mods.Cnc/Activities/LayMines.cs index 2218412ade..94b4e66b80 100644 --- a/OpenRA.Mods.Cnc/Activities/LayMines.cs +++ b/OpenRA.Mods.Cnc/Activities/LayMines.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using OpenRA.Activities; using OpenRA.Mods.Cnc.Traits; diff --git a/OpenRA.Mods.Cnc/Activities/Leap.cs b/OpenRA.Mods.Cnc/Activities/Leap.cs index f9f83c8a1b..8a9338e6d2 100644 --- a/OpenRA.Mods.Cnc/Activities/Leap.cs +++ b/OpenRA.Mods.Cnc/Activities/Leap.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using System.Linq; using OpenRA.Activities; using OpenRA.GameRules; diff --git a/OpenRA.Mods.Cnc/CncLoadScreen.cs b/OpenRA.Mods.Cnc/CncLoadScreen.cs index f2d3e0cb35..a1978fb008 100644 --- a/OpenRA.Mods.Cnc/CncLoadScreen.cs +++ b/OpenRA.Mods.Cnc/CncLoadScreen.cs @@ -12,7 +12,6 @@ using System.Collections.Generic; using System.Diagnostics; using System.Drawing; -using System.IO; using OpenRA.Graphics; using OpenRA.Mods.Common.LoadScreens; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Cnc/Effects/AnimatedBeacon.cs b/OpenRA.Mods.Cnc/Effects/AnimatedBeacon.cs index 323a6cbbd4..20c36a3431 100644 --- a/OpenRA.Mods.Cnc/Effects/AnimatedBeacon.cs +++ b/OpenRA.Mods.Cnc/Effects/AnimatedBeacon.cs @@ -9,12 +9,9 @@ */ #endregion -using System; using System.Collections.Generic; -using System.Linq; using OpenRA.Effects; using OpenRA.Graphics; -using OpenRA.Scripting; namespace OpenRA.Mods.Cnc.Effects { diff --git a/OpenRA.Mods.Cnc/FileSystem/MixFile.cs b/OpenRA.Mods.Cnc/FileSystem/MixFile.cs index b7a78deda8..b3c7bb1923 100644 --- a/OpenRA.Mods.Cnc/FileSystem/MixFile.cs +++ b/OpenRA.Mods.Cnc/FileSystem/MixFile.cs @@ -13,7 +13,6 @@ using System; using System.Collections.Generic; using System.IO; using System.Linq; -using OpenRA.FileFormats; using OpenRA.FileSystem; using OpenRA.Mods.Cnc.FileFormats; using OpenRA.Primitives; diff --git a/OpenRA.Mods.Cnc/Projectiles/IonCannon.cs b/OpenRA.Mods.Cnc/Projectiles/IonCannon.cs index f0b4587be2..89aa7e4e42 100644 --- a/OpenRA.Mods.Cnc/Projectiles/IonCannon.cs +++ b/OpenRA.Mods.Cnc/Projectiles/IonCannon.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Linq; -using OpenRA.Effects; using OpenRA.GameRules; using OpenRA.Graphics; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Projectiles/TeslaZap.cs b/OpenRA.Mods.Cnc/Projectiles/TeslaZap.cs index 2f52afc70c..7180bb5d97 100644 --- a/OpenRA.Mods.Cnc/Projectiles/TeslaZap.cs +++ b/OpenRA.Mods.Cnc/Projectiles/TeslaZap.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Effects; using OpenRA.GameRules; using OpenRA.Graphics; using OpenRA.Mods.Cnc.Graphics; diff --git a/OpenRA.Mods.Cnc/Scripting/Properties/InfiltrateProperties.cs b/OpenRA.Mods.Cnc/Scripting/Properties/InfiltrateProperties.cs index 0cb854c81f..391ed7142f 100644 --- a/OpenRA.Mods.Cnc/Scripting/Properties/InfiltrateProperties.cs +++ b/OpenRA.Mods.Cnc/Scripting/Properties/InfiltrateProperties.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using Eluant; using OpenRA.Mods.Cnc.Activities; diff --git a/OpenRA.Mods.Cnc/Scripting/Properties/IonCannonProperties.cs b/OpenRA.Mods.Cnc/Scripting/Properties/IonCannonProperties.cs index 17769c37b6..273622f005 100644 --- a/OpenRA.Mods.Cnc/Scripting/Properties/IonCannonProperties.cs +++ b/OpenRA.Mods.Cnc/Scripting/Properties/IonCannonProperties.cs @@ -10,10 +10,7 @@ #endregion using System.Linq; -using OpenRA.Mods.Cnc.Effects; using OpenRA.Mods.Cnc.Traits; -using OpenRA.Mods.Common.Activities; -using OpenRA.Mods.Common.Traits; using OpenRA.Scripting; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/Buildings/ProductionAirdrop.cs b/OpenRA.Mods.Cnc/Traits/Buildings/ProductionAirdrop.cs index 53c3efbb2c..8085f7a5e3 100644 --- a/OpenRA.Mods.Cnc/Traits/Buildings/ProductionAirdrop.cs +++ b/OpenRA.Mods.Cnc/Traits/Buildings/ProductionAirdrop.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using OpenRA.Activities; using OpenRA.Mods.Common; diff --git a/OpenRA.Mods.Cnc/Traits/Chronoshiftable.cs b/OpenRA.Mods.Cnc/Traits/Chronoshiftable.cs index 2ba4f2ae53..309a4f65eb 100644 --- a/OpenRA.Mods.Cnc/Traits/Chronoshiftable.cs +++ b/OpenRA.Mods.Cnc/Traits/Chronoshiftable.cs @@ -10,7 +10,6 @@ #endregion using System.Drawing; -using OpenRA.Activities; using OpenRA.Mods.Cnc.Activities; using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/Cloneable.cs b/OpenRA.Mods.Cnc/Traits/Cloneable.cs index db51985756..862ca3aaf0 100644 --- a/OpenRA.Mods.Cnc/Traits/Cloneable.cs +++ b/OpenRA.Mods.Cnc/Traits/Cloneable.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/Disguise.cs b/OpenRA.Mods.Cnc/Traits/Disguise.cs index 53c56def73..77866442dc 100644 --- a/OpenRA.Mods.Cnc/Traits/Disguise.cs +++ b/OpenRA.Mods.Cnc/Traits/Disguise.cs @@ -15,7 +15,6 @@ using System.Drawing; using System.Linq; using OpenRA.Mods.Common.Orders; using OpenRA.Mods.Common.Traits; -using OpenRA.Mods.Common.Traits.Render; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/GpsDot.cs b/OpenRA.Mods.Cnc/Traits/GpsDot.cs index b40daf63ee..b581a856be 100644 --- a/OpenRA.Mods.Cnc/Traits/GpsDot.cs +++ b/OpenRA.Mods.Cnc/Traits/GpsDot.cs @@ -9,7 +9,6 @@ */ #endregion -using OpenRA.Graphics; using OpenRA.Mods.Cnc.Effects; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForCash.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForCash.cs index 996e393b48..db882da55c 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForCash.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForCash.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using OpenRA.Mods.Common.Effects; using OpenRA.Mods.Common.Traits; using OpenRA.Primitives; diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForExploration.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForExploration.cs index 55a09bef56..a503f16053 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForExploration.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForExploration.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using OpenRA.Mods.Common.Traits; using OpenRA.Primitives; diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForPowerOutage.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForPowerOutage.cs index fe36ec2d97..3ce1568d0e 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForPowerOutage.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForPowerOutage.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using OpenRA.Mods.Common.Traits; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPower.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPower.cs index 7e3db3fb92..336ec5a054 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPower.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPower.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using OpenRA.Mods.Common.Traits; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/Infiltrates.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/Infiltrates.cs index 96e5caf095..77c71cfe24 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/Infiltrates.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/Infiltrates.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Drawing; -using System.Linq; using OpenRA.Mods.Cnc.Activities; using OpenRA.Mods.Common; using OpenRA.Mods.Common.Activities; diff --git a/OpenRA.Mods.Cnc/Traits/MadTank.cs b/OpenRA.Mods.Cnc/Traits/MadTank.cs index c235958baf..f1a39fb7e9 100644 --- a/OpenRA.Mods.Cnc/Traits/MadTank.cs +++ b/OpenRA.Mods.Cnc/Traits/MadTank.cs @@ -14,7 +14,6 @@ using System.Drawing; using System.Linq; using OpenRA.Activities; using OpenRA.GameRules; -using OpenRA.Mods.Cnc.Activities; using OpenRA.Mods.Common; using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.Orders; diff --git a/OpenRA.Mods.Cnc/Traits/Render/RenderJammerCircle.cs b/OpenRA.Mods.Cnc/Traits/Render/RenderJammerCircle.cs index e2eca38360..c637d74478 100644 --- a/OpenRA.Mods.Cnc/Traits/Render/RenderJammerCircle.cs +++ b/OpenRA.Mods.Cnc/Traits/Render/RenderJammerCircle.cs @@ -14,7 +14,6 @@ using System.Drawing; using OpenRA.Graphics; using OpenRA.Mods.Common.Graphics; using OpenRA.Mods.Common.Traits; -using OpenRA.Mods.Common.Traits.Radar; using OpenRA.Traits; namespace OpenRA.Mods.Cnc.Traits diff --git a/OpenRA.Mods.Cnc/Traits/Render/WithCargo.cs b/OpenRA.Mods.Cnc/Traits/Render/WithCargo.cs index 7c66f05d99..e5aa68bfd9 100644 --- a/OpenRA.Mods.Cnc/Traits/Render/WithCargo.cs +++ b/OpenRA.Mods.Cnc/Traits/Render/WithCargo.cs @@ -16,7 +16,6 @@ using OpenRA.Graphics; using OpenRA.Mods.Common; using OpenRA.Mods.Common.Graphics; using OpenRA.Mods.Common.Traits; -using OpenRA.Mods.Common.Traits.Render; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/Render/WithDisguisingInfantryBody.cs b/OpenRA.Mods.Cnc/Traits/Render/WithDisguisingInfantryBody.cs index 333e014a6a..bb95986ce0 100644 --- a/OpenRA.Mods.Cnc/Traits/Render/WithDisguisingInfantryBody.cs +++ b/OpenRA.Mods.Cnc/Traits/Render/WithDisguisingInfantryBody.cs @@ -9,7 +9,6 @@ */ #endregion -using OpenRA.Mods.Common.Traits; using OpenRA.Mods.Common.Traits.Render; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/Render/WithRoof.cs b/OpenRA.Mods.Cnc/Traits/Render/WithRoof.cs index 5f593365de..fe0ad78937 100644 --- a/OpenRA.Mods.Cnc/Traits/Render/WithRoof.cs +++ b/OpenRA.Mods.Cnc/Traits/Render/WithRoof.cs @@ -10,7 +10,6 @@ #endregion using OpenRA.Graphics; -using OpenRA.Mods.Common.Traits; using OpenRA.Mods.Common.Traits.Render; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/Render/WithVoxelUnloadBody.cs b/OpenRA.Mods.Cnc/Traits/Render/WithVoxelUnloadBody.cs index dac1f4c708..d71769c907 100644 --- a/OpenRA.Mods.Cnc/Traits/Render/WithVoxelUnloadBody.cs +++ b/OpenRA.Mods.Cnc/Traits/Render/WithVoxelUnloadBody.cs @@ -12,7 +12,6 @@ using System; using System.Collections.Generic; using System.Drawing; -using System.Linq; using OpenRA.Graphics; using OpenRA.Mods.Common.Graphics; using OpenRA.Mods.Common.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/Render/WithVoxelWalkerBody.cs b/OpenRA.Mods.Cnc/Traits/Render/WithVoxelWalkerBody.cs index 46c93a7ee9..8d391b6338 100644 --- a/OpenRA.Mods.Cnc/Traits/Render/WithVoxelWalkerBody.cs +++ b/OpenRA.Mods.Cnc/Traits/Render/WithVoxelWalkerBody.cs @@ -12,9 +12,7 @@ using System; using System.Collections.Generic; using System.Drawing; -using System.Linq; using OpenRA.Graphics; -using OpenRA.Mods.Common; using OpenRA.Mods.Common.Graphics; using OpenRA.Mods.Common.Traits; using OpenRA.Mods.Common.Traits.Render; diff --git a/OpenRA.Mods.Cnc/Traits/SupportPowers/ChronoshiftPower.cs b/OpenRA.Mods.Cnc/Traits/SupportPowers/ChronoshiftPower.cs index 4e789a72d4..8b7db3e6af 100644 --- a/OpenRA.Mods.Cnc/Traits/SupportPowers/ChronoshiftPower.cs +++ b/OpenRA.Mods.Cnc/Traits/SupportPowers/ChronoshiftPower.cs @@ -13,7 +13,6 @@ using System.Collections.Generic; using System.Drawing; using System.Linq; using OpenRA.Graphics; -using OpenRA.Mods.Cnc.Activities; using OpenRA.Mods.Common.Graphics; using OpenRA.Mods.Common.Traits; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/Traits/SupportPowers/GpsPower.cs b/OpenRA.Mods.Cnc/Traits/SupportPowers/GpsPower.cs index 48b7728496..ee5a33dccd 100644 --- a/OpenRA.Mods.Cnc/Traits/SupportPowers/GpsPower.cs +++ b/OpenRA.Mods.Cnc/Traits/SupportPowers/GpsPower.cs @@ -9,9 +9,7 @@ */ #endregion -using System.Collections.Generic; using System.Linq; -using OpenRA.Effects; using OpenRA.Mods.Cnc.Effects; using OpenRA.Mods.Common.Traits; using OpenRA.Mods.Common.Traits.Radar; diff --git a/OpenRA.Mods.Cnc/Traits/TDGunboat.cs b/OpenRA.Mods.Cnc/Traits/TDGunboat.cs index d8c5851a10..e49d44fc1b 100644 --- a/OpenRA.Mods.Cnc/Traits/TDGunboat.cs +++ b/OpenRA.Mods.Cnc/Traits/TDGunboat.cs @@ -13,7 +13,6 @@ using System.Collections.Generic; using System.Linq; using OpenRA.Activities; using OpenRA.Mods.Common; -using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.Traits; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Cnc/UtilityCommands/LegacyRulesImporter.cs b/OpenRA.Mods.Cnc/UtilityCommands/LegacyRulesImporter.cs index 947dec7d89..95664f23f6 100644 --- a/OpenRA.Mods.Cnc/UtilityCommands/LegacyRulesImporter.cs +++ b/OpenRA.Mods.Cnc/UtilityCommands/LegacyRulesImporter.cs @@ -14,7 +14,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using OpenRA.Mods.Common.FileFormats; -using OpenRA.Mods.Common.Traits; namespace OpenRA.Mods.Cnc.UtilityCommands { diff --git a/OpenRA.Mods.Cnc/UtilityCommands/LegacySequenceImporter.cs b/OpenRA.Mods.Cnc/UtilityCommands/LegacySequenceImporter.cs index 848506f7a6..f0508a22ea 100644 --- a/OpenRA.Mods.Cnc/UtilityCommands/LegacySequenceImporter.cs +++ b/OpenRA.Mods.Cnc/UtilityCommands/LegacySequenceImporter.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using System.IO; using System.Linq; using OpenRA.Mods.Common.FileFormats; diff --git a/OpenRA.Mods.Common/AI/AISupportPowerManager.cs b/OpenRA.Mods.Common/AI/AISupportPowerManager.cs index ad0ad249f2..ea817b6d1e 100644 --- a/OpenRA.Mods.Common/AI/AISupportPowerManager.cs +++ b/OpenRA.Mods.Common/AI/AISupportPowerManager.cs @@ -9,13 +9,8 @@ */ #endregion -using System; using System.Collections.Generic; -using System.Linq; -using OpenRA.Mods.Common.Activities; -using OpenRA.Mods.Common.Pathfinder; using OpenRA.Mods.Common.Traits; -using OpenRA.Support; using OpenRA.Traits; namespace OpenRA.Mods.Common.AI diff --git a/OpenRA.Mods.Common/AI/HackyAI.cs b/OpenRA.Mods.Common/AI/HackyAI.cs index 1f5ba71d03..979a922121 100644 --- a/OpenRA.Mods.Common/AI/HackyAI.cs +++ b/OpenRA.Mods.Common/AI/HackyAI.cs @@ -13,8 +13,6 @@ using System; using System.Collections; using System.Collections.Generic; using System.Linq; -using OpenRA.Mods.Common.Activities; -using OpenRA.Mods.Common.Pathfinder; using OpenRA.Mods.Common.Traits; using OpenRA.Support; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Activities/Air/HeliFlyCircle.cs b/OpenRA.Mods.Common/Activities/Air/HeliFlyCircle.cs index 558ce44030..a104da4d5d 100644 --- a/OpenRA.Mods.Common/Activities/Air/HeliFlyCircle.cs +++ b/OpenRA.Mods.Common/Activities/Air/HeliFlyCircle.cs @@ -11,7 +11,6 @@ using OpenRA.Activities; using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Activities { diff --git a/OpenRA.Mods.Common/Activities/Air/TakeOff.cs b/OpenRA.Mods.Common/Activities/Air/TakeOff.cs index 9dde5a0840..d930463141 100644 --- a/OpenRA.Mods.Common/Activities/Air/TakeOff.cs +++ b/OpenRA.Mods.Common/Activities/Air/TakeOff.cs @@ -11,7 +11,6 @@ using OpenRA.Activities; using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Activities { diff --git a/OpenRA.Mods.Common/Activities/CaptureActor.cs b/OpenRA.Mods.Common/Activities/CaptureActor.cs index 4583cec3f2..bf235d4eed 100644 --- a/OpenRA.Mods.Common/Activities/CaptureActor.cs +++ b/OpenRA.Mods.Common/Activities/CaptureActor.cs @@ -9,8 +9,6 @@ */ #endregion -using System; -using System.Linq; using OpenRA.Activities; using OpenRA.Mods.Common.Traits; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Activities/DeliverUnit.cs b/OpenRA.Mods.Common/Activities/DeliverUnit.cs index b393834e9d..5d1f5f1261 100644 --- a/OpenRA.Mods.Common/Activities/DeliverUnit.cs +++ b/OpenRA.Mods.Common/Activities/DeliverUnit.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Linq; using OpenRA.Activities; using OpenRA.Mods.Common.Traits; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Activities/Demolish.cs b/OpenRA.Mods.Common/Activities/Demolish.cs index 67ab078410..a91fee9ffb 100644 --- a/OpenRA.Mods.Common/Activities/Demolish.cs +++ b/OpenRA.Mods.Common/Activities/Demolish.cs @@ -10,10 +10,8 @@ #endregion using System.Linq; -using OpenRA.Effects; using OpenRA.Mods.Common.Effects; using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Activities { diff --git a/OpenRA.Mods.Common/Activities/DonateCash.cs b/OpenRA.Mods.Common/Activities/DonateCash.cs index ad3a3bde20..81cd63a4b7 100644 --- a/OpenRA.Mods.Common/Activities/DonateCash.cs +++ b/OpenRA.Mods.Common/Activities/DonateCash.cs @@ -11,7 +11,6 @@ using OpenRA.Mods.Common.Effects; using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Activities { diff --git a/OpenRA.Mods.Common/Activities/Move/MoveWithinRange.cs b/OpenRA.Mods.Common/Activities/Move/MoveWithinRange.cs index 6cdc084aff..b392d5a887 100644 --- a/OpenRA.Mods.Common/Activities/Move/MoveWithinRange.cs +++ b/OpenRA.Mods.Common/Activities/Move/MoveWithinRange.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Linq; -using OpenRA.Mods.Common.Traits; using OpenRA.Traits; namespace OpenRA.Mods.Common.Activities diff --git a/OpenRA.Mods.Common/Activities/Rearm.cs b/OpenRA.Mods.Common/Activities/Rearm.cs index f930fff1eb..11a34c49e3 100644 --- a/OpenRA.Mods.Common/Activities/Rearm.cs +++ b/OpenRA.Mods.Common/Activities/Rearm.cs @@ -9,8 +9,6 @@ */ #endregion -using System.Collections.Generic; -using System.Linq; using OpenRA.Activities; using OpenRA.Mods.Common.Traits; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Activities/RepairBuilding.cs b/OpenRA.Mods.Common/Activities/RepairBuilding.cs index 36c8e51372..b37f6873e5 100644 --- a/OpenRA.Mods.Common/Activities/RepairBuilding.cs +++ b/OpenRA.Mods.Common/Activities/RepairBuilding.cs @@ -9,7 +9,6 @@ */ #endregion -using OpenRA.Mods.Common.Traits; using OpenRA.Traits; namespace OpenRA.Mods.Common.Activities diff --git a/OpenRA.Mods.Common/Activities/Transform.cs b/OpenRA.Mods.Common/Activities/Transform.cs index abd3953cf2..dca91d34c4 100644 --- a/OpenRA.Mods.Common/Activities/Transform.cs +++ b/OpenRA.Mods.Common/Activities/Transform.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Linq; using OpenRA.Activities; using OpenRA.Mods.Common.Traits; using OpenRA.Mods.Common.Traits.Render; diff --git a/OpenRA.Mods.Common/Activities/WaitForTurretAlignment.cs b/OpenRA.Mods.Common/Activities/WaitForTurretAlignment.cs index 33e9ccc909..03caa419ff 100644 --- a/OpenRA.Mods.Common/Activities/WaitForTurretAlignment.cs +++ b/OpenRA.Mods.Common/Activities/WaitForTurretAlignment.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Linq; using OpenRA.Activities; using OpenRA.Mods.Common.Traits; diff --git a/OpenRA.Mods.Common/Commands/DevCommands.cs b/OpenRA.Mods.Common/Commands/DevCommands.cs index d9a5d91e91..52cd31ffe3 100644 --- a/OpenRA.Mods.Common/Commands/DevCommands.cs +++ b/OpenRA.Mods.Common/Commands/DevCommands.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using System.Globalization; using System.Linq; using OpenRA.Graphics; diff --git a/OpenRA.Mods.Common/Effects/MapNotificationEffect.cs b/OpenRA.Mods.Common/Effects/MapNotificationEffect.cs index 32130d7f87..23bd77f951 100644 --- a/OpenRA.Mods.Common/Effects/MapNotificationEffect.cs +++ b/OpenRA.Mods.Common/Effects/MapNotificationEffect.cs @@ -14,7 +14,6 @@ using System.Drawing; using OpenRA.Effects; using OpenRA.Graphics; using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Effects { diff --git a/OpenRA.Mods.Common/FileFormats/InstallShieldCABCompression.cs b/OpenRA.Mods.Common/FileFormats/InstallShieldCABCompression.cs index 82ee482fb0..550beb1d57 100644 --- a/OpenRA.Mods.Common/FileFormats/InstallShieldCABCompression.cs +++ b/OpenRA.Mods.Common/FileFormats/InstallShieldCABCompression.cs @@ -13,7 +13,6 @@ using System; using System.Collections.Generic; using System.IO; using System.Linq; -using System.Text.RegularExpressions; using ICSharpCode.SharpZipLib.Zip.Compression; namespace OpenRA.Mods.Common.FileFormats diff --git a/OpenRA.Mods.Common/FileFormats/VqaReader.cs b/OpenRA.Mods.Common/FileFormats/VqaReader.cs index 09b8841baa..d4e29d0ffb 100644 --- a/OpenRA.Mods.Common/FileFormats/VqaReader.cs +++ b/OpenRA.Mods.Common/FileFormats/VqaReader.cs @@ -11,7 +11,6 @@ using System; using System.IO; -using OpenRA.FileFormats; namespace OpenRA.Mods.Common.FileFormats { diff --git a/OpenRA.Mods.Common/Graphics/RailgunRenderable.cs b/OpenRA.Mods.Common/Graphics/RailgunRenderable.cs index a4d71d5b0a..0a0eb27641 100644 --- a/OpenRA.Mods.Common/Graphics/RailgunRenderable.cs +++ b/OpenRA.Mods.Common/Graphics/RailgunRenderable.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Drawing; using OpenRA.Graphics; using OpenRA.Mods.Common.Projectiles; diff --git a/OpenRA.Mods.Common/HitShapes/Capsule.cs b/OpenRA.Mods.Common/HitShapes/Capsule.cs index 052db69c3a..8a19dd449c 100644 --- a/OpenRA.Mods.Common/HitShapes/Capsule.cs +++ b/OpenRA.Mods.Common/HitShapes/Capsule.cs @@ -11,10 +11,8 @@ using System; using System.Drawing; -using System.Linq; using OpenRA.Graphics; using OpenRA.Mods.Common.Graphics; -using OpenRA.Traits; namespace OpenRA.Mods.Common.HitShapes { diff --git a/OpenRA.Mods.Common/HitShapes/Circle.cs b/OpenRA.Mods.Common/HitShapes/Circle.cs index cfdc9065ee..5e0133fea7 100644 --- a/OpenRA.Mods.Common/HitShapes/Circle.cs +++ b/OpenRA.Mods.Common/HitShapes/Circle.cs @@ -11,10 +11,8 @@ using System; using System.Drawing; -using System.Linq; using OpenRA.Graphics; using OpenRA.Mods.Common.Graphics; -using OpenRA.Traits; namespace OpenRA.Mods.Common.HitShapes { diff --git a/OpenRA.Mods.Common/HitShapes/Rectangle.cs b/OpenRA.Mods.Common/HitShapes/Rectangle.cs index 666b94b7c2..c076e6b486 100644 --- a/OpenRA.Mods.Common/HitShapes/Rectangle.cs +++ b/OpenRA.Mods.Common/HitShapes/Rectangle.cs @@ -14,7 +14,6 @@ using System.Drawing; using System.Linq; using OpenRA.Graphics; using OpenRA.Mods.Common.Graphics; -using OpenRA.Traits; namespace OpenRA.Mods.Common.HitShapes { diff --git a/OpenRA.Mods.Common/Lint/CheckActors.cs b/OpenRA.Mods.Common/Lint/CheckActors.cs index 0827af75eb..0b0558b2fe 100644 --- a/OpenRA.Mods.Common/Lint/CheckActors.cs +++ b/OpenRA.Mods.Common/Lint/CheckActors.cs @@ -11,7 +11,6 @@ using System; using System.Linq; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/Lint/CheckAngle.cs b/OpenRA.Mods.Common/Lint/CheckAngle.cs index 3ee87a83c5..e138af59c2 100644 --- a/OpenRA.Mods.Common/Lint/CheckAngle.cs +++ b/OpenRA.Mods.Common/Lint/CheckAngle.cs @@ -10,10 +10,7 @@ #endregion using System; -using System.Linq; using OpenRA.Mods.Common.Projectiles; -using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/Lint/CheckChromeHotkeys.cs b/OpenRA.Mods.Common/Lint/CheckChromeHotkeys.cs index 68b6043a0a..8c9b7e194b 100644 --- a/OpenRA.Mods.Common/Lint/CheckChromeHotkeys.cs +++ b/OpenRA.Mods.Common/Lint/CheckChromeHotkeys.cs @@ -13,7 +13,6 @@ using System; using System.Collections.Generic; using System.Linq; using OpenRA.Primitives; -using OpenRA.Traits; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Lint diff --git a/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs b/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs index 134930937a..8feaed1fca 100644 --- a/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs +++ b/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs @@ -11,7 +11,6 @@ using System; using System.Collections.Generic; -using OpenRA.Traits; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Lint diff --git a/OpenRA.Mods.Common/Lint/CheckMapCordon.cs b/OpenRA.Mods.Common/Lint/CheckMapCordon.cs index b841bc89cd..a253812de1 100644 --- a/OpenRA.Mods.Common/Lint/CheckMapCordon.cs +++ b/OpenRA.Mods.Common/Lint/CheckMapCordon.cs @@ -10,7 +10,6 @@ #endregion using System; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/Lint/CheckMapMetadata.cs b/OpenRA.Mods.Common/Lint/CheckMapMetadata.cs index 79b9ec45d4..01ae145477 100644 --- a/OpenRA.Mods.Common/Lint/CheckMapMetadata.cs +++ b/OpenRA.Mods.Common/Lint/CheckMapMetadata.cs @@ -11,7 +11,6 @@ using System; using System.Linq; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/Lint/CheckRangeLimit.cs b/OpenRA.Mods.Common/Lint/CheckRangeLimit.cs index dc61a1ccfe..8bef09f8a2 100644 --- a/OpenRA.Mods.Common/Lint/CheckRangeLimit.cs +++ b/OpenRA.Mods.Common/Lint/CheckRangeLimit.cs @@ -10,10 +10,7 @@ #endregion using System; -using System.Linq; using OpenRA.Mods.Common.Projectiles; -using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/Lint/CheckSequences.cs b/OpenRA.Mods.Common/Lint/CheckSequences.cs index 3aed5f4258..4d63341e74 100644 --- a/OpenRA.Mods.Common/Lint/CheckSequences.cs +++ b/OpenRA.Mods.Common/Lint/CheckSequences.cs @@ -13,7 +13,6 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using OpenRA.Mods.Common.Traits; using OpenRA.Mods.Common.Traits.Render; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Lint/CheckSpriteBodies.cs b/OpenRA.Mods.Common/Lint/CheckSpriteBodies.cs index b02c62f0b3..c9595c2039 100644 --- a/OpenRA.Mods.Common/Lint/CheckSpriteBodies.cs +++ b/OpenRA.Mods.Common/Lint/CheckSpriteBodies.cs @@ -12,7 +12,6 @@ using System; using System.Linq; using OpenRA.Mods.Common.Traits.Render; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/Lint/CheckSyncAnnotations.cs b/OpenRA.Mods.Common/Lint/CheckSyncAnnotations.cs index 89dda6cfeb..1a80265354 100644 --- a/OpenRA.Mods.Common/Lint/CheckSyncAnnotations.cs +++ b/OpenRA.Mods.Common/Lint/CheckSyncAnnotations.cs @@ -13,7 +13,6 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/Lint/CheckTooltips.cs b/OpenRA.Mods.Common/Lint/CheckTooltips.cs index 0e6f291664..1e314ba57f 100644 --- a/OpenRA.Mods.Common/Lint/CheckTooltips.cs +++ b/OpenRA.Mods.Common/Lint/CheckTooltips.cs @@ -12,7 +12,6 @@ using System; using System.Linq; using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/Lint/CheckTraitPrerequisites.cs b/OpenRA.Mods.Common/Lint/CheckTraitPrerequisites.cs index c5fa93fc4a..865d8343fa 100644 --- a/OpenRA.Mods.Common/Lint/CheckTraitPrerequisites.cs +++ b/OpenRA.Mods.Common/Lint/CheckTraitPrerequisites.cs @@ -11,7 +11,6 @@ using System; using System.Linq; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/Lint/CheckUnknownTraitFields.cs b/OpenRA.Mods.Common/Lint/CheckUnknownTraitFields.cs index cbd41ad6b1..1d0356c8b9 100644 --- a/OpenRA.Mods.Common/Lint/CheckUnknownTraitFields.cs +++ b/OpenRA.Mods.Common/Lint/CheckUnknownTraitFields.cs @@ -12,8 +12,6 @@ using System; using System.Collections.Generic; using System.Linq; -using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/Lint/LintBuildablePrerequisites.cs b/OpenRA.Mods.Common/Lint/LintBuildablePrerequisites.cs index 906daae661..3b02ca316b 100644 --- a/OpenRA.Mods.Common/Lint/LintBuildablePrerequisites.cs +++ b/OpenRA.Mods.Common/Lint/LintBuildablePrerequisites.cs @@ -12,7 +12,6 @@ using System; using System.Linq; using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Lint { diff --git a/OpenRA.Mods.Common/LoadScreens/LogoStripeLoadScreen.cs b/OpenRA.Mods.Common/LoadScreens/LogoStripeLoadScreen.cs index 737b1f74a9..cc822e4920 100644 --- a/OpenRA.Mods.Common/LoadScreens/LogoStripeLoadScreen.cs +++ b/OpenRA.Mods.Common/LoadScreens/LogoStripeLoadScreen.cs @@ -12,7 +12,6 @@ using System.Collections.Generic; using System.Diagnostics; using System.Drawing; -using System.IO; using OpenRA.Graphics; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Common/Orders/EnterTransportTargeter.cs b/OpenRA.Mods.Common/Orders/EnterTransportTargeter.cs index 44f938d0b9..43ba8883f2 100644 --- a/OpenRA.Mods.Common/Orders/EnterTransportTargeter.cs +++ b/OpenRA.Mods.Common/Orders/EnterTransportTargeter.cs @@ -10,9 +10,6 @@ #endregion using System; -using System.Collections.Generic; -using System.Drawing; -using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.Traits; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Orders/EnterTransportsTargeter.cs b/OpenRA.Mods.Common/Orders/EnterTransportsTargeter.cs index e0432a3640..b09d375cd5 100644 --- a/OpenRA.Mods.Common/Orders/EnterTransportsTargeter.cs +++ b/OpenRA.Mods.Common/Orders/EnterTransportsTargeter.cs @@ -10,9 +10,6 @@ #endregion using System; -using System.Collections.Generic; -using System.Drawing; -using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.Traits; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Orders/ForceModifiersOrderGenerator.cs b/OpenRA.Mods.Common/Orders/ForceModifiersOrderGenerator.cs index 8e4ded2db9..ccfa00ab44 100644 --- a/OpenRA.Mods.Common/Orders/ForceModifiersOrderGenerator.cs +++ b/OpenRA.Mods.Common/Orders/ForceModifiersOrderGenerator.cs @@ -10,8 +10,6 @@ #endregion using System.Collections.Generic; -using System.Linq; -using OpenRA.Mods.Common.Traits; using OpenRA.Orders; namespace OpenRA.Mods.Common.Orders diff --git a/OpenRA.Mods.Common/Pathfinder/PathGraph.cs b/OpenRA.Mods.Common/Pathfinder/PathGraph.cs index e38a0cd935..f9c29cf17e 100644 --- a/OpenRA.Mods.Common/Pathfinder/PathGraph.cs +++ b/OpenRA.Mods.Common/Pathfinder/PathGraph.cs @@ -14,7 +14,6 @@ using System.Collections.Generic; using System.Linq; using OpenRA.Mods.Common.Traits; using OpenRA.Primitives; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Pathfinder { diff --git a/OpenRA.Mods.Common/Projectiles/AreaBeam.cs b/OpenRA.Mods.Common/Projectiles/AreaBeam.cs index 4854f99f73..704b6757f0 100644 --- a/OpenRA.Mods.Common/Projectiles/AreaBeam.cs +++ b/OpenRA.Mods.Common/Projectiles/AreaBeam.cs @@ -12,10 +12,8 @@ using System; using System.Collections.Generic; using System.Drawing; -using OpenRA.Effects; using OpenRA.GameRules; using OpenRA.Graphics; -using OpenRA.Mods.Common.Effects; using OpenRA.Mods.Common.Graphics; using OpenRA.Mods.Common.Traits; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Projectiles/Bullet.cs b/OpenRA.Mods.Common/Projectiles/Bullet.cs index a59fee689b..81789e6b8b 100644 --- a/OpenRA.Mods.Common/Projectiles/Bullet.cs +++ b/OpenRA.Mods.Common/Projectiles/Bullet.cs @@ -13,7 +13,6 @@ using System; using System.Collections.Generic; using System.Drawing; using System.Linq; -using OpenRA.Effects; using OpenRA.GameRules; using OpenRA.Graphics; using OpenRA.Mods.Common.Effects; diff --git a/OpenRA.Mods.Common/Projectiles/GravityBomb.cs b/OpenRA.Mods.Common/Projectiles/GravityBomb.cs index 08d365c30c..a1007fdc60 100644 --- a/OpenRA.Mods.Common/Projectiles/GravityBomb.cs +++ b/OpenRA.Mods.Common/Projectiles/GravityBomb.cs @@ -10,10 +10,8 @@ #endregion using System.Collections.Generic; -using OpenRA.Effects; using OpenRA.GameRules; using OpenRA.Graphics; -using OpenRA.Mods.Common.Effects; using OpenRA.Traits; namespace OpenRA.Mods.Common.Projectiles diff --git a/OpenRA.Mods.Common/Projectiles/LaserZap.cs b/OpenRA.Mods.Common/Projectiles/LaserZap.cs index 11fef9b50a..8a3e5c3db6 100644 --- a/OpenRA.Mods.Common/Projectiles/LaserZap.cs +++ b/OpenRA.Mods.Common/Projectiles/LaserZap.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Drawing; -using OpenRA.Effects; using OpenRA.GameRules; using OpenRA.Graphics; using OpenRA.Mods.Common.Effects; diff --git a/OpenRA.Mods.Common/Projectiles/Missile.cs b/OpenRA.Mods.Common/Projectiles/Missile.cs index 99aa083483..5d593cbde5 100644 --- a/OpenRA.Mods.Common/Projectiles/Missile.cs +++ b/OpenRA.Mods.Common/Projectiles/Missile.cs @@ -9,11 +9,9 @@ */ #endregion -using System; using System.Collections.Generic; using System.Drawing; using System.Linq; -using OpenRA.Effects; using OpenRA.GameRules; using OpenRA.Graphics; using OpenRA.Mods.Common.Effects; diff --git a/OpenRA.Mods.Common/Scripting/Global/MapGlobal.cs b/OpenRA.Mods.Common/Scripting/Global/MapGlobal.cs index f00b7efb43..405129c72b 100644 --- a/OpenRA.Mods.Common/Scripting/Global/MapGlobal.cs +++ b/OpenRA.Mods.Common/Scripting/Global/MapGlobal.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using Eluant; using OpenRA.Mods.Common.Traits; diff --git a/OpenRA.Mods.Common/Scripting/Global/MediaGlobal.cs b/OpenRA.Mods.Common/Scripting/Global/MediaGlobal.cs index 00f98f9b0b..a18935d91e 100644 --- a/OpenRA.Mods.Common/Scripting/Global/MediaGlobal.cs +++ b/OpenRA.Mods.Common/Scripting/Global/MediaGlobal.cs @@ -14,7 +14,6 @@ using System.Drawing; using System.IO; using Eluant; using OpenRA.Effects; -using OpenRA.FileSystem; using OpenRA.GameRules; using OpenRA.Graphics; using OpenRA.Mods.Common.Effects; diff --git a/OpenRA.Mods.Common/Scripting/Global/UtilsGlobal.cs b/OpenRA.Mods.Common/Scripting/Global/UtilsGlobal.cs index 101b57cd33..836fcab3ab 100644 --- a/OpenRA.Mods.Common/Scripting/Global/UtilsGlobal.cs +++ b/OpenRA.Mods.Common/Scripting/Global/UtilsGlobal.cs @@ -9,11 +9,9 @@ */ #endregion -using System.Collections; using System.Linq; using Eluant; using OpenRA.Scripting; -using OpenRA.Traits; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Scripting diff --git a/OpenRA.Mods.Common/Scripting/Properties/CaptureProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/CaptureProperties.cs index bfcf9105e8..78121d81fd 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/CaptureProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/CaptureProperties.cs @@ -9,8 +9,6 @@ */ #endregion -using System.Collections.Generic; -using System.Linq; using Eluant; using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.Traits; diff --git a/OpenRA.Mods.Common/Scripting/Properties/ConditionProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/ConditionProperties.cs index a3175313ee..44a06195e5 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/ConditionProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/ConditionProperties.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/OpenRA.Mods.Common/Scripting/Properties/DiplomacyProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/DiplomacyProperties.cs index 89ba6a6dce..8e29254dd2 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/DiplomacyProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/DiplomacyProperties.cs @@ -10,7 +10,6 @@ #endregion using OpenRA.Scripting; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Scripting { diff --git a/OpenRA.Mods.Common/Scripting/Properties/HealthProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/HealthProperties.cs index 38b4a57b7c..a01a0c8b22 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/HealthProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/HealthProperties.cs @@ -9,7 +9,6 @@ */ #endregion -using OpenRA.Mods.Common.Traits; using OpenRA.Scripting; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Scripting/Properties/NukeProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/NukeProperties.cs index 8643c737e3..2597e7524c 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/NukeProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/NukeProperties.cs @@ -10,9 +10,6 @@ #endregion using System.Linq; -using OpenRA.Effects; -using OpenRA.Mods.Common.Activities; -using OpenRA.Mods.Common.Effects; using OpenRA.Mods.Common.Traits; using OpenRA.Scripting; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Scripting/Properties/PlayerExperienceProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/PlayerExperienceProperties.cs index 3ed99cb164..310bd8e311 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/PlayerExperienceProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/PlayerExperienceProperties.cs @@ -9,7 +9,6 @@ */ #endregion -using Eluant; using OpenRA.Mods.Common.Traits; using OpenRA.Scripting; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Scripting/Properties/PlayerStatsProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/PlayerStatsProperties.cs index ebf307dd20..6e5587591e 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/PlayerStatsProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/PlayerStatsProperties.cs @@ -9,7 +9,6 @@ */ #endregion -using Eluant; using OpenRA.Mods.Common.Traits; using OpenRA.Scripting; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/ShroudExts.cs b/OpenRA.Mods.Common/ShroudExts.cs index f311b2aef9..b92203cfa2 100644 --- a/OpenRA.Mods.Common/ShroudExts.cs +++ b/OpenRA.Mods.Common/ShroudExts.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/AcceptsDeliveredCash.cs b/OpenRA.Mods.Common/Traits/AcceptsDeliveredCash.cs index d4c9b3806e..581eed8c9a 100644 --- a/OpenRA.Mods.Common/Traits/AcceptsDeliveredCash.cs +++ b/OpenRA.Mods.Common/Traits/AcceptsDeliveredCash.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Mods.Common.Traits.Sound; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/ActorSpawner.cs b/OpenRA.Mods.Common/Traits/ActorSpawner.cs index ea1c8b5723..e7c1a7cafe 100644 --- a/OpenRA.Mods.Common/Traits/ActorSpawner.cs +++ b/OpenRA.Mods.Common/Traits/ActorSpawner.cs @@ -9,9 +9,7 @@ */ #endregion -using System; using System.Collections.Generic; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { diff --git a/OpenRA.Mods.Common/Traits/Attack/AttackCharges.cs b/OpenRA.Mods.Common/Traits/Attack/AttackCharges.cs index 2f09fbb7b6..c996d8dc8e 100644 --- a/OpenRA.Mods.Common/Traits/Attack/AttackCharges.cs +++ b/OpenRA.Mods.Common/Traits/Attack/AttackCharges.cs @@ -9,8 +9,6 @@ */ #endregion -using System.Collections.Generic; -using System.Linq; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Attack/AttackFrontal.cs b/OpenRA.Mods.Common/Traits/Attack/AttackFrontal.cs index 9e5277d090..7316012c6a 100644 --- a/OpenRA.Mods.Common/Traits/Attack/AttackFrontal.cs +++ b/OpenRA.Mods.Common/Traits/Attack/AttackFrontal.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using OpenRA.Activities; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/AutoCarryable.cs b/OpenRA.Mods.Common/Traits/AutoCarryable.cs index f65c51872b..93dda9d163 100644 --- a/OpenRA.Mods.Common/Traits/AutoCarryable.cs +++ b/OpenRA.Mods.Common/Traits/AutoCarryable.cs @@ -11,7 +11,6 @@ using System.Linq; using OpenRA.Activities; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { diff --git a/OpenRA.Mods.Common/Traits/BlocksProjectiles.cs b/OpenRA.Mods.Common/Traits/BlocksProjectiles.cs index bb1a44c23e..f1b7a282c6 100644 --- a/OpenRA.Mods.Common/Traits/BlocksProjectiles.cs +++ b/OpenRA.Mods.Common/Traits/BlocksProjectiles.cs @@ -10,7 +10,6 @@ #endregion using System.Linq; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { diff --git a/OpenRA.Mods.Common/Traits/BotModules/HarvesterBotModule.cs b/OpenRA.Mods.Common/Traits/BotModules/HarvesterBotModule.cs index 9326fb14c3..5547ba00ee 100644 --- a/OpenRA.Mods.Common/Traits/BotModules/HarvesterBotModule.cs +++ b/OpenRA.Mods.Common/Traits/BotModules/HarvesterBotModule.cs @@ -15,7 +15,6 @@ using System.Linq; using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.AI; using OpenRA.Mods.Common.Pathfinder; -using OpenRA.Support; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Buildings/BridgePlaceholder.cs b/OpenRA.Mods.Common/Traits/Buildings/BridgePlaceholder.cs index e95cc24b7a..7938f86559 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/BridgePlaceholder.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/BridgePlaceholder.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Linq; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Buildings/Building.cs b/OpenRA.Mods.Common/Traits/Buildings/Building.cs index 2da513cd38..feb7d9b5a6 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/Building.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/Building.cs @@ -13,7 +13,6 @@ using System; using System.Collections.Generic; using System.Linq; using OpenRA.Graphics; -using OpenRA.Mods.Common.Traits.Render; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Buildings/GivesBuildableArea.cs b/OpenRA.Mods.Common/Traits/Buildings/GivesBuildableArea.cs index 7ea3c54e81..63848f6065 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/GivesBuildableArea.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/GivesBuildableArea.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { diff --git a/OpenRA.Mods.Common/Traits/Buildings/RepairableBuilding.cs b/OpenRA.Mods.Common/Traits/Buildings/RepairableBuilding.cs index a3ce6e5e51..c5a888f281 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/RepairableBuilding.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/RepairableBuilding.cs @@ -12,7 +12,6 @@ using System; using System.Collections.Generic; using System.Linq; -using OpenRA.Mods.Common.Effects; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/CaptureManager.cs b/OpenRA.Mods.Common/Traits/CaptureManager.cs index ae738a0ca6..d588561948 100644 --- a/OpenRA.Mods.Common/Traits/CaptureManager.cs +++ b/OpenRA.Mods.Common/Traits/CaptureManager.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; using OpenRA.Primitives; diff --git a/OpenRA.Mods.Common/Traits/CaptureProgressBar.cs b/OpenRA.Mods.Common/Traits/CaptureProgressBar.cs index 8cc2649bcf..2538b59e04 100644 --- a/OpenRA.Mods.Common/Traits/CaptureProgressBar.cs +++ b/OpenRA.Mods.Common/Traits/CaptureProgressBar.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Drawing; using System.Linq; diff --git a/OpenRA.Mods.Common/Traits/CaptureProgressBlink.cs b/OpenRA.Mods.Common/Traits/CaptureProgressBlink.cs index 4307d68a95..461025e0b0 100644 --- a/OpenRA.Mods.Common/Traits/CaptureProgressBlink.cs +++ b/OpenRA.Mods.Common/Traits/CaptureProgressBlink.cs @@ -9,12 +9,9 @@ */ #endregion -using System; using System.Collections.Generic; -using System.Drawing; using System.Linq; using OpenRA.Mods.Common.Effects; -using OpenRA.Primitives; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Captures.cs b/OpenRA.Mods.Common/Traits/Captures.cs index f719e2efbb..f62ece524a 100644 --- a/OpenRA.Mods.Common/Traits/Captures.cs +++ b/OpenRA.Mods.Common/Traits/Captures.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Drawing; -using System.Linq; using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.Orders; using OpenRA.Primitives; diff --git a/OpenRA.Mods.Common/Traits/CarryableHarvester.cs b/OpenRA.Mods.Common/Traits/CarryableHarvester.cs index 94b721a1d5..1289ae31cf 100644 --- a/OpenRA.Mods.Common/Traits/CarryableHarvester.cs +++ b/OpenRA.Mods.Common/Traits/CarryableHarvester.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Linq; using OpenRA.Activities; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/CashTrickler.cs b/OpenRA.Mods.Common/Traits/CashTrickler.cs index 4711ed2f07..21af7c84e5 100644 --- a/OpenRA.Mods.Common/Traits/CashTrickler.cs +++ b/OpenRA.Mods.Common/Traits/CashTrickler.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Linq; using OpenRA.Mods.Common.Effects; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Conditions/ConditionManager.cs b/OpenRA.Mods.Common/Traits/Conditions/ConditionManager.cs index 4c7f2f9008..a6a0519799 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/ConditionManager.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/ConditionManager.cs @@ -11,7 +11,6 @@ using System; using System.Collections.Generic; -using System.Linq; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Conditions/ExternalCondition.cs b/OpenRA.Mods.Common/Traits/Conditions/ExternalCondition.cs index 84a684edcb..ff50dca792 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/ExternalCondition.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/ExternalCondition.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnBotOwner.cs b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnBotOwner.cs index 2740ebf089..97529c76ef 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnBotOwner.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnBotOwner.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnDeploy.cs b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnDeploy.cs index ffeb7e6c48..048bda54f0 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnDeploy.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnDeploy.cs @@ -9,13 +9,10 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; -using OpenRA.Activities; using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.Orders; -using OpenRA.Mods.Common.Traits.Render; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnFaction.cs b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnFaction.cs index e06b8bf99c..8541530290 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnFaction.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnFaction.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using System.Linq; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnJumpjetLayer.cs b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnJumpjetLayer.cs index 92678a84ab..bef9f4d1b4 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnJumpjetLayer.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnJumpjetLayer.cs @@ -9,8 +9,6 @@ */ #endregion -using OpenRA.Traits; - namespace OpenRA.Mods.Common.Traits { public class GrantConditionOnJumpjetLayerInfo : GrantConditionOnLayerInfo diff --git a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnLayer.cs b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnLayer.cs index 69c451416e..3f2744a838 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnLayer.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnLayer.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Linq; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnMovement.cs b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnMovement.cs index 1ec1e6c4e0..446986a287 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnMovement.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnMovement.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Linq; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnSubterraneanLayer.cs b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnSubterraneanLayer.cs index e60ff8f665..2345abb82e 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnSubterraneanLayer.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnSubterraneanLayer.cs @@ -10,7 +10,6 @@ #endregion using OpenRA.Mods.Common.Effects; -using OpenRA.Mods.Common.Traits; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnTunnelLayer.cs b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnTunnelLayer.cs index a42884c78c..a954790930 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnTunnelLayer.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnTunnelLayer.cs @@ -9,8 +9,6 @@ */ #endregion -using OpenRA.Traits; - namespace OpenRA.Mods.Common.Traits { public class GrantConditionOnTunnelLayerInfo : GrantConditionOnLayerInfo diff --git a/OpenRA.Mods.Common/Traits/Conditions/PausableConditionalTrait.cs b/OpenRA.Mods.Common/Traits/Conditions/PausableConditionalTrait.cs index 48aac00655..dd5faa115f 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/PausableConditionalTrait.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/PausableConditionalTrait.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Primitives; using OpenRA.Support; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Conditions/ToggleConditionOnOrder.cs b/OpenRA.Mods.Common/Traits/Conditions/ToggleConditionOnOrder.cs index ccb32502a4..e9dc7a9251 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/ToggleConditionOnOrder.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/ToggleConditionOnOrder.cs @@ -9,7 +9,6 @@ */ #endregion -using OpenRA.Mods.Common.Effects; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Crates/GiveCashCrateAction.cs b/OpenRA.Mods.Common/Traits/Crates/GiveCashCrateAction.cs index 52d784ac2e..9c32a356cc 100644 --- a/OpenRA.Mods.Common/Traits/Crates/GiveCashCrateAction.cs +++ b/OpenRA.Mods.Common/Traits/Crates/GiveCashCrateAction.cs @@ -10,7 +10,6 @@ #endregion using OpenRA.Mods.Common.Effects; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { diff --git a/OpenRA.Mods.Common/Traits/Crates/GrantExternalConditionCrateAction.cs b/OpenRA.Mods.Common/Traits/Crates/GrantExternalConditionCrateAction.cs index 0f145c024b..b16dfa3566 100644 --- a/OpenRA.Mods.Common/Traits/Crates/GrantExternalConditionCrateAction.cs +++ b/OpenRA.Mods.Common/Traits/Crates/GrantExternalConditionCrateAction.cs @@ -10,7 +10,6 @@ #endregion using System.Linq; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { diff --git a/OpenRA.Mods.Common/Traits/CreatesShroud.cs b/OpenRA.Mods.Common/Traits/CreatesShroud.cs index 42bf6b9933..6dca6715c2 100644 --- a/OpenRA.Mods.Common/Traits/CreatesShroud.cs +++ b/OpenRA.Mods.Common/Traits/CreatesShroud.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Crushable.cs b/OpenRA.Mods.Common/Traits/Crushable.cs index 56af963971..70fd60acd6 100644 --- a/OpenRA.Mods.Common/Traits/Crushable.cs +++ b/OpenRA.Mods.Common/Traits/Crushable.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/DeliversCash.cs b/OpenRA.Mods.Common/Traits/DeliversCash.cs index cc8326d2b2..4bf3519281 100644 --- a/OpenRA.Mods.Common/Traits/DeliversCash.cs +++ b/OpenRA.Mods.Common/Traits/DeliversCash.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Drawing; using OpenRA.Mods.Common.Activities; diff --git a/OpenRA.Mods.Common/Traits/Demolishable.cs b/OpenRA.Mods.Common/Traits/Demolishable.cs index 67a6f90283..27675795fa 100644 --- a/OpenRA.Mods.Common/Traits/Demolishable.cs +++ b/OpenRA.Mods.Common/Traits/Demolishable.cs @@ -9,11 +9,8 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; -using OpenRA.Effects; -using OpenRA.Primitives; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Explodes.cs b/OpenRA.Mods.Common/Traits/Explodes.cs index 09d7c311f5..f8b94022f1 100644 --- a/OpenRA.Mods.Common/Traits/Explodes.cs +++ b/OpenRA.Mods.Common/Traits/Explodes.cs @@ -9,10 +9,8 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using OpenRA.GameRules; -using OpenRA.Mods.Common.Warheads; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/ExplosionOnDamageTransition.cs b/OpenRA.Mods.Common/Traits/ExplosionOnDamageTransition.cs index bfff00fc9c..30f6704128 100644 --- a/OpenRA.Mods.Common/Traits/ExplosionOnDamageTransition.cs +++ b/OpenRA.Mods.Common/Traits/ExplosionOnDamageTransition.cs @@ -9,10 +9,8 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using OpenRA.GameRules; -using OpenRA.Mods.Common.Warheads; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/GainsExperience.cs b/OpenRA.Mods.Common/Traits/GainsExperience.cs index d34c5ed5f2..0f5fa29aa3 100644 --- a/OpenRA.Mods.Common/Traits/GainsExperience.cs +++ b/OpenRA.Mods.Common/Traits/GainsExperience.cs @@ -11,7 +11,6 @@ using System; using System.Collections.Generic; -using System.Linq; using OpenRA.Mods.Common.Effects; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/GivesCashOnCapture.cs b/OpenRA.Mods.Common/Traits/GivesCashOnCapture.cs index 583a812a82..f08fffa885 100644 --- a/OpenRA.Mods.Common/Traits/GivesCashOnCapture.cs +++ b/OpenRA.Mods.Common/Traits/GivesCashOnCapture.cs @@ -9,8 +9,6 @@ */ #endregion -using System.Collections.Generic; -using System.Linq; using OpenRA.Mods.Common.Effects; using OpenRA.Primitives; diff --git a/OpenRA.Mods.Common/Traits/Infantry/TakeCover.cs b/OpenRA.Mods.Common/Traits/Infantry/TakeCover.cs index 16c2289456..496c32d204 100644 --- a/OpenRA.Mods.Common/Traits/Infantry/TakeCover.cs +++ b/OpenRA.Mods.Common/Traits/Infantry/TakeCover.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Linq; -using OpenRA.Mods.Common.Warheads; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Infantry/TerrainModifiesDamage.cs b/OpenRA.Mods.Common/Traits/Infantry/TerrainModifiesDamage.cs index b75821df09..8911fcb517 100644 --- a/OpenRA.Mods.Common/Traits/Infantry/TerrainModifiesDamage.cs +++ b/OpenRA.Mods.Common/Traits/Infantry/TerrainModifiesDamage.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Mods.Common.Warheads; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Mobile.cs b/OpenRA.Mods.Common/Traits/Mobile.cs index 7fccc732ba..0afba61a34 100644 --- a/OpenRA.Mods.Common/Traits/Mobile.cs +++ b/OpenRA.Mods.Common/Traits/Mobile.cs @@ -15,7 +15,6 @@ using System.Drawing; using System.Linq; using OpenRA.Activities; using OpenRA.Mods.Common.Activities; -using OpenRA.Mods.Common.Effects; using OpenRA.Mods.Common.Pathfinder; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Multipliers/GainsExperienceMultiplier.cs b/OpenRA.Mods.Common/Traits/Multipliers/GainsExperienceMultiplier.cs index c43ca7a3ca..850618a38b 100644 --- a/OpenRA.Mods.Common/Traits/Multipliers/GainsExperienceMultiplier.cs +++ b/OpenRA.Mods.Common/Traits/Multipliers/GainsExperienceMultiplier.cs @@ -9,8 +9,6 @@ */ #endregion -using OpenRA.Traits; - namespace OpenRA.Mods.Common.Traits { [Desc("Modifies the experience gathered by this actor.")] diff --git a/OpenRA.Mods.Common/Traits/Multipliers/GivesExperienceMultiplier.cs b/OpenRA.Mods.Common/Traits/Multipliers/GivesExperienceMultiplier.cs index 6d9bc02abe..e08c0d7b90 100644 --- a/OpenRA.Mods.Common/Traits/Multipliers/GivesExperienceMultiplier.cs +++ b/OpenRA.Mods.Common/Traits/Multipliers/GivesExperienceMultiplier.cs @@ -9,8 +9,6 @@ */ #endregion -using OpenRA.Traits; - namespace OpenRA.Mods.Common.Traits { [Desc("Modifies the experience given by this actor.")] diff --git a/OpenRA.Mods.Common/Traits/PaletteEffects/RotationPaletteEffect.cs b/OpenRA.Mods.Common/Traits/PaletteEffects/RotationPaletteEffect.cs index 3131fc48bb..79f70eb772 100644 --- a/OpenRA.Mods.Common/Traits/PaletteEffects/RotationPaletteEffect.cs +++ b/OpenRA.Mods.Common/Traits/PaletteEffects/RotationPaletteEffect.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using System.Linq; using OpenRA.Graphics; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Player/PlaceBuilding.cs b/OpenRA.Mods.Common/Traits/Player/PlaceBuilding.cs index bad9411c8d..027b18d7f4 100644 --- a/OpenRA.Mods.Common/Traits/Player/PlaceBuilding.cs +++ b/OpenRA.Mods.Common/Traits/Player/PlaceBuilding.cs @@ -10,7 +10,6 @@ #endregion using System.Linq; -using OpenRA.Effects; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Player/PlayerExperience.cs b/OpenRA.Mods.Common/Traits/Player/PlayerExperience.cs index bc8544fb85..9f83af919c 100644 --- a/OpenRA.Mods.Common/Traits/Player/PlayerExperience.cs +++ b/OpenRA.Mods.Common/Traits/Player/PlayerExperience.cs @@ -9,8 +9,6 @@ */ #endregion -using System; -using System.Linq; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Pluggable.cs b/OpenRA.Mods.Common/Traits/Pluggable.cs index 3ff05102e8..2b21e14fa3 100644 --- a/OpenRA.Mods.Common/Traits/Pluggable.cs +++ b/OpenRA.Mods.Common/Traits/Pluggable.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Linq; -using OpenRA.Primitives; using OpenRA.Support; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Power/Player/PowerManager.cs b/OpenRA.Mods.Common/Traits/Power/Player/PowerManager.cs index a199f0e03a..00653a605b 100644 --- a/OpenRA.Mods.Common/Traits/Power/Player/PowerManager.cs +++ b/OpenRA.Mods.Common/Traits/Power/Player/PowerManager.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Production.cs b/OpenRA.Mods.Common/Traits/Production.cs index a6e32c7529..a3eed104f6 100644 --- a/OpenRA.Mods.Common/Traits/Production.cs +++ b/OpenRA.Mods.Common/Traits/Production.cs @@ -11,7 +11,6 @@ using System; using System.Drawing; -using System.Linq; using OpenRA.Mods.Common.Activities; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/ProductionFromMapEdge.cs b/OpenRA.Mods.Common/Traits/ProductionFromMapEdge.cs index 91650267f0..ffe2928560 100644 --- a/OpenRA.Mods.Common/Traits/ProductionFromMapEdge.cs +++ b/OpenRA.Mods.Common/Traits/ProductionFromMapEdge.cs @@ -10,7 +10,6 @@ #endregion using System.Drawing; -using System.Linq; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/ProximityCaptor.cs b/OpenRA.Mods.Common/Traits/ProximityCaptor.cs index 0ee2330a1c..bbc8fd983d 100644 --- a/OpenRA.Mods.Common/Traits/ProximityCaptor.cs +++ b/OpenRA.Mods.Common/Traits/ProximityCaptor.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/ProximityCapturable.cs b/OpenRA.Mods.Common/Traits/ProximityCapturable.cs index 532bbe1dd8..b5d7011aba 100644 --- a/OpenRA.Mods.Common/Traits/ProximityCapturable.cs +++ b/OpenRA.Mods.Common/Traits/ProximityCapturable.cs @@ -10,11 +10,8 @@ #endregion using System.Collections.Generic; -using System.Drawing; using System.Linq; -using OpenRA.Graphics; using OpenRA.Mods.Common.Effects; -using OpenRA.Mods.Common.Graphics; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Radar/AppearsOnRadar.cs b/OpenRA.Mods.Common/Traits/Radar/AppearsOnRadar.cs index c9e24c4f24..2bcbd81aae 100644 --- a/OpenRA.Mods.Common/Traits/Radar/AppearsOnRadar.cs +++ b/OpenRA.Mods.Common/Traits/Radar/AppearsOnRadar.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Drawing; using System.Linq; diff --git a/OpenRA.Mods.Common/Traits/Radar/ProvidesRadar.cs b/OpenRA.Mods.Common/Traits/Radar/ProvidesRadar.cs index 447e5c0899..7f00b42b30 100644 --- a/OpenRA.Mods.Common/Traits/Radar/ProvidesRadar.cs +++ b/OpenRA.Mods.Common/Traits/Radar/ProvidesRadar.cs @@ -9,9 +9,6 @@ */ #endregion -using System.Linq; -using OpenRA.Traits; - namespace OpenRA.Mods.Common.Traits.Radar { [Desc("This actor enables the radar minimap.")] diff --git a/OpenRA.Mods.Common/Traits/RejectsOrders.cs b/OpenRA.Mods.Common/Traits/RejectsOrders.cs index 2800e17cb4..7543702b14 100644 --- a/OpenRA.Mods.Common/Traits/RejectsOrders.cs +++ b/OpenRA.Mods.Common/Traits/RejectsOrders.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Linq; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { diff --git a/OpenRA.Mods.Common/Traits/Render/CustomTerrainDebugOverlay.cs b/OpenRA.Mods.Common/Traits/Render/CustomTerrainDebugOverlay.cs index 598f3bdb33..d899be988b 100644 --- a/OpenRA.Mods.Common/Traits/Render/CustomTerrainDebugOverlay.cs +++ b/OpenRA.Mods.Common/Traits/Render/CustomTerrainDebugOverlay.cs @@ -9,8 +9,6 @@ */ #endregion -using System.Collections.Generic; -using System.Drawing; using OpenRA.Graphics; using OpenRA.Mods.Common.Commands; using OpenRA.Mods.Common.Graphics; diff --git a/OpenRA.Mods.Common/Traits/Render/ProductionBar.cs b/OpenRA.Mods.Common/Traits/Render/ProductionBar.cs index 2d8b7954cc..bef8e56a9f 100644 --- a/OpenRA.Mods.Common/Traits/Render/ProductionBar.cs +++ b/OpenRA.Mods.Common/Traits/Render/ProductionBar.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Drawing; using System.Linq; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Render/ReloadArmamentsBar.cs b/OpenRA.Mods.Common/Traits/Render/ReloadArmamentsBar.cs index 0800a67ffe..344f30f502 100644 --- a/OpenRA.Mods.Common/Traits/Render/ReloadArmamentsBar.cs +++ b/OpenRA.Mods.Common/Traits/Render/ReloadArmamentsBar.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Drawing; using System.Linq; diff --git a/OpenRA.Mods.Common/Traits/Render/WithBuildingRepairDecoration.cs b/OpenRA.Mods.Common/Traits/Render/WithBuildingRepairDecoration.cs index 879c84b1da..70a7feb3e1 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithBuildingRepairDecoration.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithBuildingRepairDecoration.cs @@ -9,11 +9,8 @@ */ #endregion -using System; -using System.Collections.Generic; using System.Linq; using OpenRA.Graphics; -using OpenRA.Support; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits.Render diff --git a/OpenRA.Mods.Common/Traits/Render/WithDockedOverlay.cs b/OpenRA.Mods.Common/Traits/Render/WithDockedOverlay.cs index 32cf530f6e..ffd42587a2 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithDockedOverlay.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithDockedOverlay.cs @@ -9,7 +9,6 @@ */ #endregion -using OpenRA.Effects; using OpenRA.Graphics; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Render/WithFacingSpriteBody.cs b/OpenRA.Mods.Common/Traits/Render/WithFacingSpriteBody.cs index 7f26a321f2..ade8c39028 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithFacingSpriteBody.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithFacingSpriteBody.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using OpenRA.Graphics; using OpenRA.Mods.Common.Graphics; diff --git a/OpenRA.Mods.Common/Traits/Render/WithGateSpriteBody.cs b/OpenRA.Mods.Common/Traits/Render/WithGateSpriteBody.cs index aa0e90651e..30743604a4 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithGateSpriteBody.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithGateSpriteBody.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; using OpenRA.Graphics; diff --git a/OpenRA.Mods.Common/Traits/Render/WithInfantryBody.cs b/OpenRA.Mods.Common/Traits/Render/WithInfantryBody.cs index a6601182c1..65ff1e33f0 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithInfantryBody.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithInfantryBody.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; using OpenRA.Graphics; diff --git a/OpenRA.Mods.Common/Traits/Render/WithNukeLaunchOverlay.cs b/OpenRA.Mods.Common/Traits/Render/WithNukeLaunchOverlay.cs index 85e5604337..164becbb03 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithNukeLaunchOverlay.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithNukeLaunchOverlay.cs @@ -9,7 +9,6 @@ */ #endregion -using OpenRA.Effects; using OpenRA.Graphics; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Render/WithProductionOverlay.cs b/OpenRA.Mods.Common/Traits/Render/WithProductionOverlay.cs index 7373b377eb..0f95f033d7 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithProductionOverlay.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithProductionOverlay.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; using OpenRA.Graphics; diff --git a/OpenRA.Mods.Common/Traits/Render/WithRepairOverlay.cs b/OpenRA.Mods.Common/Traits/Render/WithRepairOverlay.cs index f773b2e48f..6a3b9354b9 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithRepairOverlay.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithRepairOverlay.cs @@ -9,7 +9,6 @@ */ #endregion -using OpenRA.Effects; using OpenRA.Graphics; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Render/WithSpriteControlGroupDecoration.cs b/OpenRA.Mods.Common/Traits/Render/WithSpriteControlGroupDecoration.cs index 542beb750b..276cc0b3ec 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithSpriteControlGroupDecoration.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithSpriteControlGroupDecoration.cs @@ -10,10 +10,8 @@ #endregion using System.Collections.Generic; -using System.Drawing; using System.Linq; using OpenRA.Graphics; -using OpenRA.Mods.Common.Graphics; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits.Render diff --git a/OpenRA.Mods.Common/Traits/Render/WithTextDecoration.cs b/OpenRA.Mods.Common/Traits/Render/WithTextDecoration.cs index b72a4c49b1..4da5a2f76a 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithTextDecoration.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithTextDecoration.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Drawing; using System.Linq; diff --git a/OpenRA.Mods.Common/Traits/Render/WithVoxelBody.cs b/OpenRA.Mods.Common/Traits/Render/WithVoxelBody.cs index e12da7d818..266e2a5938 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithVoxelBody.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithVoxelBody.cs @@ -12,7 +12,6 @@ using System; using System.Collections.Generic; using System.Drawing; -using System.Linq; using OpenRA.Graphics; using OpenRA.Mods.Common.Graphics; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/RevealOnDeath.cs b/OpenRA.Mods.Common/Traits/RevealOnDeath.cs index 8d4dfce29b..fbcd95e134 100644 --- a/OpenRA.Mods.Common/Traits/RevealOnDeath.cs +++ b/OpenRA.Mods.Common/Traits/RevealOnDeath.cs @@ -9,8 +9,6 @@ */ #endregion -using System.Collections.Generic; -using System.Linq; using OpenRA.Mods.Common.Effects; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/RevealsShroud.cs b/OpenRA.Mods.Common/Traits/RevealsShroud.cs index f6b2dcaa81..648d670c31 100644 --- a/OpenRA.Mods.Common/Traits/RevealsShroud.cs +++ b/OpenRA.Mods.Common/Traits/RevealsShroud.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/SmokeTrailWhenDamaged.cs b/OpenRA.Mods.Common/Traits/SmokeTrailWhenDamaged.cs index b9e0c7a12f..e0d2ddd0f7 100644 --- a/OpenRA.Mods.Common/Traits/SmokeTrailWhenDamaged.cs +++ b/OpenRA.Mods.Common/Traits/SmokeTrailWhenDamaged.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using OpenRA.Mods.Common.Effects; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/SupportPowers/NukePower.cs b/OpenRA.Mods.Common/Traits/SupportPowers/NukePower.cs index 60095971cc..35a5e3fe42 100644 --- a/OpenRA.Mods.Common/Traits/SupportPowers/NukePower.cs +++ b/OpenRA.Mods.Common/Traits/SupportPowers/NukePower.cs @@ -9,13 +9,9 @@ */ #endregion -using System; using OpenRA.Effects; using OpenRA.GameRules; -using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.Effects; -using OpenRA.Mods.Common.Traits.Render; -using OpenRA.Primitives; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/Targetable.cs b/OpenRA.Mods.Common/Traits/Targetable.cs index 10c48af022..1af1782c4b 100644 --- a/OpenRA.Mods.Common/Traits/Targetable.cs +++ b/OpenRA.Mods.Common/Traits/Targetable.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/TransformOnCapture.cs b/OpenRA.Mods.Common/Traits/TransformOnCapture.cs index 7c45116f94..066b91ba3d 100644 --- a/OpenRA.Mods.Common/Traits/TransformOnCapture.cs +++ b/OpenRA.Mods.Common/Traits/TransformOnCapture.cs @@ -9,8 +9,6 @@ */ #endregion -using System.Collections.Generic; -using System.Linq; using OpenRA.Mods.Common.Activities; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/TunnelEntrance.cs b/OpenRA.Mods.Common/Traits/TunnelEntrance.cs index 7b557f2268..5b16927197 100644 --- a/OpenRA.Mods.Common/Traits/TunnelEntrance.cs +++ b/OpenRA.Mods.Common/Traits/TunnelEntrance.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Linq; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/Wanders.cs b/OpenRA.Mods.Common/Traits/Wanders.cs index f28e728536..0d80451e86 100644 --- a/OpenRA.Mods.Common/Traits/Wanders.cs +++ b/OpenRA.Mods.Common/Traits/Wanders.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/World/ActorSpawnManager.cs b/OpenRA.Mods.Common/Traits/World/ActorSpawnManager.cs index bea1709992..380c4be274 100644 --- a/OpenRA.Mods.Common/Traits/World/ActorSpawnManager.cs +++ b/OpenRA.Mods.Common/Traits/World/ActorSpawnManager.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; using OpenRA.Primitives; diff --git a/OpenRA.Mods.Common/Traits/World/CliffBackImpassabilityLayer.cs b/OpenRA.Mods.Common/Traits/World/CliffBackImpassabilityLayer.cs index e206306bbf..27e2179c07 100644 --- a/OpenRA.Mods.Common/Traits/World/CliffBackImpassabilityLayer.cs +++ b/OpenRA.Mods.Common/Traits/World/CliffBackImpassabilityLayer.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using System.Linq; using OpenRA.Graphics; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/World/CrateSpawner.cs b/OpenRA.Mods.Common/Traits/World/CrateSpawner.cs index d230ecf98c..31e03d7edc 100644 --- a/OpenRA.Mods.Common/Traits/World/CrateSpawner.cs +++ b/OpenRA.Mods.Common/Traits/World/CrateSpawner.cs @@ -13,7 +13,6 @@ using System; using System.Collections.Generic; using System.Linq; using OpenRA.Mods.Common.Activities; -using OpenRA.Network; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/World/ElevatedBridgePlaceholder.cs b/OpenRA.Mods.Common/Traits/World/ElevatedBridgePlaceholder.cs index 98b636064c..0615efb029 100644 --- a/OpenRA.Mods.Common/Traits/World/ElevatedBridgePlaceholder.cs +++ b/OpenRA.Mods.Common/Traits/World/ElevatedBridgePlaceholder.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using System.Linq; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/World/LobbyPrerequisiteCheckbox.cs b/OpenRA.Mods.Common/Traits/World/LobbyPrerequisiteCheckbox.cs index 5b4a3815ad..d6fd0c1bb6 100644 --- a/OpenRA.Mods.Common/Traits/World/LobbyPrerequisiteCheckbox.cs +++ b/OpenRA.Mods.Common/Traits/World/LobbyPrerequisiteCheckbox.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using System.Linq; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/World/MissionData.cs b/OpenRA.Mods.Common/Traits/World/MissionData.cs index e15fac8297..08c7412d82 100644 --- a/OpenRA.Mods.Common/Traits/World/MissionData.cs +++ b/OpenRA.Mods.Common/Traits/World/MissionData.cs @@ -9,7 +9,6 @@ */ #endregion -using System.Collections.Generic; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/World/PathFinder.cs b/OpenRA.Mods.Common/Traits/World/PathFinder.cs index 9883b328ec..160114a4fa 100644 --- a/OpenRA.Mods.Common/Traits/World/PathFinder.cs +++ b/OpenRA.Mods.Common/Traits/World/PathFinder.cs @@ -13,7 +13,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; -using OpenRA.Graphics; using OpenRA.Mods.Common.Pathfinder; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/Traits/World/ResourceClaimLayer.cs b/OpenRA.Mods.Common/Traits/World/ResourceClaimLayer.cs index 935c1b405d..5cc1f01b52 100644 --- a/OpenRA.Mods.Common/Traits/World/ResourceClaimLayer.cs +++ b/OpenRA.Mods.Common/Traits/World/ResourceClaimLayer.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Linq; -using OpenRA.Graphics; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/World/ScriptLobbyDropdown.cs b/OpenRA.Mods.Common/Traits/World/ScriptLobbyDropdown.cs index 30925d55f8..8f609d5de9 100644 --- a/OpenRA.Mods.Common/Traits/World/ScriptLobbyDropdown.cs +++ b/OpenRA.Mods.Common/Traits/World/ScriptLobbyDropdown.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using System.Linq; using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits diff --git a/OpenRA.Mods.Common/Traits/World/SubterraneanLocomotor.cs b/OpenRA.Mods.Common/Traits/World/SubterraneanLocomotor.cs index 807e1cd60b..7dd5050700 100644 --- a/OpenRA.Mods.Common/Traits/World/SubterraneanLocomotor.cs +++ b/OpenRA.Mods.Common/Traits/World/SubterraneanLocomotor.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { diff --git a/OpenRA.Mods.Common/Traits/World/TerrainRenderer.cs b/OpenRA.Mods.Common/Traits/World/TerrainRenderer.cs index b11284165b..39d580bfd7 100644 --- a/OpenRA.Mods.Common/Traits/World/TerrainRenderer.cs +++ b/OpenRA.Mods.Common/Traits/World/TerrainRenderer.cs @@ -9,10 +9,7 @@ */ #endregion -using System; using System.Collections.Generic; -using System.IO; -using System.Linq; using OpenRA.Graphics; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20171014/LegacyBetaWarning.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20171014/LegacyBetaWarning.cs index 91260a9a3c..d479aefc55 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20171014/LegacyBetaWarning.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20171014/LegacyBetaWarning.cs @@ -9,9 +9,7 @@ */ #endregion -using System; using System.Collections.Generic; -using System.Linq; namespace OpenRA.Mods.Common.UpdateRules.Rules { diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20171014/RemoveMobileOnRails.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20171014/RemoveMobileOnRails.cs index 2b00bbdfbf..93e4f253cf 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20171014/RemoveMobileOnRails.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20171014/RemoveMobileOnRails.cs @@ -9,10 +9,8 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; -using OpenRA.Mods.Common.UpdateRules; namespace OpenRA.Mods.Common.UpdateRules.Rules { diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20171014/ScaleDefaultModHealth.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20171014/ScaleDefaultModHealth.cs index c71a2ca58d..49ff7ca69e 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20171014/ScaleDefaultModHealth.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20171014/ScaleDefaultModHealth.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Primitives; namespace OpenRA.Mods.Common.UpdateRules.Rules { diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20171014/ScaleSupportPowerSecondsToTicks.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20171014/ScaleSupportPowerSecondsToTicks.cs index 2cf9e10ad6..c17f927620 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20171014/ScaleSupportPowerSecondsToTicks.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20171014/ScaleSupportPowerSecondsToTicks.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Primitives; namespace OpenRA.Mods.Common.UpdateRules.Rules { diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20180307/DefineOwnerLostAction.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20180307/DefineOwnerLostAction.cs index 6de0d7642f..5a459bd394 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20180307/DefineOwnerLostAction.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20180307/DefineOwnerLostAction.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using System.Linq; namespace OpenRA.Mods.Common.UpdateRules.Rules { diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddBotOrderManager.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddBotOrderManager.cs index f7a73e3aa5..3d72950d51 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddBotOrderManager.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddBotOrderManager.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddCarryableHarvester.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddCarryableHarvester.cs index a137f26f95..4a9c4b5915 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddCarryableHarvester.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddCarryableHarvester.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddHarvesterBotModule.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddHarvesterBotModule.cs index cbf36c1fa5..e993aae6ae 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddHarvesterBotModule.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/AddHarvesterBotModule.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/CloakRequiresConditionToPause.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/CloakRequiresConditionToPause.cs index a6d516c722..3e21f46aac 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/CloakRequiresConditionToPause.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/CloakRequiresConditionToPause.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/DefineNotificationDefaults.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/DefineNotificationDefaults.cs index 4cd1cbe118..56717105ae 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/DefineNotificationDefaults.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/DefineNotificationDefaults.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; diff --git a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/MergeCaptureTraits.cs b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/MergeCaptureTraits.cs index 2f18d97a86..89d84c5a16 100644 --- a/OpenRA.Mods.Common/UpdateRules/Rules/20180923/MergeCaptureTraits.cs +++ b/OpenRA.Mods.Common/UpdateRules/Rules/20180923/MergeCaptureTraits.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; diff --git a/OpenRA.Mods.Common/UpdateRules/UpdateRule.cs b/OpenRA.Mods.Common/UpdateRules/UpdateRule.cs index d84a9017ff..62d71bd0f7 100644 --- a/OpenRA.Mods.Common/UpdateRules/UpdateRule.cs +++ b/OpenRA.Mods.Common/UpdateRules/UpdateRule.cs @@ -9,9 +9,7 @@ */ #endregion -using System; using System.Collections.Generic; -using System.Linq; namespace OpenRA.Mods.Common.UpdateRules { diff --git a/OpenRA.Mods.Common/UtilityCommands/ConvertPngToShpCommand.cs b/OpenRA.Mods.Common/UtilityCommands/ConvertPngToShpCommand.cs index 556ea2cd33..53a337c832 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ConvertPngToShpCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ConvertPngToShpCommand.cs @@ -12,10 +12,8 @@ using System; using System.Collections.Generic; using System.Drawing; -using System.Drawing.Imaging; using System.IO; using System.Linq; -using System.Runtime.InteropServices; using OpenRA.FileFormats; using OpenRA.Mods.Common.SpriteLoaders; diff --git a/OpenRA.Mods.Common/UtilityCommands/DumpSequenceSheetsCommand.cs b/OpenRA.Mods.Common/UtilityCommands/DumpSequenceSheetsCommand.cs index 4288f08c16..7e6025875c 100644 --- a/OpenRA.Mods.Common/UtilityCommands/DumpSequenceSheetsCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/DumpSequenceSheetsCommand.cs @@ -10,10 +10,6 @@ #endregion using System; -using System.Drawing; -using System.IO; -using System.Linq; -using System.Reflection; using OpenRA.FileSystem; using OpenRA.Graphics; diff --git a/OpenRA.Mods.Common/UtilityCommands/ExtractMapRules.cs b/OpenRA.Mods.Common/UtilityCommands/ExtractMapRules.cs index defb91a999..9200faeb93 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ExtractMapRules.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ExtractMapRules.cs @@ -11,8 +11,6 @@ using System; using System.Collections.Generic; -using System.IO; -using System.Linq; using OpenRA.FileSystem; namespace OpenRA.Mods.Common.UtilityCommands diff --git a/OpenRA.Mods.Common/UtilityCommands/ExtractTraitDocsCommand.cs b/OpenRA.Mods.Common/UtilityCommands/ExtractTraitDocsCommand.cs index 83049c3080..ddb689cc19 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ExtractTraitDocsCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ExtractTraitDocsCommand.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using System.Linq; using System.Text; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/UtilityCommands/ExtractWeaponDocsCommand.cs b/OpenRA.Mods.Common/UtilityCommands/ExtractWeaponDocsCommand.cs index 4161a706f8..605f3313fd 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ExtractWeaponDocsCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ExtractWeaponDocsCommand.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using System.Linq; using System.Text; using OpenRA.GameRules; diff --git a/OpenRA.Mods.Common/UtilityCommands/ExtractZeroBraneStudioLuaAPI.cs b/OpenRA.Mods.Common/UtilityCommands/ExtractZeroBraneStudioLuaAPI.cs index d235458400..be3024fb01 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ExtractZeroBraneStudioLuaAPI.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ExtractZeroBraneStudioLuaAPI.cs @@ -13,7 +13,6 @@ using System; using System.Linq; using System.Reflection; using OpenRA.Scripting; -using OpenRA.Traits; namespace OpenRA.Mods.Common.UtilityCommands { diff --git a/OpenRA.Mods.Common/UtilityCommands/ListInstallShieldCabContentsCommand.cs b/OpenRA.Mods.Common/UtilityCommands/ListInstallShieldCabContentsCommand.cs index 83f4fe52b6..7e83df97bd 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ListInstallShieldCabContentsCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ListInstallShieldCabContentsCommand.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using System.IO; using System.Linq; using OpenRA.Mods.Common.FileFormats; diff --git a/OpenRA.Mods.Common/UtilityCommands/ResizeMapCommand.cs b/OpenRA.Mods.Common/UtilityCommands/ResizeMapCommand.cs index 60d88c972d..03086b7390 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ResizeMapCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ResizeMapCommand.cs @@ -11,7 +11,6 @@ using System; using System.Collections.Generic; -using System.Linq; using OpenRA.FileSystem; namespace OpenRA.Mods.Common.UtilityCommands diff --git a/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs b/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs index 8fc8e397c0..51528c8c4e 100644 --- a/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.Linq; -using OpenRA.GameRules; using OpenRA.Mods.Common.Effects; using OpenRA.Mods.Common.Traits; using OpenRA.Primitives; diff --git a/OpenRA.Mods.Common/Warheads/Warhead.cs b/OpenRA.Mods.Common/Warheads/Warhead.cs index 69dd3be345..eba5087cf1 100644 --- a/OpenRA.Mods.Common/Warheads/Warhead.cs +++ b/OpenRA.Mods.Common/Warheads/Warhead.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Drawing; using OpenRA.Primitives; diff --git a/OpenRA.Mods.Common/Widgets/Logic/ConnectionLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/ConnectionLogic.cs index bb4bf0293f..a42971ace6 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/ConnectionLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/ConnectionLogic.cs @@ -10,7 +10,6 @@ #endregion using System; -using OpenRA.Graphics; using OpenRA.Network; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Common/Widgets/Logic/Editor/TileSelectorLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Editor/TileSelectorLogic.cs index 99838026d0..32d46f8665 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Editor/TileSelectorLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Editor/TileSelectorLogic.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Collections.Generic; using System.Linq; using OpenRA.Graphics; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoLogic.cs index 49ed2f1125..02b1c4a331 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoLogic.cs @@ -12,7 +12,6 @@ using System.Linq; using OpenRA.Mods.Common.Scripting; using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Widgets.Logic diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/CycleStatusBarsHotkeyLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/CycleStatusBarsHotkeyLogic.cs index 03ed68a01b..6041e7fc26 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/CycleStatusBarsHotkeyLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/CycleStatusBarsHotkeyLogic.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Graphics; using OpenRA.Mods.Common.Lint; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/PauseHotkeyLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/PauseHotkeyLogic.cs index 4bfe3cb1bc..58692bc7e5 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/PauseHotkeyLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/PauseHotkeyLogic.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Graphics; using OpenRA.Mods.Common.Lint; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/TogglePlayerStanceColorHotkeyLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/TogglePlayerStanceColorHotkeyLogic.cs index 91cc732627..1b06158c1a 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/TogglePlayerStanceColorHotkeyLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/TogglePlayerStanceColorHotkeyLogic.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Graphics; using OpenRA.Mods.Common.Lint; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameCashCounterLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameCashCounterLogic.cs index ba9c4ee07c..e1f9c3bb79 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameCashCounterLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameCashCounterLogic.cs @@ -10,9 +10,7 @@ #endregion using System; -using System.Linq; using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Widgets.Logic diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs index a5f1dbf978..532de1f3ca 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs @@ -14,7 +14,6 @@ using System.Linq; using OpenRA.Graphics; using OpenRA.Mods.Common.Scripting; using OpenRA.Mods.Common.Traits; -using OpenRA.Traits; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Widgets.Logic diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverStatsLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverStatsLogic.cs index 53298e5805..1ffaff61f6 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverStatsLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverStatsLogic.cs @@ -17,7 +17,6 @@ using OpenRA.Graphics; using OpenRA.Mods.Common.Lint; using OpenRA.Mods.Common.Traits; using OpenRA.Network; -using OpenRA.Traits; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Widgets.Logic diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/ProductionTooltipLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/ProductionTooltipLogic.cs index 2b45328b0e..75e061bf0b 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/ProductionTooltipLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/ProductionTooltipLogic.cs @@ -13,8 +13,6 @@ using System; using System.Drawing; using System.Linq; using OpenRA.Mods.Common.Traits; -using OpenRA.Support; -using OpenRA.Traits; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Widgets.Logic diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/StanceSelectorLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/StanceSelectorLogic.cs index 60d240ddc0..729f0bed6c 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/StanceSelectorLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/StanceSelectorLogic.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Linq; using OpenRA.Graphics; using OpenRA.Mods.Common.Traits; diff --git a/OpenRA.Mods.Common/Widgets/Logic/Installation/InstallFromDiscLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Installation/InstallFromDiscLogic.cs index 6d2b5dc937..a54eb19501 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Installation/InstallFromDiscLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Installation/InstallFromDiscLogic.cs @@ -14,8 +14,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; -using OpenRA; -using OpenRA.FileFormats; using OpenRA.Mods.Common.FileFormats; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Common/Widgets/Logic/Installation/ModContentDiscTooltipLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Installation/ModContentDiscTooltipLogic.cs index 8878fd988c..f256410955 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Installation/ModContentDiscTooltipLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Installation/ModContentDiscTooltipLogic.cs @@ -10,8 +10,6 @@ #endregion using System; -using System.IO; -using System.Linq; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Widgets.Logic diff --git a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LatencyTooltipLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LatencyTooltipLogic.cs index 146734c956..a8caa639cb 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LatencyTooltipLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LatencyTooltipLogic.cs @@ -9,8 +9,6 @@ */ #endregion -using System; -using OpenRA.Graphics; using OpenRA.Network; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Common/Widgets/Logic/MapChooserLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/MapChooserLogic.cs index 6eb7d30bb4..7fdecfb980 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/MapChooserLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/MapChooserLogic.cs @@ -11,9 +11,7 @@ using System; using System.Collections.Generic; -using System.IO; using System.Linq; -using OpenRA; using OpenRA.Primitives; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Common/Widgets/Logic/MissionBrowserLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/MissionBrowserLogic.cs index 72e245d581..a89e8cd3a3 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/MissionBrowserLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/MissionBrowserLogic.cs @@ -11,13 +11,11 @@ using System; using System.Collections.Generic; -using System.IO; using System.Linq; using System.Threading; using OpenRA.Graphics; using OpenRA.Mods.Common.Traits; using OpenRA.Network; -using OpenRA.Primitives; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Widgets.Logic diff --git a/OpenRA.Mods.Common/Widgets/Logic/MusicPlayerLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/MusicPlayerLogic.cs index e4867309a9..29ad4a8a69 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/MusicPlayerLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/MusicPlayerLogic.cs @@ -10,7 +10,6 @@ #endregion using System; -using System.Linq; using OpenRA.GameRules; using OpenRA.Mods.Common.Traits; using OpenRA.Widgets; diff --git a/OpenRA.Mods.Common/Widgets/Logic/SingleHotkeyBaseLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/SingleHotkeyBaseLogic.cs index 654eb964f5..bac73b8add 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/SingleHotkeyBaseLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/SingleHotkeyBaseLogic.cs @@ -10,7 +10,6 @@ #endregion using System.Collections.Generic; -using OpenRA.Mods.Common.Lint; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Widgets.Logic diff --git a/OpenRA.Mods.Common/Widgets/SupportPowerTimerWidget.cs b/OpenRA.Mods.Common/Widgets/SupportPowerTimerWidget.cs index e3b386120b..33bc653b4b 100644 --- a/OpenRA.Mods.Common/Widgets/SupportPowerTimerWidget.cs +++ b/OpenRA.Mods.Common/Widgets/SupportPowerTimerWidget.cs @@ -9,11 +9,9 @@ */ #endregion -using System; using System.Collections.Generic; using System.Drawing; using System.Linq; -using OpenRA.Graphics; using OpenRA.Mods.Common.Traits; using OpenRA.Primitives; using OpenRA.Traits; diff --git a/OpenRA.Mods.Common/WorldExtensions.cs b/OpenRA.Mods.Common/WorldExtensions.cs index ecab3b09e8..d40e30c155 100644 --- a/OpenRA.Mods.Common/WorldExtensions.cs +++ b/OpenRA.Mods.Common/WorldExtensions.cs @@ -9,7 +9,6 @@ */ #endregion -using System; using System.Collections.Generic; using System.Linq; using OpenRA.Mods.Common.Traits; diff --git a/OpenRA.Mods.D2k/Traits/Render/WithDeliveryOverlay.cs b/OpenRA.Mods.D2k/Traits/Render/WithDeliveryOverlay.cs index 5eae3ecf90..ea35fca470 100644 --- a/OpenRA.Mods.D2k/Traits/Render/WithDeliveryOverlay.cs +++ b/OpenRA.Mods.D2k/Traits/Render/WithDeliveryOverlay.cs @@ -9,7 +9,6 @@ */ #endregion -using OpenRA.Effects; using OpenRA.Graphics; using OpenRA.Mods.Common.Traits; using OpenRA.Mods.Common.Traits.Render; diff --git a/OpenRA.Mods.D2k/Traits/SpiceBloom.cs b/OpenRA.Mods.D2k/Traits/SpiceBloom.cs index 2cbaceabf6..c11b1e01a0 100644 --- a/OpenRA.Mods.D2k/Traits/SpiceBloom.cs +++ b/OpenRA.Mods.D2k/Traits/SpiceBloom.cs @@ -11,14 +11,11 @@ using System.Collections.Generic; using System.Linq; -using OpenRA.Effects; using OpenRA.GameRules; using OpenRA.Graphics; -using OpenRA.Mods.Common; using OpenRA.Mods.Common.Graphics; using OpenRA.Mods.Common.Traits; using OpenRA.Mods.Common.Traits.Render; -using OpenRA.Primitives; using OpenRA.Traits; namespace OpenRA.Mods.D2k.Traits diff --git a/OpenRA.Platforms.Default/DefaultPlatform.cs b/OpenRA.Platforms.Default/DefaultPlatform.cs index 6166803a79..4330433d67 100644 --- a/OpenRA.Platforms.Default/DefaultPlatform.cs +++ b/OpenRA.Platforms.Default/DefaultPlatform.cs @@ -10,7 +10,6 @@ #endregion using System.Drawing; -using OpenRA; namespace OpenRA.Platforms.Default { diff --git a/OpenRA.Test/OpenRA.Game/ActorInfoTest.cs b/OpenRA.Test/OpenRA.Game/ActorInfoTest.cs index 9ec6962468..621139521a 100644 --- a/OpenRA.Test/OpenRA.Game/ActorInfoTest.cs +++ b/OpenRA.Test/OpenRA.Game/ActorInfoTest.cs @@ -9,9 +9,7 @@ */ #endregion -using System; using System.Linq; -using System.Text.RegularExpressions; using NUnit.Framework; using OpenRA.Traits; diff --git a/OpenRA.Test/OpenRA.Game/CPosTest.cs b/OpenRA.Test/OpenRA.Game/CPosTest.cs index a0fd9ff985..7caf16907d 100644 --- a/OpenRA.Test/OpenRA.Game/CPosTest.cs +++ b/OpenRA.Test/OpenRA.Game/CPosTest.cs @@ -1,5 +1,4 @@ -using System.Runtime.Remoting.Metadata; -using NUnit.Framework; +using NUnit.Framework; namespace OpenRA.Test { diff --git a/OpenRA.Test/OpenRA.Game/VariableExpressionTest.cs b/OpenRA.Test/OpenRA.Game/VariableExpressionTest.cs index 7087c22c7b..181dad7d42 100644 --- a/OpenRA.Test/OpenRA.Game/VariableExpressionTest.cs +++ b/OpenRA.Test/OpenRA.Game/VariableExpressionTest.cs @@ -9,10 +9,8 @@ */ #endregion -using System; using System.Collections.Generic; using System.IO; -using System.Linq; using NUnit.Framework; using OpenRA.Support;