Add a lobby option to control spawning creeps (viceroids/worms)

The lobby option is only exposed in d2k currently, not in TD or TS.
This commit is contained in:
Oliver Brakmann
2014-12-28 17:39:26 +01:00
parent c1bf8b29e3
commit de0a62eb42
9 changed files with 314 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ namespace OpenRA
{
public bool? Cheats;
public bool? Crates;
public bool? Creeps;
public bool? Fog;
public bool? Shroud;
public bool? AllyBuildRadius;
@@ -76,6 +77,8 @@ namespace OpenRA
settings.AllowCheats = Cheats.Value;
if (Crates.HasValue)
settings.Crates = Crates.Value;
if (Creeps.HasValue)
settings.Creeps = Creeps.Value;
if (Fog.HasValue)
settings.Fog = Fog.Value;
if (Shroud.HasValue)