Allow mods and maps to define voxel sequences.

This commit is contained in:
Paul Chote
2013-02-23 14:42:44 +13:00
parent a00696ec3b
commit 82faf7e929
6 changed files with 109 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ namespace OpenRA
SpriteLoader = new SpriteLoader(Rules.TileSets[map.Tileset].Extensions, SheetBuilder);
// TODO: Don't load the sequences for assets that are not used in this tileset. Maybe use the existing EditorTilesetFilters.
SequenceProvider.Initialize(Manifest.Sequences, map.Sequences);
VoxelProvider.Initialize(Manifest.VoxelSequences, map.VoxelSequences);
return map;
}