code optimization

This commit is contained in:
2024-08-18 09:25:16 +02:00
parent 4e4cd1215b
commit c72feb2e33
125 changed files with 67 additions and 358 deletions

View File

@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<AssemblyTitle>LIBMIO0</AssemblyTitle> <ImplicitUsings>enable</ImplicitUsings>
<Product>Quad64</Product>
<Platforms>AnyCPU</Platforms> <Platforms>AnyCPU</Platforms>
<Configurations>Debug;Release;ReleaseBundle;ReleaseStandalone</Configurations> <Configurations>Debug;Release;ReleaseBundle;ReleaseStandalone</Configurations>
</PropertyGroup> </PropertyGroup>

View File

@@ -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 N64Codec { RGBA16, RGBA32, IA16, IA8, IA4, I8, I4, CI8, CI4, ONEBPP };
public enum N64IMode { AlphaCopyIntensity, AlphaBinary, AlphaOne }; public enum N64IMode { AlphaCopyIntensity, AlphaBinary, AlphaOne };

View File

@@ -1,12 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
<AssemblyTitle>N64Graphics</AssemblyTitle>
<Company>Pilzinsel64</Company>
<Product>N64Graphics</Product>
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>
<Platforms>AnyCPU</Platforms> <Platforms>AnyCPU</Platforms>
<Configurations>Debug;Release;ReleaseBundle;ReleaseStandalone</Configurations> <Configurations>Debug;Release;ReleaseBundle;ReleaseStandalone</Configurations>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" /> <PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" />

View File

@@ -1,6 +1,4 @@
using System; using System.Drawing.Imaging;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace SM64Lib.N64Graphics; namespace SM64Lib.N64Graphics;

View File

@@ -1,7 +1,4 @@
using OfficeOpenXml; using OfficeOpenXml;
using System;
using System.IO;
using System.Threading.Tasks;
namespace SM64Lib.Text.Exporters; namespace SM64Lib.Text.Exporters;

View File

@@ -1,10 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
<AssemblyTitle>SM64Lib.Text.Exporters</AssemblyTitle>
<Product>SM64Lib.Text.Exporters</Product>
<Platforms>AnyCPU</Platforms> <Platforms>AnyCPU</Platforms>
<Configurations>Debug;Release;ReleaseBundle;ReleaseStandalone</Configurations> <Configurations>Debug;Release;ReleaseBundle;ReleaseStandalone</Configurations>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" /> <PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" />

View File

@@ -1,7 +1,4 @@
using System.IO; namespace SM64Lib.Text.Exporters;
using System.Threading.Tasks;
namespace SM64Lib.Text.Exporters;
public class TxtExporter public class TxtExporter
{ {

View File

@@ -1,5 +1,4 @@
using global::System; using global::System.Runtime.InteropServices;
using global::System.Runtime.InteropServices;
[assembly: ComVisible(false)] [assembly: ComVisible(false)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird. // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird.

View File

@@ -4,6 +4,7 @@
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<DefaultItemExcludes>$(DefaultItemExcludes);$(ProjectDir)**\*.vb</DefaultItemExcludes> <DefaultItemExcludes>$(DefaultItemExcludes);$(ProjectDir)**\*.vb</DefaultItemExcludes>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyTitle>TextValueConverter</AssemblyTitle> <AssemblyTitle>TextValueConverter</AssemblyTitle>
<Company>DRSN</Company> <Company>DRSN</Company>
<Product>TextValueConverter</Product> <Product>TextValueConverter</Product>

View File

@@ -1,6 +1,4 @@
using System; namespace SM64Lib.TextValueConverter;
namespace SM64Lib.TextValueConverter;
public static class TextValueConverter public static class TextValueConverter
{ {

View File

@@ -1,6 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
namespace SM64Lib.ASM; namespace SM64Lib.ASM;

View File

@@ -1,5 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System.Collections.Generic;
namespace SM64Lib.ASM; namespace SM64Lib.ASM;

View File

@@ -1,5 +1,4 @@
using SM64Lib.Patching; using SM64Lib.Patching;
using System;
namespace SM64Lib; namespace SM64Lib;

View File

@@ -2,9 +2,6 @@
using SM64Lib.ASM; using SM64Lib.ASM;
using SM64Lib.Behaviors.Script; using SM64Lib.Behaviors.Script;
using SM64Lib.Data; using SM64Lib.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using Z.Collections.Extensions; using Z.Collections.Extensions;
using static SM64Lib.Extensions.ObjectExtensions; using static SM64Lib.Extensions.ObjectExtensions;

View File

@@ -1,9 +1,6 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.Data; using SM64Lib.Data;
using SM64Lib.SegmentedBanking; using SM64Lib.SegmentedBanking;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Z.Collections.Extensions; using Z.Collections.Extensions;
namespace SM64Lib.Behaviors; namespace SM64Lib.Behaviors;

View File

@@ -1,5 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System.Collections.Generic;
namespace SM64Lib.Behaviors; namespace SM64Lib.Behaviors;

View File

@@ -1,7 +1,6 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using Pilz.Cryptography; using Pilz.Cryptography;
using Pilz.Json.Converters; using Pilz.Json.Converters;
using System.Collections.Generic;
namespace SM64Lib.Behaviors; namespace SM64Lib.Behaviors;

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Behaviors;
namespace SM64Lib.Behaviors;
public class BehaviorParamInfo public class BehaviorParamInfo
{ {

View File

@@ -1,7 +1,4 @@
using SM64Lib.Data; using SM64Lib.Data;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SM64Lib.Behaviors.Script; namespace SM64Lib.Behaviors.Script;

View File

@@ -1,6 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
namespace SM64Lib.Configuration; namespace SM64Lib.Configuration;

View File

@@ -2,7 +2,6 @@
using Pilz.Cryptography; using Pilz.Cryptography;
using Pilz.Json.Converters; using Pilz.Json.Converters;
using SM64Lib.Objects.ModelBanks; using SM64Lib.Objects.ModelBanks;
using System.Collections.Generic;
namespace SM64Lib.Configuration; namespace SM64Lib.Configuration;

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Configuration;
namespace SM64Lib.Configuration;
public class LevelAreaConfig public class LevelAreaConfig
{ {

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Configuration;
namespace SM64Lib.Configuration;
public class LevelConfig public class LevelConfig
{ {

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Configuration;
namespace SM64Lib.Configuration;
public class MusicConfiguration public class MusicConfiguration
{ {

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Configuration;
namespace SM64Lib.Configuration;
public class ObjectModelConfig public class ObjectModelConfig
{ {

View File

@@ -1,12 +1,9 @@
using global::Newtonsoft.Json.Linq; using global::Newtonsoft.Json.Linq;
using global::System.IO;
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.ASM; using SM64Lib.ASM;
using SM64Lib.Behaviors; using SM64Lib.Behaviors;
using SM64Lib.Objects.ObjectBanks; using SM64Lib.Objects.ObjectBanks;
using SM64Lib.Objects.ObjectBanks.Data; using SM64Lib.Objects.ObjectBanks.Data;
using System;
using System.Collections.Generic;
namespace SM64Lib.Configuration; namespace SM64Lib.Configuration;

View File

@@ -1,6 +1,4 @@
using global::System.IO; namespace SM64Lib.Data;
namespace SM64Lib.Data;
public class BinaryArrayData : BinaryStreamData public class BinaryArrayData : BinaryStreamData
{ {

View File

@@ -1,6 +1,4 @@
using global::System.IO; using SM64Lib.Data.System;
using SM64Lib.Data.System;
using System;
namespace SM64Lib.Data; namespace SM64Lib.Data;

View File

@@ -1,6 +1,4 @@
using global::System.IO; namespace SM64Lib.Data;
namespace SM64Lib.Data;
public class BinaryFile : BinaryStreamData public class BinaryFile : BinaryStreamData
{ {

View File

@@ -1,6 +1,4 @@
using global::System.IO; namespace SM64Lib.Data;
namespace SM64Lib.Data;
public class BinaryRom : BinaryFile public class BinaryRom : BinaryFile
{ {

View File

@@ -1,5 +1,4 @@
using global::SM64Lib.SegmentedBanking; using global::SM64Lib.SegmentedBanking;
using global::System.IO;
namespace SM64Lib.Data; namespace SM64Lib.Data;

View File

@@ -1,6 +1,4 @@
using global::System.IO; namespace SM64Lib.Data;
namespace SM64Lib.Data;
public class BinaryStreamData : BinaryData public class BinaryStreamData : BinaryData
{ {

View File

@@ -1,6 +1,4 @@
using System; using System.Collections;
using System.Collections;
using System.Linq;
namespace SM64Lib.Data.System; namespace SM64Lib.Data.System;

View File

@@ -1,6 +1,4 @@
using System; namespace SM64Lib.Data.System;
namespace SM64Lib.Data.System;
internal static class SwapInts internal static class SwapInts
{ {

View File

@@ -1,6 +1,4 @@
using System; namespace SM64Lib.EventArguments;
namespace SM64Lib.EventArguments;
public class GetTextProfileInfoEventArgs : EventArgs public class GetTextProfileInfoEventArgs : EventArgs
{ {

View File

@@ -1,7 +1,4 @@
using System; namespace SM64Lib.EventArguments;
using System.Collections.Generic;
namespace SM64Lib.EventArguments;
public class PrepairingRomEventArgs : EventArgs public class PrepairingRomEventArgs : EventArgs
{ {

View File

@@ -1,6 +1,4 @@
using System; namespace SM64Lib.EventArguments;
namespace SM64Lib.EventArguments;
public class RomVersionEventArgs : EventArgs public class RomVersionEventArgs : EventArgs
{ {

View File

@@ -1,6 +1,4 @@
using System; namespace SM64Lib.Exceptions;
namespace SM64Lib.Exceptions;
public class InvalidMD5HashException : Exception public class InvalidMD5HashException : Exception
{ {

View File

@@ -1,6 +1,4 @@
using System; namespace SM64Lib.Exceptions;
namespace SM64Lib.Exceptions;
public class RomCompatiblityException : Exception public class RomCompatiblityException : Exception
{ {

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib;
namespace SM64Lib;
public class FilePathsConfiguration public class FilePathsConfiguration
{ {

View File

@@ -1,11 +1,7 @@
using SM64Lib.Patching; using SM64Lib.Patching;
using System;
using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Drawing; using System.Drawing;
using System.IO;
using System.IO.Compression; using System.IO.Compression;
using System.Linq;
using System.Security.Cryptography; using System.Security.Cryptography;
namespace SM64Lib; namespace SM64Lib;

View File

@@ -1,10 +1,7 @@
using global::SM64Lib.Geolayout.Script; using global::SM64Lib.Geolayout.Script;
using global::SM64Lib.Geolayout.Script.Commands; using global::SM64Lib.Geolayout.Script.Commands;
using global::System.IO;
using Microsoft.VisualBasic; using Microsoft.VisualBasic;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace SM64Lib.Geolayout; namespace SM64Lib.Geolayout;

View File

@@ -1,5 +1,4 @@
using global::System.Numerics; using global::System.Numerics;
using System;
namespace SM64Lib.Geolayout.Script namespace SM64Lib.Geolayout.Script
{ {

View File

@@ -1,9 +1,5 @@
using global::SM64Lib.Data; using global::SM64Lib.Data;
using global::System.IO;
using SM64Lib.SegmentedBanking; using SM64Lib.SegmentedBanking;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SM64Lib.Geolayout.Script; namespace SM64Lib.Geolayout.Script;

View File

@@ -1,8 +1,6 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using System;
using System.Collections; using System.Collections;
using System.Collections.Generic;
namespace SM64Lib.Json; namespace SM64Lib.Json;

View File

@@ -1,6 +1,5 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.Geolayout.Script; using SM64Lib.Geolayout.Script;
using System;
namespace SM64Lib.Json; namespace SM64Lib.Json;

View File

@@ -1,6 +1,5 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.Behaviors.Script; using SM64Lib.Behaviors.Script;
using System;
namespace SM64Lib.Json; namespace SM64Lib.Json;

View File

@@ -1,7 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using Z.Collections.Extensions; using Z.Collections.Extensions;
namespace SM64Lib.Json; namespace SM64Lib.Json;

View File

@@ -1,9 +1,6 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.Model.Fast3D; using SM64Lib.Model.Fast3D;
using System;
using System.Collections.Generic;
using System.IO.Compression; using System.IO.Compression;
using System.Linq;
namespace SM64Lib.Json; namespace SM64Lib.Json;

View File

@@ -1,6 +1,5 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.Geolayout.Script; using SM64Lib.Geolayout.Script;
using System;
namespace SM64Lib.Json; namespace SM64Lib.Json;

View File

@@ -1,6 +1,5 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.Levels.Script; using SM64Lib.Levels.Script;
using System;
namespace SM64Lib.Json; namespace SM64Lib.Json;

View File

@@ -1,6 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.IO;
namespace SM64Lib.Json; namespace SM64Lib.Json;

View File

@@ -5,10 +5,7 @@ using global::SM64Lib.SegmentedBanking;
using Microsoft.VisualBasic; using Microsoft.VisualBasic;
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.Objects.ModelBanks; using SM64Lib.Objects.ModelBanks;
using System;
using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -3,8 +3,6 @@ using global::SM64Lib.Levels.Script.Commands;
using global::SM64Lib.Levels.ScrolTex; using global::SM64Lib.Levels.ScrolTex;
using global::SM64Lib.Model; using global::SM64Lib.Model;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -1,9 +1,7 @@
using global::SM64Lib.Model.Fast3D; using global::SM64Lib.Model.Fast3D;
using global::System.Drawing; using global::System.Drawing;
using global::System.IO;
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.Data.System; using SM64Lib.Data.System;
using System;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -1,7 +1,5 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.Levels.Script; using SM64Lib.Levels.Script;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression; using System.IO.Compression;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -1,7 +1,4 @@
using SM64Lib.Levels.Script; using SM64Lib.Levels.Script;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -1,7 +1,4 @@
using global::Newtonsoft.Json.Linq; using global::Newtonsoft.Json.Linq;
using global::System.IO;
using System.Collections.Generic;
using System.Linq;
using static SM64Lib.TextValueConverter.TextValueConverter; using static SM64Lib.TextValueConverter.TextValueConverter;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; using System.Data;
using System.Data;
using System.Linq;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -7,11 +7,7 @@ using global::SM64Lib.Levels.Script.Commands;
using global::SM64Lib.Levels.ScrolTex; using global::SM64Lib.Levels.ScrolTex;
using global::SM64Lib.Model; using global::SM64Lib.Model;
using global::SM64Lib.SegmentedBanking; using global::SM64Lib.SegmentedBanking;
using global::System.IO;
using System;
using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -1,8 +1,4 @@
using global::System.IO; namespace SM64Lib.Levels;
using System;
using System.Collections.Generic;
namespace SM64Lib.Levels;
public class LevelNumberTable : List<byte> public class LevelNumberTable : List<byte>
{ {

View File

@@ -1,5 +1,4 @@
using global::SM64Lib.Data; using global::SM64Lib.Data;
using System;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -3,12 +3,8 @@ using global::SM64Lib.Geolayout.Script;
using global::SM64Lib.Geolayout.Script.Commands; using global::SM64Lib.Geolayout.Script.Commands;
using global::SM64Lib.Levels.Script; using global::SM64Lib.Levels.Script;
using global::SM64Lib.Levels.Script.Commands; using global::SM64Lib.Levels.Script.Commands;
using global::System.IO;
using SM64Lib.Configuration; using SM64Lib.Configuration;
using System;
using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -1,10 +1,6 @@
using global::SM64Lib.Data; using global::SM64Lib.Data;
using global::SM64Lib.Levels.Script.Commands; using global::SM64Lib.Levels.Script.Commands;
using global::SM64Lib.SegmentedBanking; using global::SM64Lib.SegmentedBanking;
using global::System.IO;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SM64Lib.Levels.Script; namespace SM64Lib.Levels.Script;

View File

@@ -1,7 +1,6 @@
using global::System.Numerics; using global::System.Numerics;
using Microsoft.VisualBasic; using Microsoft.VisualBasic;
using SM64Lib.Data.System; using SM64Lib.Data.System;
using System;
namespace SM64Lib.Levels.Script namespace SM64Lib.Levels.Script
{ {

View File

@@ -1,6 +1,4 @@
using System; namespace SM64Lib.Levels.Script;
namespace SM64Lib.Levels.Script;
[Serializable] [Serializable]
public enum LevelscriptCommandTypes public enum LevelscriptCommandTypes

View File

@@ -4,7 +4,6 @@ using global::System.ComponentModel;
using Newtonsoft.Json; using Newtonsoft.Json;
using SM64Lib.Configuration; using SM64Lib.Configuration;
using SM64Lib.Data.System; using SM64Lib.Data.System;
using System;
namespace SM64Lib.Levels.ScrolTex; namespace SM64Lib.Levels.ScrolTex;

View File

@@ -1,8 +1,4 @@
using global::System.IO; using SM64Lib.Data.System;
using SM64Lib.Data.System;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -1,9 +1,6 @@
using global::SM64Lib.Levels.Script; using global::SM64Lib.Levels.Script;
using global::SM64Lib.Levels.Script.Commands; using global::SM64Lib.Levels.Script.Commands;
using System;
using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq;
namespace SM64Lib.Levels; namespace SM64Lib.Levels;

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Model.Collision;
namespace SM64Lib.Model.Collision;
public class ColMesh public class ColMesh
{ {

View File

@@ -1,14 +1,9 @@
using global::Pilz.S3DFileParser; using global::Pilz.S3DFileParser;
using global::SM64Lib.Data; using global::SM64Lib.Data;
using global::SM64Lib.Extensions; using global::SM64Lib.Extensions;
using global::System.IO;
using global::System.Numerics; using global::System.Numerics;
using SM64Lib.Configuration; using SM64Lib.Configuration;
using System;
using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace SM64Lib.Model.Collision; namespace SM64Lib.Model.Collision;

View File

@@ -1,10 +1,4 @@
using global::System.IO; namespace SM64Lib.Model.Collision;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SM64Lib.Model.Collision;
public class CollisionSettings public class CollisionSettings
{ {

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Model.Collision;
namespace SM64Lib.Model.Collision;
public class TriangleList : List<Triangle> public class TriangleList : List<Triangle>
{ {

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Model.Collision;
namespace SM64Lib.Model.Collision;
public class VertexList : List<Vertex> public class VertexList : List<Vertex>
{ {

View File

@@ -5,11 +5,6 @@ using global::SM64Lib.Model.Fast3D.DisplayLists.Script;
using global::SM64Lib.Model.Fast3D.DisplayLists.Script.Commands; using global::SM64Lib.Model.Fast3D.DisplayLists.Script.Commands;
using global::SM64Lib.SegmentedBanking; using global::SM64Lib.SegmentedBanking;
using global::System.Drawing; 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; using Converts = System.Convert;
namespace SM64Lib.Model.Conversion.Fast3DParsing; namespace SM64Lib.Model.Conversion.Fast3DParsing;

View File

@@ -1,14 +1,9 @@
using global::SM64Lib.N64Graphics; using global::SM64Lib.N64Graphics;
using global::System.Drawing; using global::System.Drawing;
using global::System.IO;
using global::System.Numerics; using global::System.Numerics;
using Microsoft.VisualBasic.CompilerServices; using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Z.Collections.Extensions; using Z.Collections.Extensions;
using static Microsoft.VisualBasic.Conversion; using static Microsoft.VisualBasic.Conversion;

View File

@@ -1,8 +1,6 @@
using global::Pilz.S3DFileParser; using global::Pilz.S3DFileParser;
using global::SM64Lib.Geolayout; using global::SM64Lib.Geolayout;
using global::SM64Lib.Model.Fast3D.DisplayLists.Script; using global::SM64Lib.Model.Fast3D.DisplayLists.Script;
using System;
using System.Threading.Tasks;
namespace SM64Lib.Model.Fast3D.DisplayLists; namespace SM64Lib.Model.Fast3D.DisplayLists;

View File

@@ -1,5 +1,4 @@
using global::Pilz.S3DFileParser; using global::Pilz.S3DFileParser;
using System.Collections.Generic;
namespace SM64Lib.Model.Fast3D.DisplayLists; namespace SM64Lib.Model.Fast3D.DisplayLists;

View File

@@ -1,6 +1,5 @@
using global::System.Drawing; using global::System.Drawing;
using global::System.Numerics; using global::System.Numerics;
using System;
namespace SM64Lib.Model.Fast3D.DisplayLists.Script.Commands; namespace SM64Lib.Model.Fast3D.DisplayLists.Script.Commands;

View File

@@ -1,7 +1,4 @@
using global::SM64Lib.Script; using global::SM64Lib.Script;
using global::System.IO;
using System;
using System.Linq;
namespace SM64Lib.Model.Fast3D.DisplayLists.Script; namespace SM64Lib.Model.Fast3D.DisplayLists.Script;

View File

@@ -1,8 +1,5 @@
using global::SM64Lib.SegmentedBanking; using global::SM64Lib.SegmentedBanking;
using global::System.IO;
using SM64Lib.Data; using SM64Lib.Data;
using System;
using System.Collections.Generic;
namespace SM64Lib.Model.Fast3D.DisplayLists.Script; namespace SM64Lib.Model.Fast3D.DisplayLists.Script;

View File

@@ -1,8 +1,6 @@
using global::Pilz.S3DFileParser; using global::Pilz.S3DFileParser;
using global::SM64Lib.Data; using global::SM64Lib.Data;
using global::SM64Lib.Geolayout; using global::SM64Lib.Geolayout;
using global::System.IO;
using System.Threading.Tasks;
namespace SM64Lib.Model.Fast3D; namespace SM64Lib.Model.Fast3D;

View File

@@ -1,13 +1,9 @@
using global::Newtonsoft.Json.Linq; using global::Newtonsoft.Json.Linq;
using global::SM64Lib.Model.Conversion.Fast3DWriting; using global::SM64Lib.Model.Conversion.Fast3DWriting;
using global::System.Drawing; using global::System.Drawing;
using global::System.IO;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using SM64Lib.Model.Conversion; using SM64Lib.Model.Conversion;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SM64Lib.Model.Fast3D; namespace SM64Lib.Model.Fast3D;

View File

@@ -1,9 +1,6 @@
using global::System.Drawing; using global::System.Drawing;
using global::System.Drawing.Drawing2D; using global::System.Drawing.Drawing2D;
using System;
using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.IO;
namespace SM64Lib.Model.Fast3D; namespace SM64Lib.Model.Fast3D;

View File

@@ -1,10 +1,6 @@
using global::SM64Lib.Data; using global::SM64Lib.Data;
using global::SM64Lib.Geolayout; using global::SM64Lib.Geolayout;
using global::System.IO;
using SM64Lib.Configuration; using SM64Lib.Configuration;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SM64Lib.Model; namespace SM64Lib.Model;

View File

@@ -1,6 +1,4 @@
using global::SM64Lib.Data; using global::SM64Lib.Data;
using System;
using System.Collections.Generic;
namespace SM64Lib.Music; namespace SM64Lib.Music;

View File

@@ -1,9 +1,5 @@
using global::SM64Lib.Data; using global::SM64Lib.Data;
using global::System.IO;
using System;
using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq;
namespace SM64Lib.Music; namespace SM64Lib.Music;

View File

@@ -1,5 +1,4 @@
using global::SM64Lib.Data; using global::SM64Lib.Data;
using System;
namespace SM64Lib.Music; namespace SM64Lib.Music;

View File

@@ -1,6 +1,4 @@
using global::SM64Lib.Data; using global::SM64Lib.Data;
using global::System.IO;
using System;
namespace SM64Lib.NPCs; namespace SM64Lib.NPCs;

View File

@@ -1,7 +1,5 @@
using global::Newtonsoft.Json.Linq; using global::Newtonsoft.Json.Linq;
using global::SM64Lib.Data; using global::SM64Lib.Data;
using global::System.IO;
using System;
namespace SM64Lib.Objects; namespace SM64Lib.Objects;

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Objects;
namespace SM64Lib.Objects;
public class ItemBoxContentTable : List<ItemBoxContentEntry> public class ItemBoxContentTable : List<ItemBoxContentEntry>
{ {

View File

@@ -3,11 +3,8 @@ using global::SM64Lib.Data;
using global::SM64Lib.Levels.Script; using global::SM64Lib.Levels.Script;
using global::SM64Lib.Levels.Script.Commands; using global::SM64Lib.Levels.Script.Commands;
using global::SM64Lib.SegmentedBanking; using global::SM64Lib.SegmentedBanking;
using global::System.IO;
using Microsoft.VisualBasic; using Microsoft.VisualBasic;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace SM64Lib.Objects.ModelBanks; namespace SM64Lib.Objects.ModelBanks;

View File

@@ -1,10 +1,6 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using SM64Lib.ASM; using SM64Lib.ASM;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Z.Collections.Extensions; using Z.Collections.Extensions;
namespace SM64Lib.Objects.ObjectBanks; namespace SM64Lib.Objects.ObjectBanks;

View File

@@ -6,9 +6,6 @@ using SM64Lib.Behaviors;
using SM64Lib.Configuration; using SM64Lib.Configuration;
using SM64Lib.Json; using SM64Lib.Json;
using SM64Lib.Objects.ModelBanks; using SM64Lib.Objects.ModelBanks;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression; using System.IO.Compression;
namespace SM64Lib.Objects.ObjectBanks; namespace SM64Lib.Objects.ObjectBanks;

View File

@@ -6,7 +6,6 @@ using SM64Lib.Configuration;
using SM64Lib.Json; using SM64Lib.Json;
using SM64Lib.Objects.ModelBanks; using SM64Lib.Objects.ModelBanks;
using SM64Lib.Patching; using SM64Lib.Patching;
using System.Collections.Generic;
namespace SM64Lib.Objects.ObjectBanks; namespace SM64Lib.Objects.ObjectBanks;

View File

@@ -3,7 +3,6 @@ using SM64Lib.ASM;
using SM64Lib.Behaviors; using SM64Lib.Behaviors;
using SM64Lib.Configuration; using SM64Lib.Configuration;
using SM64Lib.Objects.ModelBanks; using SM64Lib.Objects.ModelBanks;
using System.Collections.Generic;
namespace SM64Lib.Objects.ObjectBanks; namespace SM64Lib.Objects.ObjectBanks;

View File

@@ -1,8 +1,6 @@
using SM64Lib.ASM; using SM64Lib.ASM;
using SM64Lib.Behaviors; using SM64Lib.Behaviors;
using SM64Lib.Configuration; using SM64Lib.Configuration;
using System.Collections.Generic;
using System.Linq;
using Z.Collections.Extensions; using Z.Collections.Extensions;
namespace SM64Lib.Objects.ObjectBanks; namespace SM64Lib.Objects.ObjectBanks;

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Objects.ObjectBanks.Data;
namespace SM64Lib.Objects.ObjectBanks.Data;
public class ObjectBankData public class ObjectBankData
{ {

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic; namespace SM64Lib.Objects.ObjectBanks.Data;
namespace SM64Lib.Objects.ObjectBanks.Data;
public class ObjectBankDataList : List<ObjectBankData> public class ObjectBankDataList : List<ObjectBankData>
{ {

View File

@@ -1,7 +1,4 @@
using global::Newtonsoft.Json.Linq; using global::Newtonsoft.Json.Linq;
using global::System.IO;
using System.Collections.Generic;
using System.Linq;
namespace SM64Lib.Objects.ObjectBanks.Data; namespace SM64Lib.Objects.ObjectBanks.Data;

Some files were not shown because too many files have changed in this diff Show More