Move starting units configuration to rules.

This commit is contained in:
Paul Chote
2016-02-29 20:20:02 +00:00
parent e34864fe40
commit 3c779d4101
7 changed files with 27 additions and 11 deletions

View File

@@ -61,7 +61,6 @@ namespace OpenRA
public bool? Creeps;
public bool? AllyBuildRadius;
public string TechLevel;
public bool ConfigurableStartingUnits = true;
public string[] Difficulties = { };
public bool? ShortGame;
@@ -118,7 +117,6 @@ namespace OpenRA
public string Description;
public string Author;
public string Tileset;
public bool AllowStartUnitConfig = true;
public Bitmap CustomPreview;
public bool InvalidCustomRules { get; private set; }

View File

@@ -191,7 +191,7 @@ namespace OpenRA.Network
public bool AllyBuildRadius = true;
public int StartingCash = 5000;
public string TechLevel = "none";
public string StartingUnitsClass = "none";
public string StartingUnitsClass;
public string GameSpeedType = "default";
public bool ShortGame = true;
public bool AllowVersionMismatch;