Shellmap unselectable for multiplayer

This commit is contained in:
Paul Chote
2010-04-09 21:23:22 +12:00
parent 44981f50a4
commit f116455ef6
15 changed files with 444 additions and 6 deletions

View File

@@ -32,7 +32,8 @@ namespace OpenRA.FileFormats
public IFolder Package;
public string Uid;
// Yaml map data
// Yaml map data
public bool Selectable;
public int MapFormat = 1;
public string Title;
public string Description;
@@ -65,7 +66,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"
"Selectable", "MapFormat", "Title", "Description", "Author", "PlayerCount", "Tileset", "MapSize", "TopLeft", "BottomRight"
};
public Map() { }