mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-27 23:35:45 +00:00
Fleshes out remaining missing editor settings entries/categories
Makes GUIAssets exec scripts before the gui file to allow onAdd methods to work Adds missing getForestPath and getNavmeshPath methods and updates asset move logic to utilize them
This commit is contained in:
parent
3b9414b5f9
commit
6b28f1f151
13 changed files with 112 additions and 24 deletions
|
|
@ -19,12 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
function ESettingsWindow::startup( %this )
|
||||
function ESettingsWindow::onAdd(%this)
|
||||
{
|
||||
new ArrayObject(EditorSettingsPageList);
|
||||
new ArrayObject(GameSettingsPageList);
|
||||
}
|
||||
|
||||
function ESettingsWindow::startup( %this )
|
||||
{
|
||||
%this.addEditorSettingsPage("Axis", "Axis Gizmo");
|
||||
%this.addEditorSettingsPage("General", "General Settings");
|
||||
%this.addEditorSettingsPage("Camera", "Camera Settings");
|
||||
|
|
@ -303,13 +305,6 @@ function ESettingsWindow::getGeneralSettings(%this)
|
|||
//SettingsInspector.addSettingsField("WorldEditor/torsionPath", "Torsion Path", "filename", "");
|
||||
SettingsInspector.endGroup();
|
||||
|
||||
SettingsInspector.startGroup("Theme");
|
||||
SettingsInspector.addSettingsField("WorldEditor/Theme/backgroundColor", "Background Color", "colorI", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/Theme/windowTitleBGColor", "Window Title Color", "colorI", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/Theme/windowTitleFontColor", "Window Title Text Color", "colorI", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/Theme/mainTextColor", "Main Text Color", "colorI", "");
|
||||
SettingsInspector.endGroup();
|
||||
|
||||
SettingsInspector.startGroup("Layout");
|
||||
/*SettingsInspector.addSettingsField("WorldEditor/Layout/LayoutMode", "Editor Layout Mode", "list", "This dictates which layout style the editor should use." @
|
||||
"WARNING - Modern layout is highlight experimental." @
|
||||
|
|
@ -327,7 +322,7 @@ function ESettingsWindow::getCameraSettings(%this)
|
|||
//Based on currently loaded level(rootScene)
|
||||
SettingsInspector.startGroup(EditorSettings.value("WorldEditor/newLevelFile") @ " Camera");
|
||||
SettingsInspector.addSettingsField("Camera/cameraMinSpeed", "Camera Speed Min", "float", "");
|
||||
SettingsInspector.addSettingsField("Camera/cameraMaxSpeed", "Camera Speed Max", "200", "");
|
||||
SettingsInspector.addSettingsField("Camera/cameraMaxSpeed", "Camera Speed Max", "float", "");
|
||||
SettingsInspector.endGroup();
|
||||
}
|
||||
|
||||
|
|
@ -365,7 +360,8 @@ function ESettingsWindow::getSceneEditorSettings(%this)
|
|||
|
||||
SettingsInspector.startGroup("Misc");
|
||||
//SettingsInspector.addSettingsField("WorldEditor/forceLoadDAE", "Force Load DAE", "bool", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/forceLoadDAE", "Force Load DAE", "bool", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/Tools/dropAtScreenCenterScalar", "Screen Center Scalar", "string", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/Tools/dropAtScreenCenterMax", "Screen Center Max", "string", "");
|
||||
SettingsInspector.endGroup();
|
||||
|
||||
SettingsInspector.startGroup("Layout");
|
||||
|
|
@ -444,6 +440,9 @@ function ESettingsWindow::getPostFXSettings(%this)
|
|||
SettingsInspector.endGroup();
|
||||
}
|
||||
|
||||
function ESettingsWindow::getObjectEditorSettings(%this)
|
||||
{
|
||||
}
|
||||
//
|
||||
// COMMON GAME SETTINGS
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue