diff --git a/SM64Lib.LIBMIO0/SM64Lib.LIBMIO0.csproj b/SM64Lib.LIBMIO0/SM64Lib.LIBMIO0.csproj index 45d2a41..e86fad2 100644 --- a/SM64Lib.LIBMIO0/SM64Lib.LIBMIO0.csproj +++ b/SM64Lib.LIBMIO0/SM64Lib.LIBMIO0.csproj @@ -1,8 +1,7 @@  net8.0 - LIBMIO0 - Quad64 + enable AnyCPU Debug;Release;ReleaseBundle;ReleaseStandalone diff --git a/SM64Lib.N64Graphics/N64Graphics.cs b/SM64Lib.N64Graphics/N64Graphics.cs index 3575997..78a4e2b 100644 --- a/SM64Lib.N64Graphics/N64Graphics.cs +++ b/SM64Lib.N64Graphics/N64Graphics.cs @@ -1,6 +1,4 @@ -using System.Drawing; - -namespace SM64Lib.N64Graphics; +namespace SM64Lib.N64Graphics; public enum N64Codec { RGBA16, RGBA32, IA16, IA8, IA4, I8, I4, CI8, CI4, ONEBPP }; public enum N64IMode { AlphaCopyIntensity, AlphaBinary, AlphaOne }; diff --git a/SM64Lib.N64Graphics/SM64Lib.N64Graphics.csproj b/SM64Lib.N64Graphics/SM64Lib.N64Graphics.csproj index c47e3ed..fbe4dea 100644 --- a/SM64Lib.N64Graphics/SM64Lib.N64Graphics.csproj +++ b/SM64Lib.N64Graphics/SM64Lib.N64Graphics.csproj @@ -1,12 +1,10 @@  net8.0-windows - N64Graphics - Pilzinsel64 - N64Graphics true AnyCPU Debug;Release;ReleaseBundle;ReleaseStandalone + enable diff --git a/SM64Lib.N64Graphics/TextureFormat.cs b/SM64Lib.N64Graphics/TextureFormat.cs index c41f820..06ee4a8 100644 --- a/SM64Lib.N64Graphics/TextureFormat.cs +++ b/SM64Lib.N64Graphics/TextureFormat.cs @@ -1,6 +1,4 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; +using System.Drawing.Imaging; using System.Runtime.InteropServices; namespace SM64Lib.N64Graphics; diff --git a/SM64Lib.Text.Exporters/ExcelExporter.cs b/SM64Lib.Text.Exporters/ExcelExporter.cs index 935b53f..acc6451 100644 --- a/SM64Lib.Text.Exporters/ExcelExporter.cs +++ b/SM64Lib.Text.Exporters/ExcelExporter.cs @@ -1,7 +1,4 @@ using OfficeOpenXml; -using System; -using System.IO; -using System.Threading.Tasks; namespace SM64Lib.Text.Exporters; diff --git a/SM64Lib.Text.Exporters/SM64Lib.Text.Exporters.csproj b/SM64Lib.Text.Exporters/SM64Lib.Text.Exporters.csproj index c844884..2ecabdf 100644 --- a/SM64Lib.Text.Exporters/SM64Lib.Text.Exporters.csproj +++ b/SM64Lib.Text.Exporters/SM64Lib.Text.Exporters.csproj @@ -1,10 +1,9 @@  net8.0-windows - SM64Lib.Text.Exporters - SM64Lib.Text.Exporters AnyCPU Debug;Release;ReleaseBundle;ReleaseStandalone + enable diff --git a/SM64Lib.Text.Exporters/TxtExporter.cs b/SM64Lib.Text.Exporters/TxtExporter.cs index 8fce7d5..b3b9410 100644 --- a/SM64Lib.Text.Exporters/TxtExporter.cs +++ b/SM64Lib.Text.Exporters/TxtExporter.cs @@ -1,7 +1,4 @@ -using System.IO; -using System.Threading.Tasks; - -namespace SM64Lib.Text.Exporters; +namespace SM64Lib.Text.Exporters; public class TxtExporter { diff --git a/SM64Lib.TextValueConverter/Properties/AssemblyInfo.cs b/SM64Lib.TextValueConverter/Properties/AssemblyInfo.cs index 3c546af..3e26722 100644 --- a/SM64Lib.TextValueConverter/Properties/AssemblyInfo.cs +++ b/SM64Lib.TextValueConverter/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ -using global::System; -using global::System.Runtime.InteropServices; +using global::System.Runtime.InteropServices; [assembly: ComVisible(false)] // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird. diff --git a/SM64Lib.TextValueConverter/SM64Lib.TextValueConverter.csproj b/SM64Lib.TextValueConverter/SM64Lib.TextValueConverter.csproj index 6f7a0ef..b69fba0 100644 --- a/SM64Lib.TextValueConverter/SM64Lib.TextValueConverter.csproj +++ b/SM64Lib.TextValueConverter/SM64Lib.TextValueConverter.csproj @@ -4,6 +4,7 @@ net8.0 $(DefaultItemExcludes);$(ProjectDir)**\*.vb latest + enable TextValueConverter DRSN TextValueConverter diff --git a/SM64Lib.TextValueConverter/TextValueConverter.cs b/SM64Lib.TextValueConverter/TextValueConverter.cs index f54df49..ef0936d 100644 --- a/SM64Lib.TextValueConverter/TextValueConverter.cs +++ b/SM64Lib.TextValueConverter/TextValueConverter.cs @@ -1,6 +1,4 @@ -using System; - -namespace SM64Lib.TextValueConverter; +namespace SM64Lib.TextValueConverter; public static class TextValueConverter { diff --git a/SM64Lib/ASM/CustomAsmBank.cs b/SM64Lib/ASM/CustomAsmBank.cs index 2195b4c..e54b29f 100644 --- a/SM64Lib/ASM/CustomAsmBank.cs +++ b/SM64Lib/ASM/CustomAsmBank.cs @@ -1,6 +1,4 @@ using Newtonsoft.Json; -using System.Collections.Generic; -using System.Linq; namespace SM64Lib.ASM; diff --git a/SM64Lib/ASM/CustomAsmBankConfig.cs b/SM64Lib/ASM/CustomAsmBankConfig.cs index 4c65ec5..9f65ff2 100644 --- a/SM64Lib/ASM/CustomAsmBankConfig.cs +++ b/SM64Lib/ASM/CustomAsmBankConfig.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System.Collections.Generic; namespace SM64Lib.ASM; diff --git a/SM64Lib/BaseTweakScriptInfo.cs b/SM64Lib/BaseTweakScriptInfo.cs index 92a507e..fc9bc41 100644 --- a/SM64Lib/BaseTweakScriptInfo.cs +++ b/SM64Lib/BaseTweakScriptInfo.cs @@ -1,5 +1,4 @@ using SM64Lib.Patching; -using System; namespace SM64Lib; diff --git a/SM64Lib/Behaviors/Behavior.cs b/SM64Lib/Behaviors/Behavior.cs index e78b5cc..4382e55 100644 --- a/SM64Lib/Behaviors/Behavior.cs +++ b/SM64Lib/Behaviors/Behavior.cs @@ -2,9 +2,6 @@ using SM64Lib.ASM; using SM64Lib.Behaviors.Script; using SM64Lib.Data; -using System; -using System.Collections.Generic; -using System.Linq; using Z.Collections.Extensions; using static SM64Lib.Extensions.ObjectExtensions; diff --git a/SM64Lib/Behaviors/BehaviorBank.cs b/SM64Lib/Behaviors/BehaviorBank.cs index e48bddb..eb26003 100644 --- a/SM64Lib/Behaviors/BehaviorBank.cs +++ b/SM64Lib/Behaviors/BehaviorBank.cs @@ -1,9 +1,6 @@ using Newtonsoft.Json; using SM64Lib.Data; using SM64Lib.SegmentedBanking; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Z.Collections.Extensions; namespace SM64Lib.Behaviors; diff --git a/SM64Lib/Behaviors/BehaviorBankConfig.cs b/SM64Lib/Behaviors/BehaviorBankConfig.cs index 23c33f1..bd5b757 100644 --- a/SM64Lib/Behaviors/BehaviorBankConfig.cs +++ b/SM64Lib/Behaviors/BehaviorBankConfig.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System.Collections.Generic; namespace SM64Lib.Behaviors; diff --git a/SM64Lib/Behaviors/BehaviorConfig.cs b/SM64Lib/Behaviors/BehaviorConfig.cs index 11e02a3..054a8e7 100644 --- a/SM64Lib/Behaviors/BehaviorConfig.cs +++ b/SM64Lib/Behaviors/BehaviorConfig.cs @@ -1,7 +1,6 @@ using Newtonsoft.Json; using Pilz.Cryptography; using Pilz.Json.Converters; -using System.Collections.Generic; namespace SM64Lib.Behaviors; diff --git a/SM64Lib/Behaviors/BehaviorParamInfo.cs b/SM64Lib/Behaviors/BehaviorParamInfo.cs index 43e0b32..ed60f90 100644 --- a/SM64Lib/Behaviors/BehaviorParamInfo.cs +++ b/SM64Lib/Behaviors/BehaviorParamInfo.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Behaviors; +namespace SM64Lib.Behaviors; public class BehaviorParamInfo { diff --git a/SM64Lib/Behaviors/Script/Behaviorscript.cs b/SM64Lib/Behaviors/Script/Behaviorscript.cs index d3fb427..20d26f2 100644 --- a/SM64Lib/Behaviors/Script/Behaviorscript.cs +++ b/SM64Lib/Behaviors/Script/Behaviorscript.cs @@ -1,7 +1,4 @@ using SM64Lib.Data; -using System; -using System.Collections.Generic; -using System.Linq; namespace SM64Lib.Behaviors.Script; diff --git a/SM64Lib/Configuration/CollisionBasicConfig.cs b/SM64Lib/Configuration/CollisionBasicConfig.cs index 6291653..0474ba1 100644 --- a/SM64Lib/Configuration/CollisionBasicConfig.cs +++ b/SM64Lib/Configuration/CollisionBasicConfig.cs @@ -1,6 +1,4 @@ using Newtonsoft.Json; -using System.Collections.Generic; -using System.Linq; namespace SM64Lib.Configuration; diff --git a/SM64Lib/Configuration/CustomModelConfig.cs b/SM64Lib/Configuration/CustomModelConfig.cs index 5ab8954..d0a378d 100644 --- a/SM64Lib/Configuration/CustomModelConfig.cs +++ b/SM64Lib/Configuration/CustomModelConfig.cs @@ -2,7 +2,6 @@ using Pilz.Cryptography; using Pilz.Json.Converters; using SM64Lib.Objects.ModelBanks; -using System.Collections.Generic; namespace SM64Lib.Configuration; diff --git a/SM64Lib/Configuration/LevelAreaConfig.cs b/SM64Lib/Configuration/LevelAreaConfig.cs index 1a683eb..dd9ec38 100644 --- a/SM64Lib/Configuration/LevelAreaConfig.cs +++ b/SM64Lib/Configuration/LevelAreaConfig.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Configuration; +namespace SM64Lib.Configuration; public class LevelAreaConfig { diff --git a/SM64Lib/Configuration/LevelConfig.cs b/SM64Lib/Configuration/LevelConfig.cs index 9582251..954b96c 100644 --- a/SM64Lib/Configuration/LevelConfig.cs +++ b/SM64Lib/Configuration/LevelConfig.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Configuration; +namespace SM64Lib.Configuration; public class LevelConfig { diff --git a/SM64Lib/Configuration/MusicConfiguration.cs b/SM64Lib/Configuration/MusicConfiguration.cs index 92735bc..1fb7806 100644 --- a/SM64Lib/Configuration/MusicConfiguration.cs +++ b/SM64Lib/Configuration/MusicConfiguration.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Configuration; +namespace SM64Lib.Configuration; public class MusicConfiguration { diff --git a/SM64Lib/Configuration/ObjectModelConfig.cs b/SM64Lib/Configuration/ObjectModelConfig.cs index 3149af0..fb1c4c4 100644 --- a/SM64Lib/Configuration/ObjectModelConfig.cs +++ b/SM64Lib/Configuration/ObjectModelConfig.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Configuration; +namespace SM64Lib.Configuration; public class ObjectModelConfig { diff --git a/SM64Lib/Configuration/RomConfig.cs b/SM64Lib/Configuration/RomConfig.cs index 5a91b27..9d444bc 100644 --- a/SM64Lib/Configuration/RomConfig.cs +++ b/SM64Lib/Configuration/RomConfig.cs @@ -1,12 +1,9 @@ using global::Newtonsoft.Json.Linq; -using global::System.IO; using Newtonsoft.Json; using SM64Lib.ASM; using SM64Lib.Behaviors; using SM64Lib.Objects.ObjectBanks; using SM64Lib.Objects.ObjectBanks.Data; -using System; -using System.Collections.Generic; namespace SM64Lib.Configuration; diff --git a/SM64Lib/Data/BinaryArrayData.cs b/SM64Lib/Data/BinaryArrayData.cs index 1032e31..5bc9162 100644 --- a/SM64Lib/Data/BinaryArrayData.cs +++ b/SM64Lib/Data/BinaryArrayData.cs @@ -1,6 +1,4 @@ -using global::System.IO; - -namespace SM64Lib.Data; +namespace SM64Lib.Data; public class BinaryArrayData : BinaryStreamData { diff --git a/SM64Lib/Data/BinaryData.cs b/SM64Lib/Data/BinaryData.cs index 24cba26..b7fa3ad 100644 --- a/SM64Lib/Data/BinaryData.cs +++ b/SM64Lib/Data/BinaryData.cs @@ -1,6 +1,4 @@ -using global::System.IO; -using SM64Lib.Data.System; -using System; +using SM64Lib.Data.System; namespace SM64Lib.Data; diff --git a/SM64Lib/Data/BinaryFile.cs b/SM64Lib/Data/BinaryFile.cs index 019376a..f396dd8 100644 --- a/SM64Lib/Data/BinaryFile.cs +++ b/SM64Lib/Data/BinaryFile.cs @@ -1,6 +1,4 @@ -using global::System.IO; - -namespace SM64Lib.Data; +namespace SM64Lib.Data; public class BinaryFile : BinaryStreamData { diff --git a/SM64Lib/Data/BinaryRom.cs b/SM64Lib/Data/BinaryRom.cs index 43810de..081d3c6 100644 --- a/SM64Lib/Data/BinaryRom.cs +++ b/SM64Lib/Data/BinaryRom.cs @@ -1,6 +1,4 @@ -using global::System.IO; - -namespace SM64Lib.Data; +namespace SM64Lib.Data; public class BinaryRom : BinaryFile { diff --git a/SM64Lib/Data/BinarySegBank.cs b/SM64Lib/Data/BinarySegBank.cs index c93275d..0607447 100644 --- a/SM64Lib/Data/BinarySegBank.cs +++ b/SM64Lib/Data/BinarySegBank.cs @@ -1,5 +1,4 @@ using global::SM64Lib.SegmentedBanking; -using global::System.IO; namespace SM64Lib.Data; diff --git a/SM64Lib/Data/BinaryStreamData.cs b/SM64Lib/Data/BinaryStreamData.cs index 4c38b10..ccf78ad 100644 --- a/SM64Lib/Data/BinaryStreamData.cs +++ b/SM64Lib/Data/BinaryStreamData.cs @@ -1,6 +1,4 @@ -using global::System.IO; - -namespace SM64Lib.Data; +namespace SM64Lib.Data; public class BinaryStreamData : BinaryData { diff --git a/SM64Lib/Data/System/Bits.cs b/SM64Lib/Data/System/Bits.cs index 5e67349..9c8be71 100644 --- a/SM64Lib/Data/System/Bits.cs +++ b/SM64Lib/Data/System/Bits.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections; -using System.Linq; +using System.Collections; namespace SM64Lib.Data.System; diff --git a/SM64Lib/Data/System/SwapInts.cs b/SM64Lib/Data/System/SwapInts.cs index 6fb0e11..8af338d 100644 --- a/SM64Lib/Data/System/SwapInts.cs +++ b/SM64Lib/Data/System/SwapInts.cs @@ -1,6 +1,4 @@ -using System; - -namespace SM64Lib.Data.System; +namespace SM64Lib.Data.System; internal static class SwapInts { diff --git a/SM64Lib/EventArguments/GetTextProfileInfoEventArgs.cs b/SM64Lib/EventArguments/GetTextProfileInfoEventArgs.cs index 4824e9e..1dff4b8 100644 --- a/SM64Lib/EventArguments/GetTextProfileInfoEventArgs.cs +++ b/SM64Lib/EventArguments/GetTextProfileInfoEventArgs.cs @@ -1,6 +1,4 @@ -using System; - -namespace SM64Lib.EventArguments; +namespace SM64Lib.EventArguments; public class GetTextProfileInfoEventArgs : EventArgs { diff --git a/SM64Lib/EventArguments/PrepairingRomEventArgs.cs b/SM64Lib/EventArguments/PrepairingRomEventArgs.cs index 9418690..c393fdc 100644 --- a/SM64Lib/EventArguments/PrepairingRomEventArgs.cs +++ b/SM64Lib/EventArguments/PrepairingRomEventArgs.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace SM64Lib.EventArguments; +namespace SM64Lib.EventArguments; public class PrepairingRomEventArgs : EventArgs { diff --git a/SM64Lib/EventArguments/RomVersionEventArgs.cs b/SM64Lib/EventArguments/RomVersionEventArgs.cs index 1cd20f7..d4a972d 100644 --- a/SM64Lib/EventArguments/RomVersionEventArgs.cs +++ b/SM64Lib/EventArguments/RomVersionEventArgs.cs @@ -1,6 +1,4 @@ -using System; - -namespace SM64Lib.EventArguments; +namespace SM64Lib.EventArguments; public class RomVersionEventArgs : EventArgs { diff --git a/SM64Lib/Exceptions/InvalidMD5HashException.cs b/SM64Lib/Exceptions/InvalidMD5HashException.cs index a8f1f39..3eea013 100644 --- a/SM64Lib/Exceptions/InvalidMD5HashException.cs +++ b/SM64Lib/Exceptions/InvalidMD5HashException.cs @@ -1,6 +1,4 @@ -using System; - -namespace SM64Lib.Exceptions; +namespace SM64Lib.Exceptions; public class InvalidMD5HashException : Exception { diff --git a/SM64Lib/Exceptions/RomCompatiblityException.cs b/SM64Lib/Exceptions/RomCompatiblityException.cs index 5b8e92f..3a238b6 100644 --- a/SM64Lib/Exceptions/RomCompatiblityException.cs +++ b/SM64Lib/Exceptions/RomCompatiblityException.cs @@ -1,6 +1,4 @@ -using System; - -namespace SM64Lib.Exceptions; +namespace SM64Lib.Exceptions; public class RomCompatiblityException : Exception { diff --git a/SM64Lib/FilePathsConfiguration.cs b/SM64Lib/FilePathsConfiguration.cs index e71c376..1e49321 100644 --- a/SM64Lib/FilePathsConfiguration.cs +++ b/SM64Lib/FilePathsConfiguration.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib; +namespace SM64Lib; public class FilePathsConfiguration { diff --git a/SM64Lib/General.cs b/SM64Lib/General.cs index 003be5e..ba547f6 100644 --- a/SM64Lib/General.cs +++ b/SM64Lib/General.cs @@ -1,11 +1,7 @@ using SM64Lib.Patching; -using System; -using System.Collections.Generic; using System.Diagnostics; using System.Drawing; -using System.IO; using System.IO.Compression; -using System.Linq; using System.Security.Cryptography; namespace SM64Lib; diff --git a/SM64Lib/Geolayout/Geolayout.cs b/SM64Lib/Geolayout/Geolayout.cs index 81d6971..c7dbd21 100644 --- a/SM64Lib/Geolayout/Geolayout.cs +++ b/SM64Lib/Geolayout/Geolayout.cs @@ -1,10 +1,7 @@ using global::SM64Lib.Geolayout.Script; using global::SM64Lib.Geolayout.Script.Commands; -using global::System.IO; using Microsoft.VisualBasic; using Newtonsoft.Json; -using System; -using System.Collections.Generic; namespace SM64Lib.Geolayout; diff --git a/SM64Lib/Geolayout/Script/GeolayoutCommandFunctions.cs b/SM64Lib/Geolayout/Script/GeolayoutCommandFunctions.cs index 1187879..35ceff6 100644 --- a/SM64Lib/Geolayout/Script/GeolayoutCommandFunctions.cs +++ b/SM64Lib/Geolayout/Script/GeolayoutCommandFunctions.cs @@ -1,5 +1,4 @@ using global::System.Numerics; -using System; namespace SM64Lib.Geolayout.Script { diff --git a/SM64Lib/Geolayout/Script/Geolayoutscript.cs b/SM64Lib/Geolayout/Script/Geolayoutscript.cs index 77a7f54..f32a3c2 100644 --- a/SM64Lib/Geolayout/Script/Geolayoutscript.cs +++ b/SM64Lib/Geolayout/Script/Geolayoutscript.cs @@ -1,9 +1,5 @@ using global::SM64Lib.Data; -using global::System.IO; using SM64Lib.SegmentedBanking; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; namespace SM64Lib.Geolayout.Script; diff --git a/SM64Lib/Json/ArrayReferencePreservngConverter.cs b/SM64Lib/Json/ArrayReferencePreservngConverter.cs index 6486cb7..bffe65c 100644 --- a/SM64Lib/Json/ArrayReferencePreservngConverter.cs +++ b/SM64Lib/Json/ArrayReferencePreservngConverter.cs @@ -1,8 +1,6 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; -using System; using System.Collections; -using System.Collections.Generic; namespace SM64Lib.Json; diff --git a/SM64Lib/Json/BaseCommandJsonConverter.cs b/SM64Lib/Json/BaseCommandJsonConverter.cs index 9cdaae0..9e4d589 100644 --- a/SM64Lib/Json/BaseCommandJsonConverter.cs +++ b/SM64Lib/Json/BaseCommandJsonConverter.cs @@ -1,6 +1,5 @@ using Newtonsoft.Json; using SM64Lib.Geolayout.Script; -using System; namespace SM64Lib.Json; diff --git a/SM64Lib/Json/BehaviorscriptCommandJsonConverter.cs b/SM64Lib/Json/BehaviorscriptCommandJsonConverter.cs index 4e07e46..1fdc42f 100644 --- a/SM64Lib/Json/BehaviorscriptCommandJsonConverter.cs +++ b/SM64Lib/Json/BehaviorscriptCommandJsonConverter.cs @@ -1,6 +1,5 @@ using Newtonsoft.Json; using SM64Lib.Behaviors.Script; -using System; namespace SM64Lib.Json; diff --git a/SM64Lib/Json/ComplexDictionarJsonConverter.cs b/SM64Lib/Json/ComplexDictionarJsonConverter.cs index 1624a52..bbe15b1 100644 --- a/SM64Lib/Json/ComplexDictionarJsonConverter.cs +++ b/SM64Lib/Json/ComplexDictionarJsonConverter.cs @@ -1,7 +1,4 @@ using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; using Z.Collections.Extensions; namespace SM64Lib.Json; diff --git a/SM64Lib/Json/Fast3DBufferJsonConverter.cs b/SM64Lib/Json/Fast3DBufferJsonConverter.cs index 5632be3..481554a 100644 --- a/SM64Lib/Json/Fast3DBufferJsonConverter.cs +++ b/SM64Lib/Json/Fast3DBufferJsonConverter.cs @@ -1,9 +1,6 @@ using Newtonsoft.Json; using SM64Lib.Model.Fast3D; -using System; -using System.Collections.Generic; using System.IO.Compression; -using System.Linq; namespace SM64Lib.Json; diff --git a/SM64Lib/Json/GeolayoutscriptCommandJsonConverter.cs b/SM64Lib/Json/GeolayoutscriptCommandJsonConverter.cs index c359e20..e7da9f5 100644 --- a/SM64Lib/Json/GeolayoutscriptCommandJsonConverter.cs +++ b/SM64Lib/Json/GeolayoutscriptCommandJsonConverter.cs @@ -1,6 +1,5 @@ using Newtonsoft.Json; using SM64Lib.Geolayout.Script; -using System; namespace SM64Lib.Json; diff --git a/SM64Lib/Json/LevelscriptCommandJsonConverter.cs b/SM64Lib/Json/LevelscriptCommandJsonConverter.cs index 4ae62b0..907d5f5 100644 --- a/SM64Lib/Json/LevelscriptCommandJsonConverter.cs +++ b/SM64Lib/Json/LevelscriptCommandJsonConverter.cs @@ -1,6 +1,5 @@ using Newtonsoft.Json; using SM64Lib.Levels.Script; -using System; namespace SM64Lib.Json; diff --git a/SM64Lib/Json/MemoryStreamJsonConverter.cs b/SM64Lib/Json/MemoryStreamJsonConverter.cs index 841cf0c..11ea454 100644 --- a/SM64Lib/Json/MemoryStreamJsonConverter.cs +++ b/SM64Lib/Json/MemoryStreamJsonConverter.cs @@ -1,6 +1,4 @@ using Newtonsoft.Json; -using System; -using System.IO; namespace SM64Lib.Json; diff --git a/SM64Lib/Level/Level.cs b/SM64Lib/Level/Level.cs index 88df309..18951ca 100644 --- a/SM64Lib/Level/Level.cs +++ b/SM64Lib/Level/Level.cs @@ -5,10 +5,7 @@ using global::SM64Lib.SegmentedBanking; using Microsoft.VisualBasic; using Newtonsoft.Json; using SM64Lib.Objects.ModelBanks; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/LevelArea.cs b/SM64Lib/Level/LevelArea.cs index e1812d0..e348c29 100644 --- a/SM64Lib/Level/LevelArea.cs +++ b/SM64Lib/Level/LevelArea.cs @@ -3,8 +3,6 @@ using global::SM64Lib.Levels.Script.Commands; using global::SM64Lib.Levels.ScrolTex; using global::SM64Lib.Model; using Newtonsoft.Json; -using System; -using System.Collections.Generic; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/LevelBG.cs b/SM64Lib/Level/LevelBG.cs index 25f05f1..700d25e 100644 --- a/SM64Lib/Level/LevelBG.cs +++ b/SM64Lib/Level/LevelBG.cs @@ -1,9 +1,7 @@ using global::SM64Lib.Model.Fast3D; using global::System.Drawing; -using global::System.IO; using Newtonsoft.Json; using SM64Lib.Data.System; -using System; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/LevelExport.cs b/SM64Lib/Level/LevelExport.cs index 4c3cf32..e3f0d75 100644 --- a/SM64Lib/Level/LevelExport.cs +++ b/SM64Lib/Level/LevelExport.cs @@ -1,7 +1,5 @@ using Newtonsoft.Json; using SM64Lib.Levels.Script; -using System.Collections.Generic; -using System.IO; using System.IO.Compression; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/LevelExportImporter.cs b/SM64Lib/Level/LevelExportImporter.cs index 2f1da83..b273e0d 100644 --- a/SM64Lib/Level/LevelExportImporter.cs +++ b/SM64Lib/Level/LevelExportImporter.cs @@ -1,7 +1,4 @@ using SM64Lib.Levels.Script; -using System; -using System.Collections.Generic; -using System.Linq; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/LevelInfoDataTabel.cs b/SM64Lib/Level/LevelInfoDataTabel.cs index 39a489e..975d97f 100644 --- a/SM64Lib/Level/LevelInfoDataTabel.cs +++ b/SM64Lib/Level/LevelInfoDataTabel.cs @@ -1,7 +1,4 @@ using global::Newtonsoft.Json.Linq; -using global::System.IO; -using System.Collections.Generic; -using System.Linq; using static SM64Lib.TextValueConverter.TextValueConverter; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/LevelList.cs b/SM64Lib/Level/LevelList.cs index 895bc0a..723619a 100644 --- a/SM64Lib/Level/LevelList.cs +++ b/SM64Lib/Level/LevelList.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Data; -using System.Linq; +using System.Data; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/LevelManager.cs b/SM64Lib/Level/LevelManager.cs index e6cc97a..e7f2734 100644 --- a/SM64Lib/Level/LevelManager.cs +++ b/SM64Lib/Level/LevelManager.cs @@ -7,11 +7,7 @@ using global::SM64Lib.Levels.Script.Commands; using global::SM64Lib.Levels.ScrolTex; using global::SM64Lib.Model; using global::SM64Lib.SegmentedBanking; -using global::System.IO; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/LevelNumberTable.cs b/SM64Lib/Level/LevelNumberTable.cs index 1b1da38..c9b095a 100644 --- a/SM64Lib/Level/LevelNumberTable.cs +++ b/SM64Lib/Level/LevelNumberTable.cs @@ -1,8 +1,4 @@ -using global::System.IO; -using System; -using System.Collections.Generic; - -namespace SM64Lib.Levels; +namespace SM64Lib.Levels; public class LevelNumberTable : List { diff --git a/SM64Lib/Level/OriginalLevelManager.cs b/SM64Lib/Level/OriginalLevelManager.cs index ba8ecbe..8a7b4bb 100644 --- a/SM64Lib/Level/OriginalLevelManager.cs +++ b/SM64Lib/Level/OriginalLevelManager.cs @@ -1,5 +1,4 @@ using global::SM64Lib.Data; -using System; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/SM64EditorLevelManager.cs b/SM64Lib/Level/SM64EditorLevelManager.cs index 8e08530..15b445f 100644 --- a/SM64Lib/Level/SM64EditorLevelManager.cs +++ b/SM64Lib/Level/SM64EditorLevelManager.cs @@ -3,12 +3,8 @@ using global::SM64Lib.Geolayout.Script; using global::SM64Lib.Geolayout.Script.Commands; using global::SM64Lib.Levels.Script; using global::SM64Lib.Levels.Script.Commands; -using global::System.IO; using SM64Lib.Configuration; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/Script/Levelscript.cs b/SM64Lib/Level/Script/Levelscript.cs index 70015d6..ed9605c 100644 --- a/SM64Lib/Level/Script/Levelscript.cs +++ b/SM64Lib/Level/Script/Levelscript.cs @@ -1,10 +1,6 @@ using global::SM64Lib.Data; using global::SM64Lib.Levels.Script.Commands; using global::SM64Lib.SegmentedBanking; -using global::System.IO; -using System; -using System.Collections.Generic; -using System.Linq; namespace SM64Lib.Levels.Script; diff --git a/SM64Lib/Level/Script/LevelscriptCommandFunctions.cs b/SM64Lib/Level/Script/LevelscriptCommandFunctions.cs index 25d2844..d306dfa 100644 --- a/SM64Lib/Level/Script/LevelscriptCommandFunctions.cs +++ b/SM64Lib/Level/Script/LevelscriptCommandFunctions.cs @@ -1,7 +1,6 @@ using global::System.Numerics; using Microsoft.VisualBasic; using SM64Lib.Data.System; -using System; namespace SM64Lib.Levels.Script { diff --git a/SM64Lib/Level/Script/LevelscriptCommandTypes.cs b/SM64Lib/Level/Script/LevelscriptCommandTypes.cs index 98d6930..0a28457 100644 --- a/SM64Lib/Level/Script/LevelscriptCommandTypes.cs +++ b/SM64Lib/Level/Script/LevelscriptCommandTypes.cs @@ -1,6 +1,4 @@ -using System; - -namespace SM64Lib.Levels.Script; +namespace SM64Lib.Levels.Script; [Serializable] public enum LevelscriptCommandTypes diff --git a/SM64Lib/Level/Script/Managed Commands/ManagedScrollingTextures.cs b/SM64Lib/Level/Script/Managed Commands/ManagedScrollingTextures.cs index 2fab57c..0e55e3e 100644 --- a/SM64Lib/Level/Script/Managed Commands/ManagedScrollingTextures.cs +++ b/SM64Lib/Level/Script/Managed Commands/ManagedScrollingTextures.cs @@ -4,7 +4,6 @@ using global::System.ComponentModel; using Newtonsoft.Json; using SM64Lib.Configuration; using SM64Lib.Data.System; -using System; namespace SM64Lib.Levels.ScrolTex; diff --git a/SM64Lib/Level/SpecialBoxList.cs b/SM64Lib/Level/SpecialBoxList.cs index dfe7844..d8edc4d 100644 --- a/SM64Lib/Level/SpecialBoxList.cs +++ b/SM64Lib/Level/SpecialBoxList.cs @@ -1,8 +1,4 @@ -using global::System.IO; -using SM64Lib.Data.System; -using System; -using System.Collections.Generic; -using System.Linq; +using SM64Lib.Data.System; namespace SM64Lib.Levels; diff --git a/SM64Lib/Level/WarpTools.cs b/SM64Lib/Level/WarpTools.cs index e464005..cc28ed9 100644 --- a/SM64Lib/Level/WarpTools.cs +++ b/SM64Lib/Level/WarpTools.cs @@ -1,9 +1,6 @@ using global::SM64Lib.Levels.Script; using global::SM64Lib.Levels.Script.Commands; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; namespace SM64Lib.Levels; diff --git a/SM64Lib/Model/Collision/ColMesh.cs b/SM64Lib/Model/Collision/ColMesh.cs index 3dde7f3..568de5f 100644 --- a/SM64Lib/Model/Collision/ColMesh.cs +++ b/SM64Lib/Model/Collision/ColMesh.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Model.Collision; +namespace SM64Lib.Model.Collision; public class ColMesh { diff --git a/SM64Lib/Model/Collision/CollisionMap.cs b/SM64Lib/Model/Collision/CollisionMap.cs index 633921e..bf4b95e 100644 --- a/SM64Lib/Model/Collision/CollisionMap.cs +++ b/SM64Lib/Model/Collision/CollisionMap.cs @@ -1,14 +1,9 @@ using global::Pilz.S3DFileParser; using global::SM64Lib.Data; using global::SM64Lib.Extensions; -using global::System.IO; using global::System.Numerics; using SM64Lib.Configuration; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; -using System.Threading.Tasks; namespace SM64Lib.Model.Collision; diff --git a/SM64Lib/Model/Collision/CollisionSettings.cs b/SM64Lib/Model/Collision/CollisionSettings.cs index b3256de..03d9533 100644 --- a/SM64Lib/Model/Collision/CollisionSettings.cs +++ b/SM64Lib/Model/Collision/CollisionSettings.cs @@ -1,10 +1,4 @@ -using global::System.IO; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace SM64Lib.Model.Collision; +namespace SM64Lib.Model.Collision; public class CollisionSettings { diff --git a/SM64Lib/Model/Collision/TriangelList.cs b/SM64Lib/Model/Collision/TriangelList.cs index dfac7c5..cddac75 100644 --- a/SM64Lib/Model/Collision/TriangelList.cs +++ b/SM64Lib/Model/Collision/TriangelList.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Model.Collision; +namespace SM64Lib.Model.Collision; public class TriangleList : List { diff --git a/SM64Lib/Model/Collision/VertexList.cs b/SM64Lib/Model/Collision/VertexList.cs index 3e6853b..6fd6e46 100644 --- a/SM64Lib/Model/Collision/VertexList.cs +++ b/SM64Lib/Model/Collision/VertexList.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Model.Collision; +namespace SM64Lib.Model.Collision; public class VertexList : List { diff --git a/SM64Lib/Model/Conversion/Fast3DParsing/Fast3DParser.cs b/SM64Lib/Model/Conversion/Fast3DParsing/Fast3DParser.cs index f52fdc4..bad7e89 100644 --- a/SM64Lib/Model/Conversion/Fast3DParsing/Fast3DParser.cs +++ b/SM64Lib/Model/Conversion/Fast3DParsing/Fast3DParser.cs @@ -5,11 +5,6 @@ using global::SM64Lib.Model.Fast3D.DisplayLists.Script; using global::SM64Lib.Model.Fast3D.DisplayLists.Script.Commands; using global::SM64Lib.SegmentedBanking; using global::System.Drawing; -using global::System.IO; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Converts = System.Convert; namespace SM64Lib.Model.Conversion.Fast3DParsing; diff --git a/SM64Lib/Model/Conversion/Fast3DWriting/Fast3DWriter.cs b/SM64Lib/Model/Conversion/Fast3DWriting/Fast3DWriter.cs index af6c634..3a30c24 100644 --- a/SM64Lib/Model/Conversion/Fast3DWriting/Fast3DWriter.cs +++ b/SM64Lib/Model/Conversion/Fast3DWriting/Fast3DWriter.cs @@ -1,14 +1,9 @@ using global::SM64Lib.N64Graphics; using global::System.Drawing; -using global::System.IO; using global::System.Numerics; using Microsoft.VisualBasic.CompilerServices; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; using System.Runtime.CompilerServices; -using System.Threading.Tasks; using Z.Collections.Extensions; using static Microsoft.VisualBasic.Conversion; diff --git a/SM64Lib/Model/Fast3D/DisplayLists/DisplayList.cs b/SM64Lib/Model/Fast3D/DisplayLists/DisplayList.cs index 0412df1..eea90c2 100644 --- a/SM64Lib/Model/Fast3D/DisplayLists/DisplayList.cs +++ b/SM64Lib/Model/Fast3D/DisplayLists/DisplayList.cs @@ -1,8 +1,6 @@ using global::Pilz.S3DFileParser; using global::SM64Lib.Geolayout; using global::SM64Lib.Model.Fast3D.DisplayLists.Script; -using System; -using System.Threading.Tasks; namespace SM64Lib.Model.Fast3D.DisplayLists; diff --git a/SM64Lib/Model/Fast3D/DisplayLists/DisplayListCollection.cs b/SM64Lib/Model/Fast3D/DisplayLists/DisplayListCollection.cs index fcac548..086afdc 100644 --- a/SM64Lib/Model/Fast3D/DisplayLists/DisplayListCollection.cs +++ b/SM64Lib/Model/Fast3D/DisplayLists/DisplayListCollection.cs @@ -1,5 +1,4 @@ using global::Pilz.S3DFileParser; -using System.Collections.Generic; namespace SM64Lib.Model.Fast3D.DisplayLists; diff --git a/SM64Lib/Model/Fast3D/DisplayLists/Script/Commands.cs b/SM64Lib/Model/Fast3D/DisplayLists/Script/Commands.cs index dd82ba0..7489da6 100644 --- a/SM64Lib/Model/Fast3D/DisplayLists/Script/Commands.cs +++ b/SM64Lib/Model/Fast3D/DisplayLists/Script/Commands.cs @@ -1,6 +1,5 @@ using global::System.Drawing; using global::System.Numerics; -using System; namespace SM64Lib.Model.Fast3D.DisplayLists.Script.Commands; diff --git a/SM64Lib/Model/Fast3D/DisplayLists/Script/DisplayListCommand.cs b/SM64Lib/Model/Fast3D/DisplayLists/Script/DisplayListCommand.cs index 6d8c640..91762d5 100644 --- a/SM64Lib/Model/Fast3D/DisplayLists/Script/DisplayListCommand.cs +++ b/SM64Lib/Model/Fast3D/DisplayLists/Script/DisplayListCommand.cs @@ -1,7 +1,4 @@ using global::SM64Lib.Script; -using global::System.IO; -using System; -using System.Linq; namespace SM64Lib.Model.Fast3D.DisplayLists.Script; diff --git a/SM64Lib/Model/Fast3D/DisplayLists/Script/DisplayListScript.cs b/SM64Lib/Model/Fast3D/DisplayLists/Script/DisplayListScript.cs index 053100b..b6793bd 100644 --- a/SM64Lib/Model/Fast3D/DisplayLists/Script/DisplayListScript.cs +++ b/SM64Lib/Model/Fast3D/DisplayLists/Script/DisplayListScript.cs @@ -1,8 +1,5 @@ using global::SM64Lib.SegmentedBanking; -using global::System.IO; using SM64Lib.Data; -using System; -using System.Collections.Generic; namespace SM64Lib.Model.Fast3D.DisplayLists.Script; diff --git a/SM64Lib/Model/Fast3D/Fast3DBuffer.cs b/SM64Lib/Model/Fast3D/Fast3DBuffer.cs index 413e8b7..5f8fbda 100644 --- a/SM64Lib/Model/Fast3D/Fast3DBuffer.cs +++ b/SM64Lib/Model/Fast3D/Fast3DBuffer.cs @@ -1,8 +1,6 @@ using global::Pilz.S3DFileParser; using global::SM64Lib.Data; using global::SM64Lib.Geolayout; -using global::System.IO; -using System.Threading.Tasks; namespace SM64Lib.Model.Fast3D; diff --git a/SM64Lib/Model/Fast3D/TextureFormatSettings.cs b/SM64Lib/Model/Fast3D/TextureFormatSettings.cs index bda9d68..e9d3157 100644 --- a/SM64Lib/Model/Fast3D/TextureFormatSettings.cs +++ b/SM64Lib/Model/Fast3D/TextureFormatSettings.cs @@ -1,13 +1,9 @@ using global::Newtonsoft.Json.Linq; using global::SM64Lib.Model.Conversion.Fast3DWriting; using global::System.Drawing; -using global::System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using SM64Lib.Model.Conversion; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; namespace SM64Lib.Model.Fast3D; diff --git a/SM64Lib/Model/Fast3D/TextureManager.cs b/SM64Lib/Model/Fast3D/TextureManager.cs index b7ad351..1ba8cf4 100644 --- a/SM64Lib/Model/Fast3D/TextureManager.cs +++ b/SM64Lib/Model/Fast3D/TextureManager.cs @@ -1,9 +1,6 @@ using global::System.Drawing; using global::System.Drawing.Drawing2D; -using System; -using System.Collections.Generic; using System.Diagnostics; -using System.IO; namespace SM64Lib.Model.Fast3D; diff --git a/SM64Lib/Model/ObjectModel.cs b/SM64Lib/Model/ObjectModel.cs index c47d46d..1f3096d 100644 --- a/SM64Lib/Model/ObjectModel.cs +++ b/SM64Lib/Model/ObjectModel.cs @@ -1,10 +1,6 @@ using global::SM64Lib.Data; using global::SM64Lib.Geolayout; -using global::System.IO; using SM64Lib.Configuration; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; namespace SM64Lib.Model; diff --git a/SM64Lib/Music/InstrumentSetList.cs b/SM64Lib/Music/InstrumentSetList.cs index af543cd..872ea7f 100644 --- a/SM64Lib/Music/InstrumentSetList.cs +++ b/SM64Lib/Music/InstrumentSetList.cs @@ -1,6 +1,4 @@ using global::SM64Lib.Data; -using System; -using System.Collections.Generic; namespace SM64Lib.Music; diff --git a/SM64Lib/Music/MusicList.cs b/SM64Lib/Music/MusicList.cs index 35b8d11..9ad8bf2 100644 --- a/SM64Lib/Music/MusicList.cs +++ b/SM64Lib/Music/MusicList.cs @@ -1,9 +1,5 @@ using global::SM64Lib.Data; -using global::System.IO; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; namespace SM64Lib.Music; diff --git a/SM64Lib/Music/MusicSequence.cs b/SM64Lib/Music/MusicSequence.cs index e2d3e50..ab9abff 100644 --- a/SM64Lib/Music/MusicSequence.cs +++ b/SM64Lib/Music/MusicSequence.cs @@ -1,5 +1,4 @@ using global::SM64Lib.Data; -using System; namespace SM64Lib.Music; diff --git a/SM64Lib/NPCs/CoinsManager.cs b/SM64Lib/NPCs/CoinsManager.cs index 9e7d9f0..8a383b7 100644 --- a/SM64Lib/NPCs/CoinsManager.cs +++ b/SM64Lib/NPCs/CoinsManager.cs @@ -1,6 +1,4 @@ using global::SM64Lib.Data; -using global::System.IO; -using System; namespace SM64Lib.NPCs; diff --git a/SM64Lib/Objects/ItemBoxContents/ItemBoxContentManager.cs b/SM64Lib/Objects/ItemBoxContents/ItemBoxContentManager.cs index 46b31f4..d8a43a1 100644 --- a/SM64Lib/Objects/ItemBoxContents/ItemBoxContentManager.cs +++ b/SM64Lib/Objects/ItemBoxContents/ItemBoxContentManager.cs @@ -1,7 +1,5 @@ using global::Newtonsoft.Json.Linq; using global::SM64Lib.Data; -using global::System.IO; -using System; namespace SM64Lib.Objects; diff --git a/SM64Lib/Objects/ItemBoxContents/ItemBoxContentTable.cs b/SM64Lib/Objects/ItemBoxContents/ItemBoxContentTable.cs index 5025950..90635bf 100644 --- a/SM64Lib/Objects/ItemBoxContents/ItemBoxContentTable.cs +++ b/SM64Lib/Objects/ItemBoxContents/ItemBoxContentTable.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Objects; +namespace SM64Lib.Objects; public class ItemBoxContentTable : List { diff --git a/SM64Lib/Objects/ModelBanks/CustomModelBank.cs b/SM64Lib/Objects/ModelBanks/CustomModelBank.cs index b5b6ab7..535d04b 100644 --- a/SM64Lib/Objects/ModelBanks/CustomModelBank.cs +++ b/SM64Lib/Objects/ModelBanks/CustomModelBank.cs @@ -3,11 +3,8 @@ using global::SM64Lib.Data; using global::SM64Lib.Levels.Script; using global::SM64Lib.Levels.Script.Commands; using global::SM64Lib.SegmentedBanking; -using global::System.IO; using Microsoft.VisualBasic; using Newtonsoft.Json; -using System; -using System.Collections.Generic; namespace SM64Lib.Objects.ModelBanks; diff --git a/SM64Lib/Objects/ObjectBanks/CustomObjectCollection.cs b/SM64Lib/Objects/ObjectBanks/CustomObjectCollection.cs index 4b60938..cf035c4 100644 --- a/SM64Lib/Objects/ObjectBanks/CustomObjectCollection.cs +++ b/SM64Lib/Objects/ObjectBanks/CustomObjectCollection.cs @@ -1,10 +1,6 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; using SM64Lib.ASM; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Z.Collections.Extensions; namespace SM64Lib.Objects.ObjectBanks; diff --git a/SM64Lib/Objects/ObjectBanks/CustomObjectExport.cs b/SM64Lib/Objects/ObjectBanks/CustomObjectExport.cs index ac46212..6abedc2 100644 --- a/SM64Lib/Objects/ObjectBanks/CustomObjectExport.cs +++ b/SM64Lib/Objects/ObjectBanks/CustomObjectExport.cs @@ -6,9 +6,6 @@ using SM64Lib.Behaviors; using SM64Lib.Configuration; using SM64Lib.Json; using SM64Lib.Objects.ModelBanks; -using System; -using System.Collections.Generic; -using System.IO; using System.IO.Compression; namespace SM64Lib.Objects.ObjectBanks; diff --git a/SM64Lib/Objects/ObjectBanks/CustomObjectExportData.cs b/SM64Lib/Objects/ObjectBanks/CustomObjectExportData.cs index a41a1c8..628b5a6 100644 --- a/SM64Lib/Objects/ObjectBanks/CustomObjectExportData.cs +++ b/SM64Lib/Objects/ObjectBanks/CustomObjectExportData.cs @@ -6,7 +6,6 @@ using SM64Lib.Configuration; using SM64Lib.Json; using SM64Lib.Objects.ModelBanks; using SM64Lib.Patching; -using System.Collections.Generic; namespace SM64Lib.Objects.ObjectBanks; diff --git a/SM64Lib/Objects/ObjectBanks/CustomObjectImport.cs b/SM64Lib/Objects/ObjectBanks/CustomObjectImport.cs index 2535222..b621da3 100644 --- a/SM64Lib/Objects/ObjectBanks/CustomObjectImport.cs +++ b/SM64Lib/Objects/ObjectBanks/CustomObjectImport.cs @@ -3,7 +3,6 @@ using SM64Lib.ASM; using SM64Lib.Behaviors; using SM64Lib.Configuration; using SM64Lib.Objects.ModelBanks; -using System.Collections.Generic; namespace SM64Lib.Objects.ObjectBanks; diff --git a/SM64Lib/Objects/ObjectBanks/CustomObjectReferences.cs b/SM64Lib/Objects/ObjectBanks/CustomObjectReferences.cs index 5e2464b..a529b70 100644 --- a/SM64Lib/Objects/ObjectBanks/CustomObjectReferences.cs +++ b/SM64Lib/Objects/ObjectBanks/CustomObjectReferences.cs @@ -1,8 +1,6 @@ using SM64Lib.ASM; using SM64Lib.Behaviors; using SM64Lib.Configuration; -using System.Collections.Generic; -using System.Linq; using Z.Collections.Extensions; namespace SM64Lib.Objects.ObjectBanks; diff --git a/SM64Lib/Objects/ObjectBanks/Data/ObjectBankData.cs b/SM64Lib/Objects/ObjectBanks/Data/ObjectBankData.cs index 3861ea5..3c07933 100644 --- a/SM64Lib/Objects/ObjectBanks/Data/ObjectBankData.cs +++ b/SM64Lib/Objects/ObjectBanks/Data/ObjectBankData.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Objects.ObjectBanks.Data; +namespace SM64Lib.Objects.ObjectBanks.Data; public class ObjectBankData { diff --git a/SM64Lib/Objects/ObjectBanks/Data/ObjectBankDataList.cs b/SM64Lib/Objects/ObjectBanks/Data/ObjectBankDataList.cs index 4941c6b..af89f60 100644 --- a/SM64Lib/Objects/ObjectBanks/Data/ObjectBankDataList.cs +++ b/SM64Lib/Objects/ObjectBanks/Data/ObjectBankDataList.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Objects.ObjectBanks.Data; +namespace SM64Lib.Objects.ObjectBanks.Data; public class ObjectBankDataList : List { diff --git a/SM64Lib/Objects/ObjectBanks/Data/ObjectBankDataListCollection.cs b/SM64Lib/Objects/ObjectBanks/Data/ObjectBankDataListCollection.cs index e90e50e..d2620f2 100644 --- a/SM64Lib/Objects/ObjectBanks/Data/ObjectBankDataListCollection.cs +++ b/SM64Lib/Objects/ObjectBanks/Data/ObjectBankDataListCollection.cs @@ -1,7 +1,4 @@ using global::Newtonsoft.Json.Linq; -using global::System.IO; -using System.Collections.Generic; -using System.Linq; namespace SM64Lib.Objects.ObjectBanks.Data; diff --git a/SM64Lib/Objects/StarManager.cs b/SM64Lib/Objects/StarManager.cs index 042254e..55f0002 100644 --- a/SM64Lib/Objects/StarManager.cs +++ b/SM64Lib/Objects/StarManager.cs @@ -1,8 +1,5 @@ using global::SM64Lib.Data; -using global::System.IO; using global::System.Numerics; -using System; -using System.Linq; namespace SM64Lib.Objects; diff --git a/SM64Lib/Patching/PatchClass.cs b/SM64Lib/Patching/PatchClass.cs index 86cabb0..fbcfd2b 100644 --- a/SM64Lib/Patching/PatchClass.cs +++ b/SM64Lib/Patching/PatchClass.cs @@ -1,7 +1,5 @@ using global::SM64Lib.Data; -using global::System.IO; using global::System.Windows.Forms; -using System; using System.Diagnostics; namespace SM64Lib.Patching; diff --git a/SM64Lib/Patching/PatchFileInformations.cs b/SM64Lib/Patching/PatchFileInformations.cs index b8cea48..1c4183f 100644 --- a/SM64Lib/Patching/PatchFileInformations.cs +++ b/SM64Lib/Patching/PatchFileInformations.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json.Linq; -using System; namespace SM64Lib.Patching; diff --git a/SM64Lib/Patching/PatchScript.cs b/SM64Lib/Patching/PatchScript.cs index 630c0a7..a3fbaaf 100644 --- a/SM64Lib/Patching/PatchScript.cs +++ b/SM64Lib/Patching/PatchScript.cs @@ -3,11 +3,8 @@ using Newtonsoft.Json.Converters; using Pilz.Cryptography; using Pilz.IO; using Pilz.Json.Converters; -using System; -using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; -using System.IO; using VersionConverter = Newtonsoft.Json.Converters.VersionConverter; namespace SM64Lib.Patching; diff --git a/SM64Lib/Patching/PatchScriptExecuteParams.cs b/SM64Lib/Patching/PatchScriptExecuteParams.cs index 991e4e9..6b6cba9 100644 --- a/SM64Lib/Patching/PatchScriptExecuteParams.cs +++ b/SM64Lib/Patching/PatchScriptExecuteParams.cs @@ -1,5 +1,4 @@ using Pilz.IO; -using System.Collections.Generic; using System.Windows.Forms; namespace SM64Lib.Patching; diff --git a/SM64Lib/Patching/PatchScriptManager.cs b/SM64Lib/Patching/PatchScriptManager.cs index 7621bd6..5a8288a 100644 --- a/SM64Lib/Patching/PatchScriptManager.cs +++ b/SM64Lib/Patching/PatchScriptManager.cs @@ -6,12 +6,8 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Pilz.Cryptography; using Pilz.IO; -using System; -using System.Collections.Generic; using System.Data; using System.Diagnostics; -using System.IO; -using System.Linq; using System.Reflection; using System.Runtime.Loader; using System.Windows.Forms; diff --git a/SM64Lib/Patching/PatchScriptReferences.cs b/SM64Lib/Patching/PatchScriptReferences.cs index ba3ca58..bd2d274 100644 --- a/SM64Lib/Patching/PatchScriptReferences.cs +++ b/SM64Lib/Patching/PatchScriptReferences.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Patching; +namespace SM64Lib.Patching; public class PatchScriptReferences : List { diff --git a/SM64Lib/Properties/AssemblyInfo.cs b/SM64Lib/Properties/AssemblyInfo.cs index 96acf41..fd33bce 100644 --- a/SM64Lib/Properties/AssemblyInfo.cs +++ b/SM64Lib/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ -using global::System; -using global::System.Runtime.InteropServices; +using global::System.Runtime.InteropServices; [assembly: ComVisible(false)] // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird. diff --git a/SM64Lib/RomManager.cs b/SM64Lib/RomManager.cs index 9fcc271..372f42e 100644 --- a/SM64Lib/RomManager.cs +++ b/SM64Lib/RomManager.cs @@ -8,18 +8,14 @@ using global::SM64Lib.Music; using global::SM64Lib.Objects.ModelBanks; using global::SM64Lib.SegmentedBanking; using global::System.ComponentModel; -using global::System.IO; using global::System.Text; using SM64Lib.ASM; using SM64Lib.Behaviors; using SM64Lib.Exceptions; using SM64Lib.Objects.ObjectBanks; using SM64Lib.Patching; -using System; -using System.Collections.Generic; using System.Data; using System.Diagnostics; -using System.Linq; namespace SM64Lib; @@ -726,23 +722,23 @@ public class RomManager try { #endif - switch (segID) - { - case 0x19: - if (IsSM64EditorMode) - lvl = new SM64ELevel(ldi.ID, ldi.Index, this); - else - lvl = new RMLevel(RomConfig.GetLevelConfig(ldi.ID), this); - LevelManager.LoadLevel(lvl, this, ldi.ID, offset); - lvl.LastRomOffset = curLvlSeg.RomStart; // Original Level - break; - default: - lvl = null; - // Dim mgr As New OriginalLevelManager - // lvl = New OriginalLevel - // mgr.LoadLevel(lvl, Me, ldi.ID, offset) - break; - } + switch (segID) + { + case 0x19: + if (IsSM64EditorMode) + lvl = new SM64ELevel(ldi.ID, ldi.Index, this); + else + lvl = new RMLevel(RomConfig.GetLevelConfig(ldi.ID), this); + LevelManager.LoadLevel(lvl, this, ldi.ID, offset); + lvl.LastRomOffset = curLvlSeg.RomStart; // Original Level + break; + default: + lvl = null; + // Dim mgr As New OriginalLevelManager + // lvl = New OriginalLevel + // mgr.LoadLevel(lvl, Me, ldi.ID, offset) + break; + } #if !DEBUG } catch (Exception) diff --git a/SM64Lib/RomManagerInstances.cs b/SM64Lib/RomManagerInstances.cs index 6982946..aee4af2 100644 --- a/SM64Lib/RomManagerInstances.cs +++ b/SM64Lib/RomManagerInstances.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib; +namespace SM64Lib; public static class RomManagerInstances { diff --git a/SM64Lib/RomVersion.cs b/SM64Lib/RomVersion.cs index 7867378..482ff0d 100644 --- a/SM64Lib/RomVersion.cs +++ b/SM64Lib/RomVersion.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System; namespace SM64Lib; diff --git a/SM64Lib/SM64Lib.csproj b/SM64Lib/SM64Lib.csproj index 3632e87..b6d1899 100644 --- a/SM64Lib/SM64Lib.csproj +++ b/SM64Lib/SM64Lib.csproj @@ -2,11 +2,8 @@ Windows net8.0-windows - $(DefaultItemExcludes);$(ProjectDir)**\*.vb latest - SM64Lib - Pilzinsel64 - SM64Lib + enable true 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,CS1591,CS0660,CS0661,CA1009 AnyCPU @@ -42,13 +39,13 @@ TRACE;RelMono - - + + - + - + diff --git a/SM64Lib/Script/BaseCommand.cs b/SM64Lib/Script/BaseCommand.cs index 0ba937b..14f0d8a 100644 --- a/SM64Lib/Script/BaseCommand.cs +++ b/SM64Lib/Script/BaseCommand.cs @@ -1,9 +1,4 @@ -using global::System.IO; -using System; -using System.Collections.Generic; -using System.Linq; - -namespace SM64Lib.Script; +namespace SM64Lib.Script; [Serializable] public abstract class BaseCommand : Data.BinaryStreamData, ICommand diff --git a/SM64Lib/Script/BaseCommandCollection.cs b/SM64Lib/Script/BaseCommandCollection.cs index ff7936b..da61c64 100644 --- a/SM64Lib/Script/BaseCommandCollection.cs +++ b/SM64Lib/Script/BaseCommandCollection.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace SM64Lib.Script; +namespace SM64Lib.Script; public class BaseCommandCollection : List where TCmd : BaseCommand { diff --git a/SM64Lib/SegmentedBanking/SegmentedBank.cs b/SM64Lib/SegmentedBanking/SegmentedBank.cs index 964013e..bfd2406 100644 --- a/SM64Lib/SegmentedBanking/SegmentedBank.cs +++ b/SM64Lib/SegmentedBanking/SegmentedBank.cs @@ -1,6 +1,4 @@ using global::SM64Lib.Data; -using global::System.IO; -using System; namespace SM64Lib.SegmentedBanking; diff --git a/SM64Lib/Text/M64TextEncoding.cs b/SM64Lib/Text/M64TextEncoding.cs index 8f32f44..9bf8bff 100644 --- a/SM64Lib/Text/M64TextEncoding.cs +++ b/SM64Lib/Text/M64TextEncoding.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace SM64Lib.Text; +namespace SM64Lib.Text; public class M64TextEncoding : System.Text.Encoding { diff --git a/SM64Lib/Text/Profiles/TextArrayGroupInfo.cs b/SM64Lib/Text/Profiles/TextArrayGroupInfo.cs index 305b4df..d84dd86 100644 --- a/SM64Lib/Text/Profiles/TextArrayGroupInfo.cs +++ b/SM64Lib/Text/Profiles/TextArrayGroupInfo.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SM64Lib.Text.Profiles; +namespace SM64Lib.Text.Profiles; public class TextArrayGroupInfo : TextGroupInfo { diff --git a/SM64Lib/Text/Profiles/TextGroupInfo.cs b/SM64Lib/Text/Profiles/TextGroupInfo.cs index 4f0fb8e..2b998b6 100644 --- a/SM64Lib/Text/Profiles/TextGroupInfo.cs +++ b/SM64Lib/Text/Profiles/TextGroupInfo.cs @@ -1,5 +1,4 @@ using global::Newtonsoft.Json; -using System.Linq; namespace SM64Lib.Text.Profiles; diff --git a/SM64Lib/Text/Profiles/TextProfileInfo.cs b/SM64Lib/Text/Profiles/TextProfileInfo.cs index 469b42b..61db384 100644 --- a/SM64Lib/Text/Profiles/TextProfileInfo.cs +++ b/SM64Lib/Text/Profiles/TextProfileInfo.cs @@ -1,8 +1,5 @@ using global::Newtonsoft.Json; using Newtonsoft.Json.Linq; -using System.Collections.Generic; -using System.IO; -using System.Linq; namespace SM64Lib.Text.Profiles; diff --git a/SM64Lib/Text/Profiles/TextTableGroupInfo.cs b/SM64Lib/Text/Profiles/TextTableGroupInfo.cs index c7031d6..dec22fd 100644 --- a/SM64Lib/Text/Profiles/TextTableGroupInfo.cs +++ b/SM64Lib/Text/Profiles/TextTableGroupInfo.cs @@ -2,9 +2,6 @@ using global::System.ComponentModel.Design; using global::System.Drawing.Design; using Newtonsoft.Json; -using System.Collections.Generic; -using System.IO; -using System.Linq; namespace SM64Lib.Text.Profiles; diff --git a/SM64Lib/Text/TextArrayGroup.cs b/SM64Lib/Text/TextArrayGroup.cs index 1845058..5aa5b56 100644 --- a/SM64Lib/Text/TextArrayGroup.cs +++ b/SM64Lib/Text/TextArrayGroup.cs @@ -1,7 +1,5 @@ using global::SM64Lib.Data; using global::SM64Lib.Text.Profiles; -using System; -using System.Collections.Generic; namespace SM64Lib.Text; diff --git a/SM64Lib/Text/TextGroup.cs b/SM64Lib/Text/TextGroup.cs index 9491d8e..af21628 100644 --- a/SM64Lib/Text/TextGroup.cs +++ b/SM64Lib/Text/TextGroup.cs @@ -1,6 +1,5 @@ using global::SM64Lib.Data; using global::SM64Lib.Text.Profiles; -using System.Collections.Generic; namespace SM64Lib.Text; diff --git a/SM64Lib/Text/TextTableGroup.cs b/SM64Lib/Text/TextTableGroup.cs index ab1e8f4..5f31462 100644 --- a/SM64Lib/Text/TextTableGroup.cs +++ b/SM64Lib/Text/TextTableGroup.cs @@ -1,8 +1,5 @@ using global::SM64Lib.Data; using global::SM64Lib.Text.Profiles; -using System; -using System.Collections.Generic; -using System.Linq; namespace SM64Lib.Text; diff --git a/SM64Lib/Trajectories/Trajectories.cs b/SM64Lib/Trajectories/Trajectories.cs index aa03603..4c9d881 100644 --- a/SM64Lib/Trajectories/Trajectories.cs +++ b/SM64Lib/Trajectories/Trajectories.cs @@ -1,6 +1,4 @@ using SM64Lib.Data; -using System.Collections.Generic; -using System.Linq; namespace SM64Lib.Trajectorys; diff --git a/SM64Lib/Trajectories/Trajectory.cs b/SM64Lib/Trajectories/Trajectory.cs index 8f94e4c..e6cca3d 100644 --- a/SM64Lib/Trajectories/Trajectory.cs +++ b/SM64Lib/Trajectories/Trajectory.cs @@ -1,7 +1,5 @@ using global::System.Numerics; using SM64Lib.Data; -using System; -using System.Collections.Generic; namespace SM64Lib.Trajectorys;