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