Skip to content

Commit

Permalink
Remove all unneccessary usings
Browse files Browse the repository at this point in the history
  • Loading branch information
Naamloos committed Nov 27, 2024
1 parent c163eb4 commit d6846f5
Show file tree
Hide file tree
Showing 26 changed files with 10 additions and 139 deletions.
4 changes: 0 additions & 4 deletions Axolotl2D.Cef/CefBrowser.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
using Axolotl2D.Drawable;
using Axolotl2D;
using CefSharp;
using CefSharp.OffScreen;
using CefSharp.Structs;
using Silk.NET.Input;
using Silk.NET.OpenGL;
using StbImageSharp;
using System.Numerics;
using System.Reflection;
using System.Runtime.InteropServices;

// https://github.com/cefsharp/CefSharp/wiki/General-Usage#need-to-knowlimitations
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D.Cef/CefBrowserManager.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
using Axolotl2D.Helpers;
using CefSharp.OffScreen;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Cef
{
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D.Cef/Hosting.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using Axolotl2D.Helpers;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Cef
{
Expand Down
3 changes: 0 additions & 3 deletions Axolotl2D.Example/ExampleGame.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using Axolotl2D.Audio;
using Axolotl2D.Cef;
using Axolotl2D.Drawable;
using Axolotl2D;
using Microsoft.Extensions.Logging;
using Silk.NET.Input;
using System.Numerics;
using System.Reflection;

namespace Axolotl2D.Example
Expand Down
1 change: 0 additions & 1 deletion Axolotl2D.Example/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.Extensions.Hosting;
using Axolotl2D;
using Microsoft.Extensions.DependencyInjection;
using Axolotl2D.Example.Scenes;
using Axolotl2D.Cef;
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D.Example/Scenes/ExampleScene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
using Axolotl2D.Scenes;
using Microsoft.Extensions.Logging;
using Silk.NET.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Example.Scenes
{
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D.Example/Scenes/ExampleScene2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
using Axolotl2D.Scenes;
using Microsoft.Extensions.Logging;
using Silk.NET.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Example.Scenes
{
Expand Down
7 changes: 1 addition & 6 deletions Axolotl2D/Audio/AudioPlayer.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 System.Threading.Tasks;
using Silk.NET.OpenAL;
using Silk.NET.OpenAL;

namespace Axolotl2D.Audio
{
Expand Down
7 changes: 1 addition & 6 deletions Axolotl2D/Audio/Song.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using System;
using System.Buffers.Binary;
using System.Collections.Generic;
using System.Linq;
using System.Buffers.Binary;
using System.Text;
using System.Threading.Tasks;
using Silk.NET.OpenAL;
using Silk.NET.OpenGL;

namespace Axolotl2D.Audio
{
Expand Down
8 changes: 1 addition & 7 deletions Axolotl2D/Color.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 Axolotl2D
namespace Axolotl2D
{
/// <summary>
/// Represents a color in the game.
Expand Down
9 changes: 1 addition & 8 deletions Axolotl2D/Drawable/BaseDrawable.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using Silk.NET.Input;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;

namespace Axolotl2D.Drawable
{
Expand Down
8 changes: 1 addition & 7 deletions Axolotl2D/Drawable/SimpleQuad.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using Axolotl2D;
using Silk.NET.OpenGL;
using System;
using System.Collections.Generic;
using System.Linq;
using Silk.NET.OpenGL;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Drawable
{
Expand Down
6 changes: 0 additions & 6 deletions Axolotl2D/Drawable/Sprite.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using Silk.NET.OpenGL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StbImageSharp;
using Silk.NET.Core.Native;
using System.Numerics;

namespace Axolotl2D.Drawable
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D/Drawable/SpriteManager.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Axolotl2D.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Drawable
{
Expand Down
8 changes: 1 addition & 7 deletions Axolotl2D/Exceptions/EngineUninitializedException.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 Axolotl2D.Exceptions
namespace Axolotl2D.Exceptions
{
/// <summary>
/// Thrown when an action is performed that required the engine to be initialized, but it is not.
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D/Exceptions/ShaderCompileException.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Axolotl2D.Shaders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Exceptions
{
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D/Exceptions/ShaderNotCompiledException.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Axolotl2D.Shaders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Exceptions
{
Expand Down
3 changes: 1 addition & 2 deletions Axolotl2D/Game.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Axolotl2D.Exceptions;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Hosting;
using Silk.NET.Input;
using Silk.NET.Maths;
using Silk.NET.OpenGL;
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D/Helpers/LazyDependencyLoader.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Helpers
{
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D/Hosting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
using Axolotl2D.Helpers;
using Axolotl2D.Scenes;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D
{
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D/IGameHost.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D
{
Expand Down
7 changes: 1 addition & 6 deletions Axolotl2D/Scenes/BaseScene.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.Numerics;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;

namespace Axolotl2D.Scenes
{
Expand Down
8 changes: 1 addition & 7 deletions Axolotl2D/Scenes/DefaultSceneAttribute.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 Axolotl2D.Scenes
namespace Axolotl2D.Scenes
{
/// <summary>
/// To be applied to a Scene class to mark it as the default scene.
Expand Down
6 changes: 0 additions & 6 deletions Axolotl2D/Scenes/SceneGameHost.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Scenes
{
Expand Down
5 changes: 0 additions & 5 deletions Axolotl2D/Shaders/Shader.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using Axolotl2D.Exceptions;
using Silk.NET.OpenGL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D.Shaders
{
Expand Down
9 changes: 1 addition & 8 deletions Axolotl2D/SimpleGameHost.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Axolotl2D
namespace Axolotl2D
{
/// <summary>
/// Represents a service that simply hosts the game.
Expand Down

0 comments on commit d6846f5

Please sign in to comment.