Tech tree changes to support non-buildable prerequisites, capturable superweapons, "hidden tech" for tech buildings, scripted tech unlocks, "build everything" developer toggle.

This commit is contained in:
Paul Chote
2010-08-27 23:51:12 +12:00
parent 7f3e491ecc
commit 853e60f76e
9 changed files with 141 additions and 76 deletions

View File

@@ -25,11 +25,11 @@ namespace OpenRA.Traits
public class DeveloperMode : IResolveOrder
{
DeveloperModeInfo Info;
[Sync]
public bool FastCharge;
public bool FastBuild;
public bool DisableShroud;
public bool PathDebug;
[Sync] public bool FastCharge;
[Sync] public bool AllTech;
[Sync] public bool FastBuild;
[Sync] public bool DisableShroud;
[Sync] public bool PathDebug;
public DeveloperMode(DeveloperModeInfo info)
{
@@ -46,6 +46,11 @@ namespace OpenRA.Traits
switch(order.OrderString)
{
case "DevEnableTech":
{
AllTech ^= true;
break;
}
case "DevFastCharge":
{
FastCharge ^= true;