Map chooser

This commit is contained in:
Paul Chote
2010-04-03 20:11:51 +13:00
committed by Bob
parent 4e0170a437
commit 70dad96ad6
8 changed files with 133 additions and 75 deletions

View File

@@ -30,7 +30,8 @@ namespace OpenRA.FileFormats
public class Map
{
public IFolder Package;
public string Uid;
// Yaml map data
public int MapFormat = 1;
public string Title;
@@ -63,7 +64,7 @@ namespace OpenRA.FileFormats
public IEnumerable<int2> SpawnPoints {get {return Waypoints.Select(kv => kv.Value);}}
static List<string> SimpleFields = new List<string>() {
"MapFormat", "Title", "Description", "Author", "PlayerCount", "Tileset", "MapSize", "TopLeft", "BottomRight"
"Uid", "MapFormat", "Title", "Description", "Author", "PlayerCount", "Tileset", "MapSize", "TopLeft", "BottomRight"
};
public Map() {}