Initial commit
This commit is contained in:
1291
Torque/SDK/example/ParticleEditor/scripts/ParticleEditor.cs
Normal file
1291
Torque/SDK/example/ParticleEditor/scripts/ParticleEditor.cs
Normal file
File diff suppressed because it is too large
Load Diff
BIN
Torque/SDK/example/ParticleEditor/scripts/ParticleEditor.cs.dso
Normal file
BIN
Torque/SDK/example/ParticleEditor/scripts/ParticleEditor.cs.dso
Normal file
Binary file not shown.
1
Torque/SDK/example/ParticleEditor/scripts/Saves.cs
Normal file
1
Torque/SDK/example/ParticleEditor/scripts/Saves.cs
Normal file
@@ -0,0 +1 @@
|
||||
$Particle::Save1 = "RainbowSpiralEmitter\nRainbowSpiralParticle\n5\n0\n4.5\n0\n0\n90\n90\n360\n0\n0\n1\n1\n0\n0\n-1.37485\n0\n0\n992\n96\n1\n-649\n13\n0\n\n0\n0\n0.74902\n1\n1.000000 0.000000 0.000000 0.000000\n0.000000 1.000000 0.000000 1.000000\n0.000000 0.000000 1.000000 0.000000\n1.02851\n1.02851\n1.02851";
|
||||
BIN
Torque/SDK/example/ParticleEditor/scripts/Saves.cs.dso
Normal file
BIN
Torque/SDK/example/ParticleEditor/scripts/Saves.cs.dso
Normal file
Binary file not shown.
44
Torque/SDK/example/ParticleEditor/scripts/init.cs
Normal file
44
Torque/SDK/example/ParticleEditor/scripts/init.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
Torque/SDK/example/ParticleEditor/scripts/init.cs.dso
Normal file
BIN
Torque/SDK/example/ParticleEditor/scripts/init.cs.dso
Normal file
Binary file not shown.
Reference in New Issue
Block a user