mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-24 06:34:45 +00:00
This makes some tweaks to the engine to support this, specifically, it tweaks the hardcoded shaderpaths to defer to a pref variable, so none of the shader paths are hardcoded. Also tweaks how post effects read in texture files, removing a bizzare filepath interpretation choice, where if the file path didn't start with "/" it forcefully appended the script's file path. This made it impossible to have images not in the same dir as the script file defining the post effect. This was changed and the existing template's post effects tweaked for now to just add "./" to those few paths impacted, as well as the perf vars to support the non-hardcoded shader paths in the engine.
146 lines
4.1 KiB
Plaintext
146 lines
4.1 KiB
Plaintext
//--- OBJECT WRITE BEGIN ---
|
|
%guiContent = new GuiControl(DebuggerBreakConditionDlg, EditorGuiGroup) {
|
|
profile = "ToolsGuiDefaultProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "0 0";
|
|
extent = "640 480";
|
|
minExtent = "8 8";
|
|
visible = "True";
|
|
setFirstResponder = "False";
|
|
modal = "True";
|
|
helpTag = "0";
|
|
|
|
new GuiWindowCtrl() {
|
|
profile = "ToolsGuiWindowProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "220 146";
|
|
extent = "200 188";
|
|
minExtent = "8 8";
|
|
visible = "True";
|
|
setFirstResponder = "False";
|
|
modal = "True";
|
|
helpTag = "0";
|
|
text = "Set the break condition";
|
|
resizeWidth = "True";
|
|
resizeHeight = "True";
|
|
canMove = "False";
|
|
canClose = "False";
|
|
canMinimize = "False";
|
|
canMaximize = "False";
|
|
minSize = "50 50";
|
|
|
|
new GuiTextCtrl() {
|
|
profile = "ToolsGuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "20 28";
|
|
extent = "121 18";
|
|
minExtent = "8 8";
|
|
visible = "True";
|
|
setFirstResponder = "False";
|
|
modal = "True";
|
|
helpTag = "0";
|
|
text = "Enter the break condition:";
|
|
};
|
|
new GuiTextEditCtrl(BreakCondition) {
|
|
profile = "ToolsGuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "20 44";
|
|
extent = "160 18";
|
|
minExtent = "8 8";
|
|
visible = "True";
|
|
setFirstResponder = "False";
|
|
modal = "True";
|
|
altCommand = "DbgBreakConditionSet();";
|
|
helpTag = "0";
|
|
historySize = "0";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "ToolsGuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "20 68";
|
|
extent = "57 18";
|
|
minExtent = "8 8";
|
|
visible = "True";
|
|
setFirstResponder = "False";
|
|
modal = "True";
|
|
helpTag = "0";
|
|
text = "Pass Count:";
|
|
};
|
|
new GuiTextEditCtrl(BreakPassCount) {
|
|
profile = "ToolsGuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "20 84";
|
|
extent = "160 18";
|
|
minExtent = "8 8";
|
|
visible = "True";
|
|
setFirstResponder = "False";
|
|
modal = "True";
|
|
helpTag = "0";
|
|
historySize = "0";
|
|
returnTab = "true";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "ToolsGuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "20 108";
|
|
extent = "27 18";
|
|
minExtent = "8 8";
|
|
visible = "True";
|
|
setFirstResponder = "False";
|
|
modal = "True";
|
|
helpTag = "0";
|
|
text = "Clear:";
|
|
};
|
|
new GuiTextEditCtrl(BreakClear) {
|
|
profile = "ToolsGuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "20 124";
|
|
extent = "160 18";
|
|
minExtent = "8 8";
|
|
visible = "True";
|
|
setFirstResponder = "False";
|
|
modal = "True";
|
|
helpTag = "0";
|
|
historySize = "0";
|
|
returnTab = "true";
|
|
};
|
|
new GuiButtonCtrl() {
|
|
profile = "ToolsGuiButtonProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "56 156";
|
|
extent = "40 16";
|
|
minExtent = "8 8";
|
|
visible = "True";
|
|
setFirstResponder = "False";
|
|
modal = "True";
|
|
command = "DbgBreakConditionSet();";
|
|
helpTag = "0";
|
|
text = "Set";
|
|
};
|
|
new GuiButtonCtrl() {
|
|
profile = "ToolsGuiButtonProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "104 156";
|
|
extent = "40 16";
|
|
minExtent = "8 8";
|
|
visible = "True";
|
|
setFirstResponder = "False";
|
|
modal = "True";
|
|
command = "Canvas.popDialog(DebuggerBreakConditionDlg);";
|
|
helpTag = "0";
|
|
text = "Cancel";
|
|
};
|
|
};
|
|
};
|
|
//--- OBJECT WRITE END ---
|