Overlay rendering

- also, sequences for HBOX and PBOX
This commit is contained in:
Bob
2009-10-10 21:23:33 +13:00
parent 4fa05a6d40
commit b880f7d1bc
10 changed files with 152 additions and 76 deletions

View File

@@ -70,8 +70,8 @@ namespace OpenRa.Game
{
string key = line.Substring(0, line.IndexOf(','));
int secondComma = line.IndexOf(',', line.IndexOf(',') + 1);
string group = line.Substring(secondComma + 1, line.Length - secondComma - 1);
sprites.Add(key, SpriteSheetBuilder.LoadSprite(key + "icon.shp"));
string group = line.Substring(secondComma + 1, line.Length - secondComma - 1);
sprites.Add( key, SpriteSheetBuilder.LoadSprite( key + "icon", ".shp" ) );
itemGroups.Add(key, group);
}
}