Skip to content

Commit

Permalink
Remove unnecessary usings from the whole solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Rampastring committed Aug 1, 2023
1 parent 274ff0f commit 5e27a14
Show file tree
Hide file tree
Showing 22 changed files with 6 additions and 45 deletions.
4 changes: 0 additions & 4 deletions src/MapEditorLauncher/Logger.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MapEditorLauncher
{
Expand Down
1 change: 0 additions & 1 deletion src/MapEditorLauncher/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Initialization/Initializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using TSMapEditor.Models.ArtConfig;
using TSMapEditor.Models.Enums;
using TSMapEditor.UI;
using static System.Collections.Specialized.BitVector32;

namespace TSMapEditor.Initialization
{
Expand Down
2 changes: 0 additions & 2 deletions src/TSMapEditor/Initialization/MapLoader.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using CNCMaps.FileFormats.Encodings;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Rampastring.Tools;
using System;
using System.Collections.Generic;
Expand All @@ -10,7 +9,6 @@
using TSMapEditor.Models;
using TSMapEditor.Models.MapFormat;
using TSMapEditor.Rendering;
using TSMapEditor.UI;

namespace TSMapEditor.Initialization
{
Expand Down
3 changes: 1 addition & 2 deletions src/TSMapEditor/Misc/MapFileWatcher.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Rampastring.XNAUI;
using System;
using System;
using System.IO;
using TSMapEditor.Models;

Expand Down
3 changes: 1 addition & 2 deletions src/TSMapEditor/Models/OverlayType.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.Xna.Framework;
using TSMapEditor.Models.ArtConfig;
using TSMapEditor.Models.ArtConfig;
using TSMapEditor.Models.Enums;

namespace TSMapEditor.Models
Expand Down
8 changes: 1 addition & 7 deletions src/TSMapEditor/Models/SmudgeType.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TSMapEditor.Models
namespace TSMapEditor.Models
{
public class SmudgeType : GameObjectType
{
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Models/Techno.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.Xna.Framework;
using System;

namespace TSMapEditor.Models
{
Expand Down
5 changes: 1 addition & 4 deletions src/TSMapEditor/Models/Unit.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Diagnostics;

namespace TSMapEditor.Models
namespace TSMapEditor.Models
{
/// <summary>
/// Could also be called 'vehicle', but let's respect the original game's naming.
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Rendering/GameClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System;
using System.Globalization;
using System.IO;
using System.Runtime.Versioning;
using System.Text;
using System.Threading;
using System.Windows.Forms;
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Rendering/MapView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using TSMapEditor.Mutations;
using TSMapEditor.Mutations.Classes;
using TSMapEditor.Rendering.ObjectRenderers;
using TSMapEditor.Scripts;
using TSMapEditor.Settings;
using TSMapEditor.UI;
using TSMapEditor.UI.Windows;
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Rendering/TheaterGraphics.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Rampastring.Tools;
using System;
using System.Collections.Generic;
using System.Globalization;
Expand Down
4 changes: 0 additions & 4 deletions src/TSMapEditor/Scripts/CR04Script.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TSMapEditor.CCEngine;
using TSMapEditor.GameMath;
using TSMapEditor.Models;
Expand Down
6 changes: 1 addition & 5 deletions src/TSMapEditor/Scripts/RemoveIMTOs.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using TSMapEditor.Models;

namespace TSMapEditor.Scripts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using TSMapEditor.Models;
using TSMapEditor.Mutations.Classes;
using TSMapEditor.Rendering;
using TSMapEditor.UI;

namespace TSMapEditor.UI.CursorActions
{
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/Sidebar/ObjectListPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using TSMapEditor.Models;
using TSMapEditor.Models.ArtConfig;
using TSMapEditor.Rendering;
using TSMapEditor.UI.Controls;

namespace TSMapEditor.UI.Sidebar
{
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/SmudgeCollection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Rampastring.Tools;
using System;
using System.Collections.Generic;
using TSMapEditor.Models;

Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/TerrainObjectCollection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Rampastring.Tools;
using System;
using System.Collections.Generic;
using TSMapEditor.Models;

Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/TileDisplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Rampastring.XNAUI.XNAControls;
using System;
using System.Collections.Generic;
using System.Linq;
using TSMapEditor.CCEngine;
using TSMapEditor.Rendering;
using TSMapEditor.UI.CursorActions;
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/UIManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Rampastring.XNAUI;
using Rampastring.XNAUI.XNAControls;
using System;
using System.Collections.Generic;
using System.Linq;
using TSMapEditor.GameMath;
using TSMapEditor.Misc;
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/Windows/HotkeyConfigurationWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System;
using System.Collections.Generic;
using TSMapEditor.Settings;
using TSMapEditor.UI;
using TSMapEditor.UI.Controls;

namespace TSMapEditor.UI.Windows
Expand Down
3 changes: 1 addition & 2 deletions src/TSMapEditor/UI/Windows/TeamTypesWindow.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.Xna.Framework;
using Rampastring.XNAUI;
using Rampastring.XNAUI;
using Rampastring.XNAUI.XNAControls;
using System;
using System.Collections.Generic;
Expand Down

0 comments on commit 5e27a14

Please sign in to comment.