mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-25 22:35:37 +00:00
Parametrize script extension, default to 'tscript'
This commit is contained in:
parent
b8b62292bd
commit
099dd4f1f3
542 changed files with 774 additions and 783 deletions
|
|
@ -1,4 +1,4 @@
|
|||
exec( "tools/gui/profiles.ed.cs" );
|
||||
exec( "tools/gui/profiles.ed.tscript" );
|
||||
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
%guiContent = new GuiChunkedBitmapCtrl(MainMenuGui) {
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ function OptionsMenu::apply(%this)
|
|||
if(%actionMap == GlobalActionMap.getId())
|
||||
continue;
|
||||
|
||||
%actionMap.save( %prefPath @ "/keybinds.cs", %append );
|
||||
%actionMap.save( %prefPath @ "/keybinds.tscript", %append );
|
||||
|
||||
if(%append != true)
|
||||
%append = true;
|
||||
|
|
@ -107,7 +107,7 @@ function OptionsMenu::apply(%this)
|
|||
}
|
||||
|
||||
%prefPath = getPrefpath();
|
||||
export("$pref::*", %prefPath @ "/clientPrefs.cs", false);
|
||||
export("$pref::*", %prefPath @ "/clientPrefs.tscript", false);
|
||||
}
|
||||
|
||||
function OptionsMenu::resetToDefaults(%this)
|
||||
|
|
@ -290,7 +290,7 @@ function OptionsMenu::applyDisplaySettings(%this)
|
|||
|
||||
echo("Exporting client prefs");
|
||||
%prefPath = getPrefpath();
|
||||
export("$pref::*", %prefPath @ "/clientPrefs.cs", false);
|
||||
export("$pref::*", %prefPath @ "/clientPrefs.tscript", false);
|
||||
}
|
||||
|
||||
function OptionsMenu::populateGraphicsSettingsList(%this)
|
||||
|
|
@ -386,7 +386,7 @@ function OptionsMenu::applyGraphicsSettings(%this)
|
|||
|
||||
echo("Exporting client prefs");
|
||||
%prefPath = getPrefpath();
|
||||
export("$pref::*", %prefPath @ "/clientPrefs.cs", false);
|
||||
export("$pref::*", %prefPath @ "/clientPrefs.tscript", false);
|
||||
}
|
||||
|
||||
function updateDisplaySettings()
|
||||
Loading…
Add table
Add a link
Reference in a new issue