mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Shifts the tools messageboxes to be distinct from any messageboxes in the main game
Reorged the canvas handling of gamepad inputs for the axis and triggers to use the SI_ versions in the right spots Fixed issue where pause menu would be hidden and not display again Made the pause menu active from the gamepad start button rather than back
This commit is contained in:
parent
ef4cc8b573
commit
5b289bce5e
57 changed files with 217 additions and 217 deletions
|
|
@ -346,7 +346,7 @@ function CreateNewNavMeshDlg::create(%this)
|
|||
%name = %this-->MeshName.getText();
|
||||
if(%name $= "" || nameToID(%name) != -1)
|
||||
{
|
||||
MessageBoxOk("Error", "A NavMesh must have a unique name!");
|
||||
toolsMessageBoxOk("Error", "A NavMesh must have a unique name!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -356,7 +356,7 @@ function CreateNewNavMeshDlg::create(%this)
|
|||
{
|
||||
if(!isObject(getScene(0)))
|
||||
{
|
||||
MessageBoxOk("Error", "You must have a Scene to use the mission bounds function.");
|
||||
toolsMessageBoxOk("Error", "You must have a Scene to use the mission bounds function.");
|
||||
return;
|
||||
}
|
||||
// Get maximum extents of all objects.
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ function NavEditorPlugin::onActivated(%this)
|
|||
if(!isObject(ServerNavMeshSet))
|
||||
new SimSet(ServerNavMeshSet);
|
||||
if(ServerNavMeshSet.getCount() == 0)
|
||||
MessageBoxYesNo("No NavMesh", "There is no NavMesh in this level. Would you like to create one?" SPC
|
||||
toolsMessageBoxYesNo("No NavMesh", "There is no NavMesh in this level. Would you like to create one?" SPC
|
||||
"If not, please use the Nav Editor to create a new NavMesh.",
|
||||
"Canvas.pushDialog(CreateNewNavMeshDlg);");
|
||||
NavTreeView.open(ServerNavMeshSet, true);
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ function NavEditorGui::deleteSelected(%this)
|
|||
case "SelectMode":
|
||||
// Try to delete the selected NavMesh.
|
||||
if(isObject(NavEditorGui.selectedObject))
|
||||
MessageBoxYesNo("Warning",
|
||||
toolsMessageBoxYesNo("Warning",
|
||||
"Are you sure you want to delete" SPC NavEditorGui.selectedObject.getName(),
|
||||
"NavEditorGui.deleteMesh();");
|
||||
case "TestMode":
|
||||
|
|
@ -277,7 +277,7 @@ function NavEditorGui::followObject(%this)
|
|||
{
|
||||
eval("%obj = " @ %text);
|
||||
if(!isObject(%obj))
|
||||
MessageBoxOk("Error", "Cannot find object" SPC %text);
|
||||
toolsMessageBoxOk("Error", "Cannot find object" SPC %text);
|
||||
}
|
||||
if(isObject(%obj))
|
||||
%this.getPlayer().followObject(%obj, NavEditorOptionsWindow-->TestProperties->FollowRadius.getText());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue