Remove UnitInfluenceDebug checkbox
This commit is contained in:
@@ -19,7 +19,6 @@ namespace OpenRA.Traits
|
||||
public bool FastCharge = false;
|
||||
public bool DisableShroud = false;
|
||||
public bool PathDebug = false;
|
||||
public bool UnitInfluenceDebug = false;
|
||||
public bool UnlimitedPower;
|
||||
public bool BuildAnywhere;
|
||||
|
||||
@@ -34,7 +33,6 @@ namespace OpenRA.Traits
|
||||
[Sync] public bool FastBuild;
|
||||
[Sync] public bool DisableShroud;
|
||||
[Sync] public bool PathDebug;
|
||||
[Sync] public bool UnitInfluenceDebug;
|
||||
[Sync] public bool UnlimitedPower;
|
||||
[Sync] public bool BuildAnywhere;
|
||||
|
||||
@@ -45,7 +43,6 @@ namespace OpenRA.Traits
|
||||
FastCharge = info.FastCharge;
|
||||
DisableShroud = info.DisableShroud;
|
||||
PathDebug = info.PathDebug;
|
||||
UnitInfluenceDebug = info.UnitInfluenceDebug;
|
||||
UnlimitedPower = info.UnlimitedPower;
|
||||
BuildAnywhere = info.BuildAnywhere;
|
||||
}
|
||||
@@ -88,11 +85,6 @@ namespace OpenRA.Traits
|
||||
PathDebug ^= true;
|
||||
break;
|
||||
}
|
||||
case "DevUnitDebug":
|
||||
{
|
||||
UnitInfluenceDebug ^= true;
|
||||
break;
|
||||
}
|
||||
case "DevGiveExploration":
|
||||
{
|
||||
if (self.World.LocalPlayer == self.Owner)
|
||||
|
||||
@@ -43,9 +43,6 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
|
||||
devmodeBG.GetWidget<CheckboxWidget>("CHECKBOX_SHROUD").BindReadOnly(devTrait, "DisableShroud");
|
||||
devmodeBG.GetWidget<CheckboxWidget>("CHECKBOX_SHROUD").OnChange += _ => Order(world, "DevShroud");
|
||||
|
||||
devmodeBG.GetWidget<CheckboxWidget>("CHECKBOX_UNITDEBUG").BindReadOnly(devTrait, "UnitInfluenceDebug");
|
||||
devmodeBG.GetWidget<CheckboxWidget>("CHECKBOX_UNITDEBUG").OnChange += _ => Order(world, "DevUnitDebug");
|
||||
|
||||
devmodeBG.GetWidget<CheckboxWidget>("CHECKBOX_PATHDEBUG").BindReadOnly(devTrait, "PathDebug");
|
||||
devmodeBG.GetWidget<CheckboxWidget>("CHECKBOX_PATHDEBUG").OnChange += _ => Order(world, "DevPathDebug");
|
||||
|
||||
|
||||
@@ -238,13 +238,13 @@ Container@INGAME_ROOT:
|
||||
Height:20
|
||||
Width:PARENT_RIGHT - 30
|
||||
Text:Disable Shroud
|
||||
Checkbox@CHECKBOX_UNITDEBUG:
|
||||
Id:CHECKBOX_UNITDEBUG
|
||||
Button@GIVE_EXPLORATION
|
||||
Id:GIVE_EXPLORATION
|
||||
X:30
|
||||
Y:80
|
||||
Width:PARENT_RIGHT - 30
|
||||
Width:200
|
||||
Height:20
|
||||
Text:Show Occupied Cells
|
||||
Text: Give Exploration
|
||||
Checkbox@CHECKBOX_PATHDEBUG:
|
||||
Id:CHECKBOX_PATHDEBUG
|
||||
X:30
|
||||
@@ -294,13 +294,6 @@ Container@INGAME_ROOT:
|
||||
Width:PARENT_RIGHT - 30
|
||||
Height:20
|
||||
Text:Build Anywhere
|
||||
Button@GIVE_EXPLORATION
|
||||
Id:GIVE_EXPLORATION
|
||||
X:30
|
||||
Y:320
|
||||
Width:200
|
||||
Height:20
|
||||
Text: Give Exploration
|
||||
Background@PERF_BG:
|
||||
ClickThrough:true
|
||||
Id:PERF_BG
|
||||
|
||||
@@ -245,13 +245,13 @@ Container@INGAME_ROOT:
|
||||
Height:20
|
||||
Width:PARENT_RIGHT - 30
|
||||
Text:Disable Shroud
|
||||
Checkbox@CHECKBOX_UNITDEBUG:
|
||||
Id:CHECKBOX_UNITDEBUG
|
||||
Button@GIVE_EXPLORATION
|
||||
Id:GIVE_EXPLORATION
|
||||
X:30
|
||||
Y:80
|
||||
Width:PARENT_RIGHT - 30
|
||||
Width:200
|
||||
Height:20
|
||||
Text:Show Occupied Cells
|
||||
Text: Give Exploration
|
||||
Checkbox@CHECKBOX_PATHDEBUG:
|
||||
Id:CHECKBOX_PATHDEBUG
|
||||
X:30
|
||||
@@ -301,13 +301,6 @@ Container@INGAME_ROOT:
|
||||
Width:PARENT_RIGHT - 30
|
||||
Height:20
|
||||
Text:Build Anywhere
|
||||
Button@GIVE_EXPLORATION
|
||||
Id:GIVE_EXPLORATION
|
||||
X:30
|
||||
Y:320
|
||||
Width:200
|
||||
Height:20
|
||||
Text: Give Exploration
|
||||
Background@PERF_BG:
|
||||
ClickThrough:true
|
||||
Id:PERF_BG
|
||||
|
||||
Reference in New Issue
Block a user