mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
template index file review
remove redundant referenes to $TorqueScriptFileExtension. exec and queueExec both handle those internaly. as pointed out in #511, we were already executing the guimusicpayer.gui in the ut.tscript module via queue. as that case allows folks to bolt a true at the end of the method to override the file-call and replace it with a personalized variant in another module, removed the redundant exec
This commit is contained in:
parent
18a7e31991
commit
c640d8823d
4 changed files with 20 additions and 27 deletions
|
|
@ -30,55 +30,55 @@ function UI::initClient(%this)
|
|||
{
|
||||
//Load UI stuff
|
||||
//we need to load this because some of the menu profiles use the sounds here
|
||||
//%this.queueExec("./datablocks/guiSounds." @ $TorqueScriptFileExtension);
|
||||
//%this.queueExec("./datablocks/guiSounds");
|
||||
|
||||
//Profiles
|
||||
%this.queueExec("./scripts/profiles." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./scripts/profiles");
|
||||
|
||||
//Now gui files
|
||||
%this.queueExec("./scripts/menuInputButtons." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./scripts/menuInputButtons");
|
||||
|
||||
%this.queueExec("./guis/mainMenu." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./guis/mainMenu");
|
||||
%this.queueExec("./guis/mainMenu.gui");
|
||||
|
||||
%this.queueExec("./guis/chooseLevelDlg." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./guis/chooseLevelDlg");
|
||||
%this.queueExec("./guis/chooseLevelDlg.gui");
|
||||
|
||||
%this.queueExec("./guis/joinServerMenu." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./guis/joinServerMenu");
|
||||
%this.queueExec("./guis/joinServerMenu.gui");
|
||||
|
||||
%this.queueExec("./guis/loadingGui.gui");
|
||||
|
||||
%this.queueExec("./guis/optionsMenu." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./guis/optionsMenu");
|
||||
%this.queueExec("./guis/optionsMenu.gui");
|
||||
|
||||
%this.queueExec("./guis/pauseMenu." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./guis/pauseMenu");
|
||||
%this.queueExec("./guis/pauseMenu.gui");
|
||||
|
||||
%this.queueExec("./guis/remapDlg.gui");
|
||||
%this.queueExec("./guis/remapConfirmDlg.gui");
|
||||
|
||||
%this.queueExec("./guis/profiler." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./guis/profiler");
|
||||
%this.queueExec("./guis/profiler.gui");
|
||||
|
||||
%this.queueExec("./guis/netGraphGui.gui");
|
||||
%this.queueExec("./guis/RecordingsDlg.gui");
|
||||
|
||||
%this.queueExec("./guis/guiMusicPlayer." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./guis/guiMusicPlayer");
|
||||
%this.queueExec("./guis/guiMusicPlayer.gui");
|
||||
|
||||
%this.queueExec("./guis/startupGui." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./guis/startupGui");
|
||||
%this.queueExec("./guis/startupGui.gui");
|
||||
|
||||
// Load Editor Dialogs
|
||||
%this.queueExec("./guis/messageBoxDlg.gui");
|
||||
|
||||
//Load scripts
|
||||
%this.queueExec("./scripts/controlsMenu." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./scripts/messageBoxes." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./scripts/help." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./scripts/cursors." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./scripts/utility." @ $TorqueScriptFileExtension);
|
||||
%this.queueExec("./scripts/controlsMenu");
|
||||
%this.queueExec("./scripts/messageBoxes");
|
||||
%this.queueExec("./scripts/help");
|
||||
%this.queueExec("./scripts/cursors");
|
||||
%this.queueExec("./scripts/utility");
|
||||
}
|
||||
|
||||
function UI::onCreateClientConnection(%this){}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue