Skip to content

Commit

Permalink
Cleanup unused 'using' statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Nefaro committed Aug 29, 2023
1 parent 990f7ba commit 5e52c6a
Show file tree
Hide file tree
Showing 68 changed files with 51 additions and 306 deletions.
4 changes: 0 additions & 4 deletions GnollModLoader/GnollModLoader/ConsoleWindow.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace GnollModLoader
{
Expand Down
3 changes: 1 addition & 2 deletions GnollModLoader/GnollModLoader/GUI/AboutMenuPanel.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Game.GUI.Controls;
using Game.GUI.Controls;

namespace GnollModLoader.GUI
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Game.GUI;
using Game.GUI.Controls;

Expand Down
4 changes: 0 additions & 4 deletions GnollModLoader/GnollModLoader/GUI/ModLoaderMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
using Game.GUI;
using Game.GUI.Controls;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GnollModLoader.GUI
{
Expand Down
14 changes: 3 additions & 11 deletions GnollModLoader/GnollModLoader/GnollMain.cs
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;
using Game;
using Game;
using Game.GUI;
using Game.GUI.Controls;
using GnollModLoader.GUI;
using Microsoft.Xna.Framework.Graphics;

namespace GnollModLoader
{
public class GnollMain
{
private const string MAJOR_VERSION = "1";
private const string BUGFIX_VERSION = ".1";
private const string BUGFIX_VERSION = ".0";

// for easier validation
public const uint PATCH_VERSION = 14;
Expand All @@ -28,7 +20,7 @@ public class GnollMain

public const string MODS_DIR = "Gnoll Mods\\enabled";

private static bool debug = true;
private static bool debug = false;
public static bool Debug => debug;
public static string VERSION
{
Expand Down
6 changes: 1 addition & 5 deletions GnollModLoader/GnollModLoader/HookManager.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using Game;
using Game.GUI;
using GnollModLoader.GUI;
using Game;

namespace GnollModLoader
{
Expand Down
7 changes: 1 addition & 6 deletions GnollModLoader/GnollModLoader/IGnollMod.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GnollModLoader
namespace GnollModLoader
{
// Main interface for Gnoll Mods
// The interface type will be used for
Expand Down
7 changes: 1 addition & 6 deletions GnollModLoader/GnollModLoader/IHasDirectPatch.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GnollModLoader
namespace GnollModLoader
{
// This mod has a direct harmony patch
public interface IHasDirectPatch
Expand Down
7 changes: 1 addition & 6 deletions GnollModLoader/GnollModLoader/IHasLuaScripts.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GnollModLoader
namespace GnollModLoader
{
// Marker interface for mods that have included Lua Scripts
public interface IHasLuaScripts
Expand Down
5 changes: 0 additions & 5 deletions GnollModLoader/GnollModLoader/Logger.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using LibNoise.Xna.Operator;
using Newtonsoft.Json.Linq;

namespace GnollModLoader
{
Expand Down
6 changes: 1 addition & 5 deletions GnollModLoader/GnollModLoader/Lua/GnomoriaGlobalTable.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 Game;
using Game;

namespace GnollModLoader.Lua
{
Expand Down
6 changes: 1 addition & 5 deletions GnollModLoader/GnollModLoader/Lua/Proxy/AmmoDefProxy.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 GameLibrary;
using GameLibrary;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Game;
using GameLibrary;
using GameLibrary;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
1 change: 0 additions & 1 deletion GnollModLoader/GnollModLoader/Lua/Proxy/BodyDefProxy.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
7 changes: 1 addition & 6 deletions GnollModLoader/GnollModLoader/Lua/Proxy/BodyPartDefProxy.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Game;
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;
using MoonSharp.Interpreter;
using System.Runtime.InteropServices;

namespace GnollModLoader.Lua.Proxy
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
7 changes: 1 addition & 6 deletions GnollModLoader/GnollModLoader/Lua/Proxy/ByproductProxy.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using GameLibrary;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
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 GameLibrary;
using GameLibrary;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Game;
using GameLibrary;
using Game;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using GameLibrary;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
8 changes: 1 addition & 7 deletions GnollModLoader/GnollModLoader/Lua/Proxy/DefendDefProxy.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 Game;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using GameLibrary;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
1 change: 0 additions & 1 deletion GnollModLoader/GnollModLoader/Lua/Proxy/FactionDefProxy.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
6 changes: 1 addition & 5 deletions GnollModLoader/GnollModLoader/Lua/Proxy/GenderDefProxy.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 GameLibrary;
using GameLibrary;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
1 change: 0 additions & 1 deletion GnollModLoader/GnollModLoader/Lua/Proxy/ItemDefProxy.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
7 changes: 1 addition & 6 deletions GnollModLoader/GnollModLoader/Lua/Proxy/ItemEffectProxy.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using GameLibrary;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
6 changes: 1 addition & 5 deletions GnollModLoader/GnollModLoader/Lua/Proxy/ItemGroupProxy.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 Game;
using System.Collections.Generic;
using GameLibrary;
using MoonSharp.Interpreter;

Expand Down
4 changes: 1 addition & 3 deletions GnollModLoader/GnollModLoader/Lua/Proxy/LiquidDefProxy.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using GameLibrary;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
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 Game;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using GameLibrary;
using Microsoft.Xna.Framework;
using MoonSharp.Interpreter;

Expand Down
8 changes: 1 addition & 7 deletions GnollModLoader/GnollModLoader/Lua/Proxy/MechanismDefProxy.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 Game;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using GameLibrary;
using Microsoft.Xna.Framework;
using MoonSharp.Interpreter;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameLibrary;
using Microsoft.Xna.Framework.Content;
using GameLibrary;
using MoonSharp.Interpreter;

namespace GnollModLoader.Lua.Proxy
Expand Down
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 MoonSharp.Interpreter;
using MoonSharp.Interpreter;
using static GameLibrary.PlantDef;

namespace GnollModLoader.Lua.Proxy.PlantDef
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using GameLibrary;
using MoonSharp.Interpreter;

Expand Down
Loading

0 comments on commit 5e52c6a

Please sign in to comment.