From d835090d0b8017310f082526e09a42e9ea608bf7 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Mon, 9 Dec 2019 01:57:06 +0100 Subject: [PATCH] Move LCWCompression support to Mods.Cnc --- .../FileFormats/LCWCompression.cs | 3 ++- OpenRA.Mods.Cnc/SpriteLoaders/ShpD2Loader.cs | 1 + .../UtilityCommands/ImportRedAlertLegacyMapCommand.cs | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) rename {OpenRA.Mods.Common => OpenRA.Mods.Cnc}/FileFormats/LCWCompression.cs (98%) diff --git a/OpenRA.Mods.Common/FileFormats/LCWCompression.cs b/OpenRA.Mods.Cnc/FileFormats/LCWCompression.cs similarity index 98% rename from OpenRA.Mods.Common/FileFormats/LCWCompression.cs rename to OpenRA.Mods.Cnc/FileFormats/LCWCompression.cs index b3115f42d5..0fe782485a 100644 --- a/OpenRA.Mods.Common/FileFormats/LCWCompression.cs +++ b/OpenRA.Mods.Cnc/FileFormats/LCWCompression.cs @@ -11,8 +11,9 @@ using System; using System.IO; +using OpenRA.Mods.Common.FileFormats; -namespace OpenRA.Mods.Common.FileFormats +namespace OpenRA.Mods.Cnc.FileFormats { // Lempel - Castle - Welch algorithm (aka Format80) public static class LCWCompression diff --git a/OpenRA.Mods.Cnc/SpriteLoaders/ShpD2Loader.cs b/OpenRA.Mods.Cnc/SpriteLoaders/ShpD2Loader.cs index f9df876880..928f51265c 100644 --- a/OpenRA.Mods.Cnc/SpriteLoaders/ShpD2Loader.cs +++ b/OpenRA.Mods.Cnc/SpriteLoaders/ShpD2Loader.cs @@ -12,6 +12,7 @@ using System; using System.IO; using OpenRA.Graphics; +using OpenRA.Mods.Cnc.FileFormats; using OpenRA.Mods.Common.FileFormats; using OpenRA.Primitives; diff --git a/OpenRA.Mods.Cnc/UtilityCommands/ImportRedAlertLegacyMapCommand.cs b/OpenRA.Mods.Cnc/UtilityCommands/ImportRedAlertLegacyMapCommand.cs index d4cfc66ba5..357d8671cf 100644 --- a/OpenRA.Mods.Cnc/UtilityCommands/ImportRedAlertLegacyMapCommand.cs +++ b/OpenRA.Mods.Cnc/UtilityCommands/ImportRedAlertLegacyMapCommand.cs @@ -14,6 +14,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; +using OpenRA.Mods.Cnc.FileFormats; using OpenRA.Mods.Common.FileFormats; using OpenRA.Mods.Common.UtilityCommands; using OpenRA.Primitives;