that wasnt really used.
This commit is contained in:
@@ -57,7 +57,7 @@ namespace OpenRa.Game
|
||||
.Where(u => Rules.UnitInfo[u].TechLevel != -1)
|
||||
.ToDictionary(
|
||||
u => u,
|
||||
u => SpriteSheetBuilder.LoadSprite(u + "icon", ".shp"));
|
||||
u => SpriteSheetBuilder.LoadAllSprites(u + "icon", ".shp")[0]);
|
||||
|
||||
tabSprites = groups.Select(
|
||||
(g, i) => Pair.New(g,
|
||||
|
||||
@@ -12,11 +12,6 @@ namespace OpenRa.Game.Graphics
|
||||
|
||||
static Dictionary<string, Sprite[]> sprites;
|
||||
|
||||
public static Sprite LoadSprite(string filename, params string[] exts )
|
||||
{
|
||||
return LoadAllSprites( filename, exts )[ 0 ];
|
||||
}
|
||||
|
||||
public static Sprite[] LoadAllSprites( string filename, params string[] exts )
|
||||
{
|
||||
Sprite[] value;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Ijw.DirectX;
|
||||
using OpenRa.FileFormats;
|
||||
using IjwFramework.Collections;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user