crude map change support; quite a few things aren't right

This commit is contained in:
Chris Forbes
2009-12-22 21:49:04 +13:00
parent ff90bd7b21
commit f57865bd32
7 changed files with 81 additions and 35 deletions

View File

@@ -8,13 +8,14 @@ namespace OpenRa.Game.Graphics
{
static class SequenceProvider
{
static Dictionary<string, Dictionary<string, Sequence>> units =
new Dictionary<string, Dictionary<string, Sequence>>();
static Dictionary<string, CursorSequence> cursors = new Dictionary<string, CursorSequence>();
static Dictionary<string, Dictionary<string, Sequence>> units;
static Dictionary<string, CursorSequence> cursors;
public static void Initialize( bool useAftermath )
{
units = new Dictionary<string, Dictionary<string, Sequence>>();
cursors = new Dictionary<string, CursorSequence>();
LoadSequenceSource("sequences.xml");
if (useAftermath)
LoadSequenceSource("sequences-aftermath.xml");