Initial commit

This commit is contained in:
Eagle517
2026-01-14 10:27:57 -06:00
commit c1576fee30
11290 changed files with 1552799 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
// Portions Copyright (c) 2001 by Sierra Online, Inc.
//-----------------------------------------------------------------------------
exec("./ParticleEditor.cs");
exec("./Saves.cs");
function toggleParticleEditor(%val)
{
if( !isObject(ParticleEditor) )
{
echo(%this);
MessagePopup( "Particle Editor", "Initializing... Please Wait." );
Canvas.repaint();
exec("~/ui/ParticleEditor.gui" );
exec("~/scripts/ParticleEditor.cs");
exec("./Saves.cs" );
if( !isObject(EditorSaveMissionDlg) )
{
//editor.open();
//editor.close();
}
CloseMessagePopup();
}
if(%val)
{
if(!ParticleEditor.open)
{
if(ParticleEditor !$= "")
{
Canvas.pushDialog(ParticleEditor);
ParticleEditor.open = true;
}
}
else
{
Canvas.popDialog(ParticleEditor);
ParticleEditor.open = false;
}
}
}