mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Enable to play recorded gameplay demo from main menu.
This commit is contained in:
parent
64fab756f8
commit
4699a2142b
4 changed files with 48 additions and 6 deletions
|
|
@ -16,7 +16,7 @@
|
||||||
isContainer = "1";
|
isContainer = "1";
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
canSaveDynamicFields = "1";
|
canSaveDynamicFields = "1";
|
||||||
enabled = "1";
|
Enabled = "1";
|
||||||
isDecoy = "0";
|
isDecoy = "0";
|
||||||
|
|
||||||
new GuiBitmapCtrl(MainMenuAppLogo) {
|
new GuiBitmapCtrl(MainMenuAppLogo) {
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
isContainer = "0";
|
isContainer = "0";
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
canSaveDynamicFields = "1";
|
canSaveDynamicFields = "1";
|
||||||
enabled = "1";
|
Enabled = "1";
|
||||||
isDecoy = "0";
|
isDecoy = "0";
|
||||||
};
|
};
|
||||||
new GuiControl() {
|
new GuiControl() {
|
||||||
|
|
@ -59,7 +59,7 @@
|
||||||
buttonType = "PushButton";
|
buttonType = "PushButton";
|
||||||
useMouseEvents = "1";
|
useMouseEvents = "1";
|
||||||
position = "9 26";
|
position = "9 26";
|
||||||
extent = "289 75";
|
extent = "219 75";
|
||||||
minExtent = "8 8";
|
minExtent = "8 8";
|
||||||
horizSizing = "relative";
|
horizSizing = "relative";
|
||||||
vertSizing = "bottom";
|
vertSizing = "bottom";
|
||||||
|
|
@ -158,6 +158,26 @@
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
canSaveDynamicFields = "0";
|
canSaveDynamicFields = "0";
|
||||||
};
|
};
|
||||||
|
new GuiButtonCtrl() {
|
||||||
|
text = "Replay";
|
||||||
|
groupNum = "-1";
|
||||||
|
buttonType = "PushButton";
|
||||||
|
useMouseEvents = "0";
|
||||||
|
position = "215 26";
|
||||||
|
extent = "83 75";
|
||||||
|
minExtent = "8 2";
|
||||||
|
horizSizing = "right";
|
||||||
|
vertSizing = "bottom";
|
||||||
|
profile = "GuiMenuButtonProfile";
|
||||||
|
visible = "1";
|
||||||
|
active = "1";
|
||||||
|
command = "Canvas.pushDialog(RecordingsDlg);";
|
||||||
|
tooltipProfile = "GuiToolTipProfile";
|
||||||
|
hovertime = "1000";
|
||||||
|
isContainer = "0";
|
||||||
|
canSave = "1";
|
||||||
|
canSaveDynamicFields = "0";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
//--- OBJECT WRITE END ---
|
//--- OBJECT WRITE END ---
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ function initializeCore()
|
||||||
exec("~/art/gui/console.gui");
|
exec("~/art/gui/console.gui");
|
||||||
exec("~/art/gui/consoleVarDlg.gui");
|
exec("~/art/gui/consoleVarDlg.gui");
|
||||||
exec("~/art/gui/netGraphGui.gui");
|
exec("~/art/gui/netGraphGui.gui");
|
||||||
|
exec("~/art/gui/RecordingsDlg.gui");
|
||||||
|
|
||||||
// Gui Helper Scripts.
|
// Gui Helper Scripts.
|
||||||
exec("~/scripts/gui/help.cs");
|
exec("~/scripts/gui/help.cs");
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
isContainer = "1";
|
isContainer = "1";
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
canSaveDynamicFields = "1";
|
canSaveDynamicFields = "1";
|
||||||
enabled = "1";
|
Enabled = "1";
|
||||||
isDecoy = "0";
|
isDecoy = "0";
|
||||||
|
|
||||||
new GuiBitmapCtrl(MainMenuAppLogo) {
|
new GuiBitmapCtrl(MainMenuAppLogo) {
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
isContainer = "0";
|
isContainer = "0";
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
canSaveDynamicFields = "1";
|
canSaveDynamicFields = "1";
|
||||||
enabled = "1";
|
Enabled = "1";
|
||||||
isDecoy = "0";
|
isDecoy = "0";
|
||||||
};
|
};
|
||||||
new GuiControl() {
|
new GuiControl() {
|
||||||
|
|
@ -59,7 +59,7 @@
|
||||||
buttonType = "PushButton";
|
buttonType = "PushButton";
|
||||||
useMouseEvents = "1";
|
useMouseEvents = "1";
|
||||||
position = "9 18";
|
position = "9 18";
|
||||||
extent = "289 75";
|
extent = "219 75";
|
||||||
minExtent = "8 8";
|
minExtent = "8 8";
|
||||||
horizSizing = "relative";
|
horizSizing = "relative";
|
||||||
vertSizing = "bottom";
|
vertSizing = "bottom";
|
||||||
|
|
@ -178,6 +178,26 @@
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
canSaveDynamicFields = "0";
|
canSaveDynamicFields = "0";
|
||||||
};
|
};
|
||||||
|
new GuiButtonCtrl() {
|
||||||
|
text = "Replay";
|
||||||
|
groupNum = "-1";
|
||||||
|
buttonType = "PushButton";
|
||||||
|
useMouseEvents = "0";
|
||||||
|
position = "215 18";
|
||||||
|
extent = "83 75";
|
||||||
|
minExtent = "8 2";
|
||||||
|
horizSizing = "right";
|
||||||
|
vertSizing = "bottom";
|
||||||
|
profile = "GuiMenuButtonProfile";
|
||||||
|
visible = "1";
|
||||||
|
active = "1";
|
||||||
|
command = "Canvas.pushDialog(RecordingsDlg);";
|
||||||
|
tooltipProfile = "GuiToolTipProfile";
|
||||||
|
hovertime = "1000";
|
||||||
|
isContainer = "0";
|
||||||
|
canSave = "1";
|
||||||
|
canSaveDynamicFields = "0";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
//--- OBJECT WRITE END ---
|
//--- OBJECT WRITE END ---
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ function initializeCore()
|
||||||
exec("~/art/gui/console.gui");
|
exec("~/art/gui/console.gui");
|
||||||
exec("~/art/gui/consoleVarDlg.gui");
|
exec("~/art/gui/consoleVarDlg.gui");
|
||||||
exec("~/art/gui/netGraphGui.gui");
|
exec("~/art/gui/netGraphGui.gui");
|
||||||
|
exec("~/art/gui/RecordingsDlg.gui");
|
||||||
|
|
||||||
// Gui Helper Scripts.
|
// Gui Helper Scripts.
|
||||||
exec("~/scripts/gui/help.cs");
|
exec("~/scripts/gui/help.cs");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue