Skip to content

Commit

Permalink
Remove unused using across solution
Browse files Browse the repository at this point in the history
  • Loading branch information
tzachshabtay committed Nov 12, 2018
1 parent 538aa53 commit 1bf5ca5
Show file tree
Hide file tree
Showing 230 changed files with 175 additions and 506 deletions.
3 changes: 1 addition & 2 deletions Source/AGS.API/Game/IGameStarter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// The game starter interface is the interface that a game project should implement so that it can be loaded
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Game/Settings/IDefaultsSettings.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// Gets or sets settings for various defaults.
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Game/Settings/IRuntimeSettings.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// Game settings.
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Graphics/IBorderComponent.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// Allows drawing a border around the entity.
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Graphics/Logic/IRenderInstruction.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// A render instruction represents an instruction to draw something.
Expand Down
5 changes: 1 addition & 4 deletions Source/AGS.API/Graphics/Logic/IRenderPipeline.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;

namespace AGS.API
namespace AGS.API
{
/// <summary>
/// The render pipeline is responsible for collecting all of the rendering information and passing it on
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Graphics/Logic/IRenderer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// A renderer is an object which passes on drawing instructions on demand.
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Input/ICoordinates.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// Utility methods to help convert between different coordinate systems:
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Input/IWindowInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.ComponentModel;
using System.ComponentModel;

namespace AGS.API
{
Expand Down
4 changes: 1 addition & 3 deletions Source/AGS.API/Input/MousePosition.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace AGS.API
namespace AGS.API
{
/// <summary>
/// Represents a mouse position on the screen.
Expand Down
4 changes: 1 addition & 3 deletions Source/AGS.API/Inventory/IInventory.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace AGS.API
namespace AGS.API
{
/// <summary>
/// The character's inventory. Those are the items that the character holds in his/her (usually) imaginary bag.
Expand Down
4 changes: 1 addition & 3 deletions Source/AGS.API/Misc/Drawing/Alignment.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace AGS.API
namespace AGS.API
{
public enum Alignment
{
Expand Down
4 changes: 1 addition & 3 deletions Source/AGS.API/Misc/Drawing/BrushType.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace AGS.API
namespace AGS.API
{
public enum BrushType
{
Expand Down
4 changes: 1 addition & 3 deletions Source/AGS.API/Misc/Drawing/HatchStyle.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace AGS.API
namespace AGS.API
{
public enum HatchStyle
{
Expand Down
4 changes: 1 addition & 3 deletions Source/AGS.API/Misc/Drawing/IBlend.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace AGS.API
namespace AGS.API
{
public interface IBlend
{
Expand Down
4 changes: 1 addition & 3 deletions Source/AGS.API/Misc/Drawing/IColorBlend.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace AGS.API
namespace AGS.API
{
public interface IColorBlend
{
Expand Down
4 changes: 1 addition & 3 deletions Source/AGS.API/Misc/Drawing/ITransformMatrix.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace AGS.API
namespace AGS.API
{
public interface ITransformMatrix
{
Expand Down
4 changes: 1 addition & 3 deletions Source/AGS.API/Misc/Drawing/WrapMode.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace AGS.API
namespace AGS.API
{
public enum WrapMode
{
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Misc/Resources/IResourcePack.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;

namespace AGS.API
{
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Objects/ITextureOffsetComponent.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// Allows changing the starting offset from which the texture will be rendered.
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Objects/IWorldPositionComponent.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// Allows getting the world position for entities.
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/Rooms/IRoomTransition.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;

namespace AGS.API
{
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/UI/Controls/Editors/NumberValueChangedArgs.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// Event arguments for when the number editor's value changed.
Expand Down
3 changes: 1 addition & 2 deletions Source/AGS.API/UI/Controls/MouseClickEventArgs.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace AGS.API
namespace AGS.API
{
/// <summary>
/// Mouse click/double-click event arguments.
Expand Down
3 changes: 1 addition & 2 deletions Source/Demo/DemoQuest.Desktop/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.Engine.Desktop;
using AGS.Engine.Desktop;
using DemoGame;

namespace DemoQuest.Desktop
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AGS.API;
using AGS.Engine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading.Tasks;
using AGS.API;
using AGS.Engine;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
Expand Down
1 change: 0 additions & 1 deletion Source/Demo/DemoQuest/GUI/FeaturesWindow/IFeaturesPanel.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Threading.Tasks;
using AGS.API;

namespace DemoGame
{
Expand Down
3 changes: 1 addition & 2 deletions Source/Demo/DemoQuest/GUI/FeaturesWindow/PlayerAsFeature.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.Threading.Tasks;
using AGS.API;

Expand Down
3 changes: 1 addition & 2 deletions Source/Demo/DemoQuest/GUI/InventoryItems.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Threading.Tasks;
using System.Threading.Tasks;
using AGS.API;
using AGS.Engine;

Expand Down
3 changes: 1 addition & 2 deletions Source/Demo/DemoQuest/GUI/MouseCursors.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Threading.Tasks;
using System.Threading.Tasks;
using AGS.API;
using AGS.Engine;

Expand Down
1 change: 0 additions & 1 deletion Source/Demo/DemoQuest/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using AGS.API;
using System.Diagnostics;
using DemoQuest;
using System;

namespace DemoGame
{
Expand Down
1 change: 0 additions & 1 deletion Source/Demo/DemoQuest/Rooms/TrashcanStreet.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Threading.Tasks;
using AGS.API;
using AGS.Engine;

namespace DemoGame
{
Expand Down
3 changes: 1 addition & 2 deletions Source/Editor/AGS.Editor.Desktop/DesktopEditorPlatform.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.API;
using AGS.API;
using AGS.Engine;
using AGS.Engine.Desktop;
using Autofac;
Expand Down
6 changes: 1 addition & 5 deletions Source/Editor/AGS.Editor.Desktop/DotnetProject.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.IO;
using System.Threading.Tasks;
using System.Xml;
//using Microsoft.CodeAnalysis;
Expand Down
5 changes: 1 addition & 4 deletions Source/Editor/AGS.Editor.Desktop/HostingGameDesktopWindow.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.ComponentModel;
using System.ComponentModel;
using AGS.API;
using AGS.Engine;
using AGS.Engine.Desktop;

namespace AGS.Editor.Desktop
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.ComponentModel;
using System.ComponentModel;
using AGS.API;
using AGS.Engine.Desktop;
using OpenTK;
Expand Down
6 changes: 1 addition & 5 deletions Source/Editor/AGS.Editor.Desktop/Program.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.IO;
using System.Reflection;
using AGS.Editor;
using AGS.Engine.Desktop;
using AGS.Engine.Desktop;

namespace AGS.Editor.Desktop
{
Expand Down
3 changes: 1 addition & 2 deletions Source/Editor/AGS.Editor/AGSEditor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.API;
using AGS.API;
using AGS.Engine;
using Autofac;
using GuiLabs.Undo;
Expand Down
3 changes: 1 addition & 2 deletions Source/Editor/AGS.Editor/CodeGen/ICodeGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Text;
using System.Text;

namespace AGS.Editor
{
Expand Down
3 changes: 1 addition & 2 deletions Source/Editor/AGS.Editor/Components/AGSComponentHost.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.API;
using AGS.API;
using AGS.Engine;
using Autofac;

Expand Down
3 changes: 1 addition & 2 deletions Source/Editor/AGS.Editor/Components/EditorUIEvents.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.Engine;
using AGS.Engine;

namespace AGS.Editor
{
Expand Down
3 changes: 1 addition & 2 deletions Source/Editor/AGS.Editor/GameCanvas.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.API;
using AGS.API;
using AGS.Engine;
using Autofac;
using GuiLabs.Undo;
Expand Down
3 changes: 1 addition & 2 deletions Source/Editor/AGS.Editor/GameToolbar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.ComponentModel;
using System.ComponentModel;
using AGS.API;
using AGS.Engine;
using Autofac;
Expand Down
3 changes: 1 addition & 2 deletions Source/Editor/AGS.Editor/GameView/GameViewColors.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.API;
using AGS.API;
using AGS.Engine;

namespace AGS.Editor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using AGS.API;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.API;
using AGS.API;

namespace AGS.Editor
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.API;
using AGS.API;
using AGS.Engine;
using GuiLabs.Undo;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using AGS.API;
using AGS.API;

namespace AGS.Editor
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.API;
using AGS.API;
using AGS.Engine;

namespace AGS.Editor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Threading;
using AGS.API;
using AGS.Engine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using AGS.API;
using AGS.API;
using AGS.Engine;

namespace AGS.Editor
Expand Down

0 comments on commit 1bf5ca5

Please sign in to comment.