Removed unnecessary using directives

This commit is contained in:
Joonas Rikkonen
2017-07-05 18:35:09 +03:00
parent 8f3c58de4b
commit 64ad5e5003
275 changed files with 443 additions and 1113 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
using System;
using Microsoft.Xna.Framework;
using System.Linq;
using Microsoft.Xna.Framework;
using System;
//TODO: this class still does things that the server doesn't need, cleanup
namespace Barotrauma
@@ -1,12 +1,5 @@
using FarseerPhysics;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Dynamics.Joints;
using Barotrauma.Networking;
using System;
using System.Collections.Generic;
using System.Linq;
using Barotrauma.Networking;
using System.Xml.Linq;
using Microsoft.Xna.Framework;
namespace Barotrauma
{
@@ -1,8 +1,8 @@
using System;
using Barotrauma.Networking;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Barotrauma.Networking;
namespace Barotrauma
{
@@ -1,11 +1,9 @@
using System;
using System.Diagnostics;
using System.Reflection;
using FarseerPhysics;
using Barotrauma.Networking;
using FarseerPhysics.Dynamics;
using Barotrauma.Networking;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using System.Xml.Linq;
@@ -1,9 +1,4 @@
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Xml.Linq;
namespace Barotrauma
namespace Barotrauma
{
partial class GameSession
{
@@ -1,9 +1,4 @@
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Xml.Linq;
namespace Barotrauma
{
@@ -1,13 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
using Lidgren.Network;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Barotrauma.Networking;
using System.IO;
using System.Xml.Linq;
namespace Barotrauma.Items.Components
{
@@ -1,14 +1,4 @@
using Barotrauma.Networking;
using FarseerPhysics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using Voronoi2;
namespace Barotrauma.Items.Components
{
@@ -1,8 +1,5 @@
using FarseerPhysics.Dynamics;
using Barotrauma.Networking;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Lidgren.Network;
using Barotrauma.Networking;
namespace Barotrauma
{
@@ -1,11 +1,4 @@
using System;
using Lidgren.Network;
using Microsoft.Xna.Framework;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.ComponentModel;
using System.Linq;
namespace Barotrauma.Networking
{
@@ -1,12 +1,4 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using Lidgren.Network;
using Microsoft.Xna.Framework;
using RestSharp;
using Barotrauma.Items.Components;
using Lidgren.Network;
namespace Barotrauma.Networking
{
@@ -1,12 +1,4 @@
using System;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
using Lidgren.Network;
using Barotrauma.Items.Components;
namespace Barotrauma.Networking
namespace Barotrauma.Networking
{
abstract partial class NetworkMember
{
@@ -1,12 +1,4 @@
using Barotrauma.Networking;
using Lidgren.Network;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Barotrauma
namespace Barotrauma
{
partial class Voting
{
@@ -2,12 +2,10 @@
using System;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading;
#if WINDOWS
using System.Management;
#endif
#endregion
@@ -1,11 +1,7 @@
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Barotrauma.Networking;
using System.Linq;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.ComponentModel;
using System.Linq;
namespace Barotrauma
{
@@ -1,11 +1,4 @@
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Barotrauma.Networking;
using System.Linq;
using System.Collections.Generic;
using System.Reflection;
using System.ComponentModel;
namespace Barotrauma
{
@@ -6,16 +6,15 @@
// available in Farseer's implementation of MathHelper.
using System;
using System.Text;
using System.Runtime.Serialization;
using System.Diagnostics;
using System.Text;
namespace Microsoft.Xna.Framework
{
/// <summary>
/// Describes a 32-bit packed color.
/// </summary>
[DebuggerDisplay("{DebugDisplayString,nq}")]
[DebuggerDisplay("{DebugDisplayString,nq}")]
public struct Color : IEquatable<Color>
{
static Color()
@@ -40,10 +40,10 @@
namespace Microsoft.Xna.Framework.Input
{
/// <summary>
/// Identifies the state of a keyboard key.
/// </summary>
public enum KeyState
/// <summary>
/// Identifies the state of a keyboard key.
/// </summary>
public enum KeyState
{
/// <summary>
/// Key is released.
@@ -4,7 +4,6 @@
using System;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Microsoft.Xna.Framework
{
@@ -4,14 +4,13 @@
using System;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Microsoft.Xna.Framework
{
/// <summary>
/// An efficient mathematical representation for three dimensional rotations.
/// </summary>
[DebuggerDisplay("{DebugDisplayString,nq}")]
public struct Quaternion : IEquatable<Quaternion>
{
@@ -3,7 +3,6 @@
// file 'LICENSE.txt', which is part of this source code package.
using System;
using System.Runtime.Serialization;
using System.Diagnostics;
namespace Microsoft.Xna.Framework
@@ -11,7 +10,7 @@ namespace Microsoft.Xna.Framework
/// <summary>
/// Describes a 2D-rectangle.
/// </summary>
[DebuggerDisplay("{DebugDisplayString,nq}")]
public struct Rectangle : IEquatable<Rectangle>
{
@@ -6,7 +6,6 @@
// available in Farseer's implementation of MathHelper.
using System;
using System.Runtime.Serialization;
using System.Diagnostics;
namespace Microsoft.Xna.Framework
@@ -17,7 +16,7 @@ namespace Microsoft.Xna.Framework
#if XNADESIGNPROVIDED
[System.ComponentModel.TypeConverter(typeof(Microsoft.Xna.Framework.Design.Vector4TypeConverter))]
#endif
[DebuggerDisplay("{DebugDisplayString,nq}")]
[DebuggerDisplay("{DebugDisplayString,nq}")]
public struct Vector4 : IEquatable<Vector4>
{
#region Private Fields