Quellcode durchsuchen

shift prototyping UI into tools proper
was prototyped in the prototyping module. now properly resides in tools

AzaezelX vor 4 Monaten
Ursprung
Commit
26d0e427de

+ 0 - 3
Templates/BaseGame/game/data/Prototyping/Prototyping.tscript

@@ -37,9 +37,6 @@ function Prototyping::onDestroyGameServer(%this)
 //This is called when the client is initially set up by the game application
 function Prototyping::initClient(%this)
 {
-   //class method prototyping
-   %this.queueExec("./UI/classPrototyping");
-   %this.queueExec("./UI/classPrototyping.gui");
 }
 
 //This is called when a client connects to a server

+ 0 - 0
Templates/BaseGame/game/data/Prototyping/UI/classPrototyping.asset.taml → Templates/BaseGame/game/tools/gui/classPrototyping.asset.taml


+ 0 - 0
Templates/BaseGame/game/data/Prototyping/UI/classPrototyping.gui → Templates/BaseGame/game/tools/gui/classPrototyping.gui


+ 0 - 0
Templates/BaseGame/game/data/Prototyping/UI/classPrototyping.tscript → Templates/BaseGame/game/tools/gui/classPrototyping.tscript


+ 4 - 0
Templates/BaseGame/game/tools/main.tscript

@@ -88,6 +88,10 @@ function onStart()
    // common, along with the guiProfiles they depend on.
    exec( "./gui/guiDialogs.ed." @ $TorqueScriptFileExtension );
    
+   //class method prototyping
+   exec( "./gui/classPrototyping.gui");
+   exec( "./gui/classPrototyping");
+   
    //%toggle = $Scripts::ignoreDSOs;
    //$Scripts::ignoreDSOs = true;