|
@@ -30,57 +30,55 @@ function UI::initClient(%this)
|
|
{
|
|
{
|
|
//Load UI stuff
|
|
//Load UI stuff
|
|
//we need to load this because some of the menu profiles use the sounds here
|
|
//we need to load this because some of the menu profiles use the sounds here
|
|
- //exec("./datablocks/guiSounds.cs");
|
|
|
|
|
|
+ //%this.queueExec("./datablocks/guiSounds.cs");
|
|
|
|
|
|
//Profiles
|
|
//Profiles
|
|
- exec("./scripts/profiles.cs");
|
|
|
|
|
|
+ %this.queueExec("/scripts/profiles.cs");
|
|
|
|
|
|
//Now gui files
|
|
//Now gui files
|
|
- exec("./scripts/menuInputButtons.cs");
|
|
|
|
|
|
+ %this.queueExec("/scripts/menuInputButtons.cs");
|
|
|
|
|
|
- exec("./guis/mainMenu.cs");
|
|
|
|
- exec("./guis/mainMenu.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/mainMenu.cs");
|
|
|
|
+ %this.queueExec("/guis/mainMenu.gui");
|
|
|
|
|
|
- exec("./guis/chooseLevelDlg.cs");
|
|
|
|
- exec("./guis/chooseLevelDlg.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/chooseLevelDlg.cs");
|
|
|
|
+ %this.queueExec("/guis/chooseLevelDlg.gui");
|
|
|
|
|
|
- exec("./guis/joinServerMenu.cs");
|
|
|
|
- exec("./guis/joinServerMenu.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/joinServerMenu.cs");
|
|
|
|
+ %this.queueExec("/guis/joinServerMenu.gui");
|
|
|
|
|
|
- exec("./guis/loadingGui.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/loadingGui.gui");
|
|
|
|
|
|
- exec("./guis/optionsMenu.cs");
|
|
|
|
- exec("./guis/optionsMenu.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/optionsMenu.cs");
|
|
|
|
+ %this.queueExec("/guis/optionsMenu.gui");
|
|
|
|
|
|
- exec("./guis/pauseMenu.cs");
|
|
|
|
- exec("./guis/pauseMenu.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/pauseMenu.cs");
|
|
|
|
+ %this.queueExec("/guis/pauseMenu.gui");
|
|
|
|
|
|
- exec("./guis/remapDlg.gui");
|
|
|
|
- exec("./guis/remapConfirmDlg.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/remapDlg.gui");
|
|
|
|
+ %this.queueExec("/guis/remapConfirmDlg.gui");
|
|
|
|
|
|
- exec("./guis/profiler.cs");
|
|
|
|
- exec("./guis/profiler.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/profiler.cs");
|
|
|
|
+ %this.queueExec("/guis/profiler.gui");
|
|
|
|
|
|
- exec("./guis/netGraphGui.gui");
|
|
|
|
- exec("./guis/RecordingsDlg.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/netGraphGui.gui");
|
|
|
|
+ %this.queueExec("/guis/RecordingsDlg.gui");
|
|
|
|
|
|
- exec("./guis/guiMusicPlayer.cs");
|
|
|
|
- exec("./guis/guiMusicPlayer.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/guiMusicPlayer.cs");
|
|
|
|
+ %this.queueExec("/guis/guiMusicPlayer.gui");
|
|
|
|
|
|
- exec("./guis/startupGui.cs");
|
|
|
|
- exec("./guis/startupGui.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/startupGui.cs");
|
|
|
|
+ %this.queueExec("/guis/startupGui.gui");
|
|
|
|
|
|
// Load Editor Dialogs
|
|
// Load Editor Dialogs
|
|
- exec("./guis/messageBoxDlg.gui");
|
|
|
|
|
|
+ %this.queueExec("/guis/messageBoxDlg.gui");
|
|
|
|
|
|
//Load scripts
|
|
//Load scripts
|
|
- exec("./scripts/controlsMenu.cs");
|
|
|
|
- exec("./scripts/messageBoxes.cs");
|
|
|
|
- exec("./scripts/help.cs");
|
|
|
|
- exec("./scripts/cursors.cs");
|
|
|
|
- exec("./scripts/utility.cs");
|
|
|
|
-
|
|
|
|
- loadStartup();
|
|
|
|
|
|
+ %this.queueExec("/scripts/controlsMenu.cs");
|
|
|
|
+ %this.queueExec("/scripts/messageBoxes.cs");
|
|
|
|
+ %this.queueExec("/scripts/help.cs");
|
|
|
|
+ %this.queueExec("/scripts/cursors.cs");
|
|
|
|
+ %this.queueExec("/scripts/utility.cs");
|
|
}
|
|
}
|
|
|
|
|
|
function UI::onCreateClientConnection(%this){}
|
|
function UI::onCreateClientConnection(%this){}
|