Add GUI checkbox for Debug.StrictActivityChecking.
This commit is contained in:
@@ -497,6 +497,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
BindCheckboxPref(panel, "REPLAY_COMMANDS_CHECKBOX", ds, "EnableDebugCommandsInReplays");
|
||||
BindCheckboxPref(panel, "CHECKUNSYNCED_CHECKBOX", ds, "SyncCheckUnsyncedCode");
|
||||
BindCheckboxPref(panel, "CHECKBOTSYNC_CHECKBOX", ds, "SyncCheckBotModuleCode");
|
||||
BindCheckboxPref(panel, "STRICTACTIVITY_CHECKBOX", ds, "StrictActivityChecking");
|
||||
|
||||
panel.Get("DEBUG_OPTIONS").IsVisible = () => ds.DisplayDeveloperSettings;
|
||||
panel.Get("DEBUG_HIDDEN_LABEL").IsVisible = () => !ds.DisplayDeveloperSettings;
|
||||
|
||||
@@ -629,6 +629,13 @@ Container@SETTINGS_PANEL:
|
||||
Height: 20
|
||||
Font: Regular
|
||||
Text: Enable Debug Commands in Replays
|
||||
Checkbox@STRICTACTIVITY_CHECKBOX:
|
||||
X: 310
|
||||
Y: 280
|
||||
Width: 300
|
||||
Height: 20
|
||||
Font: Regular
|
||||
Text: Strict Activity checking
|
||||
Button@BACK_BUTTON:
|
||||
Key: escape
|
||||
Y: 393
|
||||
|
||||
@@ -640,3 +640,10 @@ Background@SETTINGS_PANEL:
|
||||
Height: 20
|
||||
Font: Regular
|
||||
Text: Enable Debug Commands in Replays
|
||||
Checkbox@STRICTACTIVITY_CHECKBOX:
|
||||
X: 310
|
||||
Y: 280
|
||||
Width: 300
|
||||
Height: 20
|
||||
Font: Regular
|
||||
Text: Strict Activity checking
|
||||
Reference in New Issue
Block a user