add reset exploration developer cheat

This commit is contained in:
Matthias Mailänder
2013-03-07 20:32:00 +01:00
parent 3f56e00173
commit 58c3b52a1a
4 changed files with 26 additions and 10 deletions

View File

@@ -73,7 +73,7 @@ namespace OpenRA.Traits
self.Trait<PlayerResources>().GiveCash(Info.Cash);
break;
}
case "DevShroud":
case "DevShroudDisable":
{
DisableShroud ^= true;
self.Owner.Shroud.Disabled = DisableShroud;
@@ -89,6 +89,11 @@ namespace OpenRA.Traits
self.Owner.Shroud.ExploreAll(self.World);
break;
}
case "DevResetExploration":
{
self.Owner.Shroud.ResetExploration();
break;
}
case "DevUnlimitedPower":
{
UnlimitedPower ^= true;