trimming 'using' crap

This commit is contained in:
Chris Forbes
2009-12-05 14:23:30 +13:00
parent d34d4d3e66
commit 2435e48a82
99 changed files with 103 additions and 411 deletions

View File

@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml;
namespace OpenRa.Game.Graphics
{

View File

@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using OpenRa.FileFormats;
namespace OpenRa.Game.Graphics

View File

@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using Ijw.DirectX;
using System.Drawing;
using System.IO;
using OpenRa.FileFormats;
namespace OpenRa.Game.Graphics

View File

@@ -1,10 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using Ijw.DirectX;
using System.Runtime.InteropServices;
using System.Drawing;
namespace OpenRa.Game.Graphics
{

View File

@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq;
using OpenRa.FileFormats;
namespace OpenRa.Game.Graphics

View File

@@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Windows.Forms;
using Ijw.DirectX;

View File

@@ -1,6 +1,6 @@
using System.Collections.Generic;
using System.Xml;
using System.Linq;
using System.Xml;
using OpenRa.FileFormats;
namespace OpenRa.Game.Graphics

View File

@@ -1,8 +1,6 @@
using System.Drawing;
using System.IO;
using Ijw.DirectX;
using OpenRa.FileFormats;
using System.Drawing.Imaging;
namespace OpenRa.Game.Graphics
{

View File

@@ -25,14 +25,6 @@ namespace OpenRa.Game.Graphics
return Add(data, size);
}
public static void ForceNewSheet()
{
if( p == Point.Empty )
return;
current = NewSheet();
channel = NextChannel(null);
}
static Sheet NewSheet() { return new Sheet( renderer, new Size( Renderer.SheetSize, Renderer.SheetSize ) ); }
static Renderer renderer;

View File

@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace OpenRa.Game.Graphics

View File

@@ -1,8 +1,3 @@
using System;
using System.Collections.Generic;
using System.Text;
using OpenRa.FileFormats;
using System.Drawing;
using Ijw.DirectX;
namespace OpenRa.Game.Graphics

View File

@@ -1,5 +1,4 @@
using System.Drawing;
using System.Windows.Forms;
using System.Drawing;
using Ijw.DirectX;
using IjwFramework.Collections;
using OpenRa.FileFormats;
@@ -22,8 +21,6 @@ namespace OpenRa.Game.Graphics
this.map = map;
Size tileSize = new Size( Game.CellSize, Game.CellSize );
// SheetBuilder.ForceNewSheet();
var tileMapping = new Cache<TileReference, Sprite>(
x => SheetBuilder.Add(Rules.TileSet.GetBytes(x), tileSize));

View File

@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System;
using System.Linq;
namespace OpenRa.Game.Graphics