messy first pass at fixing map change palette weirdness, etc

This commit is contained in:
Chris Forbes
2009-12-24 08:43:26 +13:00
parent a9010d1947
commit cf0be69f66
5 changed files with 32 additions and 6 deletions

View File

@@ -5,8 +5,12 @@ namespace OpenRa.Game.Graphics
{
static class SpriteSheetBuilder
{
static Dictionary<string, Sprite[]> sprites =
new Dictionary<string, Sprite[]>();
public static void Initialize()
{
sprites = new Dictionary<string, Sprite[]>();
}
static Dictionary<string, Sprite[]> sprites;
public static Sprite LoadSprite(string filename, params string[] exts )
{