From 26d0e427de856dc84a86266104b51e3d9596af25 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Sat, 17 May 2025 16:25:07 -0500 Subject: [PATCH] shift prototyping UI into tools proper was prototyped in the prototyping module. now properly resides in tools --- Templates/BaseGame/game/data/Prototyping/Prototyping.tscript | 3 --- .../Prototyping/UI => tools/gui}/classPrototyping.asset.taml | 0 .../{data/Prototyping/UI => tools/gui}/classPrototyping.gui | 0 .../Prototyping/UI => tools/gui}/classPrototyping.tscript | 0 Templates/BaseGame/game/tools/main.tscript | 4 ++++ 5 files changed, 4 insertions(+), 3 deletions(-) rename Templates/BaseGame/game/{data/Prototyping/UI => tools/gui}/classPrototyping.asset.taml (100%) rename Templates/BaseGame/game/{data/Prototyping/UI => tools/gui}/classPrototyping.gui (100%) rename Templates/BaseGame/game/{data/Prototyping/UI => tools/gui}/classPrototyping.tscript (100%) diff --git a/Templates/BaseGame/game/data/Prototyping/Prototyping.tscript b/Templates/BaseGame/game/data/Prototyping/Prototyping.tscript index abdf546be..c053fd2cf 100644 --- a/Templates/BaseGame/game/data/Prototyping/Prototyping.tscript +++ b/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 diff --git a/Templates/BaseGame/game/data/Prototyping/UI/classPrototyping.asset.taml b/Templates/BaseGame/game/tools/gui/classPrototyping.asset.taml similarity index 100% rename from Templates/BaseGame/game/data/Prototyping/UI/classPrototyping.asset.taml rename to Templates/BaseGame/game/tools/gui/classPrototyping.asset.taml diff --git a/Templates/BaseGame/game/data/Prototyping/UI/classPrototyping.gui b/Templates/BaseGame/game/tools/gui/classPrototyping.gui similarity index 100% rename from Templates/BaseGame/game/data/Prototyping/UI/classPrototyping.gui rename to Templates/BaseGame/game/tools/gui/classPrototyping.gui diff --git a/Templates/BaseGame/game/data/Prototyping/UI/classPrototyping.tscript b/Templates/BaseGame/game/tools/gui/classPrototyping.tscript similarity index 100% rename from Templates/BaseGame/game/data/Prototyping/UI/classPrototyping.tscript rename to Templates/BaseGame/game/tools/gui/classPrototyping.tscript diff --git a/Templates/BaseGame/game/tools/main.tscript b/Templates/BaseGame/game/tools/main.tscript index 70d94525d..bddff7add 100644 --- a/Templates/BaseGame/game/tools/main.tscript +++ b/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;