Skip to content

Commit

Permalink
Clean up unnecessary usings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rampastring committed Jun 23, 2024
1 parent 818fe14 commit 2a6a224
Show file tree
Hide file tree
Showing 29 changed files with 5 additions and 43 deletions.
1 change: 0 additions & 1 deletion src/TSMapEditor/CCEngine/CCFileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using TSMapEditor.UI;

namespace TSMapEditor.CCEngine
{
Expand Down
3 changes: 1 addition & 2 deletions src/TSMapEditor/CCEngine/CsfFile.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Rampastring.Tools;
using System;
using System;
using System.Collections.Generic;
using System.IO;
using TSMapEditor.Models;
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/CCEngine/HvaFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.IO;
using CNCMaps.FileFormats.VirtualFileSystem;
using Microsoft.Xna.Framework;
using Rampastring.Tools;

namespace TSMapEditor.CCEngine
{
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/CCEngine/Theater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Collections.Generic;
using System.IO;
using TSMapEditor.Models;
using TSMapEditor.UI;
using TSMapEditor.Extensions;
using System.Linq;

Expand Down
3 changes: 1 addition & 2 deletions src/TSMapEditor/CCEngine/VplFile.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.IO;
using CNCMaps.FileFormats.VirtualFileSystem;

Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Extensions/ListExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Rampastring.Tools;
using System;
using System.Collections.Generic;
using TSMapEditor.Initialization;
using TSMapEditor.Models;

namespace TSMapEditor.Extensions
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/GameMath/CellMath.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.Xna.Framework;
using System;
using TSMapEditor.Models;

namespace TSMapEditor.GameMath
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;
using TSMapEditor.Models.ArtConfig;
using TSMapEditor.Models.Enums;
using TSMapEditor.UI;

namespace TSMapEditor.Initialization
{
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Models/ArtConfig/BuildingArtConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System;
using System.Collections.Generic;
using TSMapEditor.GameMath;
using TSMapEditor.UI;

namespace TSMapEditor.Models.ArtConfig
{
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Models/CliffType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Linq;
using System.Text.RegularExpressions;
using TSMapEditor.GameMath;
using TSMapEditor.UI;

namespace TSMapEditor.Models
{
Expand Down
2 changes: 0 additions & 2 deletions src/TSMapEditor/Models/ConnectedOverlayType.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
using System;
using Rampastring.Tools;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using TSMapEditor.GameMath;
using TSMapEditor.Rendering;
using TSMapEditor.UI;

namespace TSMapEditor.Models
{
Expand Down
4 changes: 1 addition & 3 deletions src/TSMapEditor/Models/EvaSpeeches.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using TSMapEditor.Extensions;
using TSMapEditor.Misc;

Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Models/Rules.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using TSMapEditor.Extensions;
using TSMapEditor.Initialization;
using TSMapEditor.Models.ArtConfig;
using TSMapEditor.UI;

namespace TSMapEditor.Models
{
Expand Down
2 changes: 0 additions & 2 deletions src/TSMapEditor/Mutations/Classes/DrawCliffMutation.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
Expand All @@ -7,7 +6,6 @@
using TSMapEditor.Misc;
using TSMapEditor.Models;
using TSMapEditor.Rendering;
using TSMapEditor.UI;

namespace TSMapEditor.Mutations.Classes
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System.Collections.Generic;
using System;
using System;
using TSMapEditor.CCEngine;
using TSMapEditor.GameMath;
using TSMapEditor.Models.Enums;
using TSMapEditor.Models;
using TSMapEditor.Rendering;
using TSMapEditor.UI;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using SharpDX.Direct2D1.Effects;
using TSMapEditor.GameMath;
using TSMapEditor.Rendering;
using TSMapEditor.UI;
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Mutations/Classes/PlaceBridgeMutation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using TSMapEditor.GameMath;
using TSMapEditor.Models;
using TSMapEditor.Models.Enums;
using TSMapEditor.Rendering;

namespace TSMapEditor.Mutations.Classes
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 @@ -9,7 +9,6 @@
using System.Runtime.CompilerServices;
using System.Text;
using TSMapEditor.GameMath;
using TSMapEditor.Initialization;
using TSMapEditor.Misc;
using TSMapEditor.Models;
using TSMapEditor.Models.Enums;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.Xna.Framework;
using System;
using TSMapEditor.CCEngine;
using TSMapEditor.GameMath;
using TSMapEditor.Models;
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/Rendering/Refresh.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using Microsoft.Win32;
using TSMapEditor.GameMath;
using TSMapEditor.Models;

Expand Down
4 changes: 0 additions & 4 deletions src/TSMapEditor/Rendering/TileImage.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.GameMath;

namespace TSMapEditor.Rendering
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/Controls/EditorWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Rampastring.XNAUI;
using Rampastring.XNAUI.XNAControls;
using System;
using TSMapEditor.Settings;

namespace TSMapEditor.UI.Controls
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System;
using TSMapEditor.GameMath;
using TSMapEditor.Models;
using TSMapEditor.Models.Enums;
using TSMapEditor.Mutations.Classes;
using TSMapEditor.Rendering;

Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/MainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Rampastring.XNAUI.XNAControls;
using System;
using System.IO;
using TSMapEditor.GameMath;
using TSMapEditor.Settings;
using TSMapEditor.UI.Controls;
using TSMapEditor.UI.Windows;
Expand Down
5 changes: 1 addition & 4 deletions src/TSMapEditor/UI/SettingsPanel.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using Microsoft.Xna.Framework.Graphics;
using Rampastring.XNAUI;
using Rampastring.XNAUI;
using Rampastring.XNAUI.XNAControls;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Windows.Forms;
using TSMapEditor.GameMath;
using TSMapEditor.Settings;
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 @@ -15,7 +15,6 @@
using TSMapEditor.UI.TopBar;
using TSMapEditor.UI.Windows;
using TSMapEditor.UI.Windows.MainMenuWindows;
using TSMapEditor.UI.Windows.TerrainGenerator;

namespace TSMapEditor.UI
{
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/Windows/SelectBridgeWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Rampastring.XNAUI.XNAControls;
using System;
using TSMapEditor.Models;
using TSMapEditor.UI.Controls;

namespace TSMapEditor.UI.Windows
{
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/Windows/SelectBuildingTargetWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System;
using TSMapEditor.Models;
using TSMapEditor.CCEngine;
using Microsoft.Xna.Framework;

namespace TSMapEditor.UI.Windows
{
Expand Down
1 change: 0 additions & 1 deletion src/TSMapEditor/UI/Windows/SelectThemeWindow.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Rampastring.XNAUI;
using Rampastring.XNAUI.XNAControls;
using System;
using System.Collections.Generic;
using TSMapEditor.Models;

namespace TSMapEditor.UI.Windows
Expand Down

0 comments on commit 2a6a224

Please sign in to comment.