mirror of
https://github.com/4ian/GDevelop.git
synced 2026-10-12 02:01:17 +00:00
Add clang-format to format (C++) source files automatically (#491)
* Update all CMakeLists of extensions to use clang-format * Run clang-format on all Extensions * Update GDCore CMakeLists.txt to add clang-format * Run clang-format on GDCore files * Update GDJS and GDCpp CMakeLists.txt to add clang-format * Run clang-format on GDCpp and GDJS files
This commit is contained in:
@@ -13,330 +13,343 @@ This project is released under the MIT License.
|
||||
/**
|
||||
* Declare some actions and conditions of the particle emitter
|
||||
*/
|
||||
void ExtensionSubDeclaration2(gd::ObjectMetadata & obj)
|
||||
{
|
||||
#if defined(GD_IDE_ONLY)
|
||||
obj.AddAction("ParticleColor1",
|
||||
_("Initial color"),
|
||||
_("Modify initial color of particles."),
|
||||
_("Put initial color of particles of _PARAM0_ to _PARAM1_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("color", _("Initial color"));
|
||||
void ExtensionSubDeclaration2(gd::ObjectMetadata& obj) {
|
||||
#if defined(GD_IDE_ONLY)
|
||||
obj.AddAction("ParticleColor1",
|
||||
_("Initial color"),
|
||||
_("Modify initial color of particles."),
|
||||
_("Put initial color of particles of _PARAM0_ to _PARAM1_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("color", _("Initial color"));
|
||||
|
||||
obj.AddAction("ParticleColor2",
|
||||
_("Final color"),
|
||||
_("Modify final color of particles."),
|
||||
_("Put final color of particles of _PARAM0_ to _PARAM1_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("color", _("Final color"));
|
||||
obj.AddAction("ParticleColor2",
|
||||
_("Final color"),
|
||||
_("Modify final color of particles."),
|
||||
_("Put final color of particles of _PARAM0_ to _PARAM1_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("color", _("Final color"));
|
||||
|
||||
obj.AddAction("ParticleRed1",
|
||||
_("Red color, parameter 1"),
|
||||
_("Modify parameter 1 of the red color."),
|
||||
_("Do _PARAM1__PARAM2_ to parameter 1 of red color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction(
|
||||
"ParticleRed1",
|
||||
_("Red color, parameter 1"),
|
||||
_("Modify parameter 1 of the red color."),
|
||||
_("Do _PARAM1__PARAM2_ to parameter 1 of red color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleRed1",
|
||||
_("Red color, parameter 1"),
|
||||
_("Test parameter 1 of the red color"),
|
||||
_("Parameter 1 of red color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddCondition(
|
||||
"ParticleRed1",
|
||||
_("Red color, parameter 1"),
|
||||
_("Test parameter 1 of the red color"),
|
||||
_("Parameter 1 of red color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction("ParticleRed2",
|
||||
_("Red color, parameter 2"),
|
||||
_("Modify parameter 2 of the red color"),
|
||||
_("Do _PARAM1__PARAM2_ to parameter 2 of red color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction(
|
||||
"ParticleRed2",
|
||||
_("Red color, parameter 2"),
|
||||
_("Modify parameter 2 of the red color"),
|
||||
_("Do _PARAM1__PARAM2_ to parameter 2 of red color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleRed2",
|
||||
_("Red color, parameter 2"),
|
||||
_("Test parameter 2 of the red color"),
|
||||
_("Parameter 2 of red color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddCondition(
|
||||
"ParticleRed2",
|
||||
_("Red color, parameter 2"),
|
||||
_("Test parameter 2 of the red color"),
|
||||
_("Parameter 2 of red color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction("ParticleBlue1",
|
||||
_("Blue color, parameter 1"),
|
||||
_("Modify parameter 1 of blue color"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 1 of blue color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction(
|
||||
"ParticleBlue1",
|
||||
_("Blue color, parameter 1"),
|
||||
_("Modify parameter 1 of blue color"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 1 of blue color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleBlue1",
|
||||
_("Blue color, parameter 1"),
|
||||
_("Test parameter 1 of blue color"),
|
||||
_("Parameter 1 of blue color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddCondition(
|
||||
"ParticleBlue1",
|
||||
_("Blue color, parameter 1"),
|
||||
_("Test parameter 1 of blue color"),
|
||||
_("Parameter 1 of blue color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction("ParticleBlue2",
|
||||
_("Blue color, parameter 2"),
|
||||
_("Modify parameter 2 of blue color"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 2 of blue color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction(
|
||||
"ParticleBlue2",
|
||||
_("Blue color, parameter 2"),
|
||||
_("Modify parameter 2 of blue color"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 2 of blue color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleBlue2",
|
||||
_("Blue color, parameter 2"),
|
||||
_("Test parameter 2 of blue color"),
|
||||
_("Parameter 2 of blue color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddCondition(
|
||||
"ParticleBlue2",
|
||||
_("Blue color, parameter 2"),
|
||||
_("Test parameter 2 of blue color"),
|
||||
_("Parameter 2 of blue color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction("ParticleGreen1",
|
||||
_("Green color, parameter 1"),
|
||||
_("Modify parameter 1 of green color"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 1 of green color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction(
|
||||
"ParticleGreen1",
|
||||
_("Green color, parameter 1"),
|
||||
_("Modify parameter 1 of green color"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 1 of green color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleGreen1",
|
||||
_("Green color, parameter 1"),
|
||||
_("Test parameter 1 of green color"),
|
||||
_("Parameter 1 of green color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddCondition(
|
||||
"ParticleGreen1",
|
||||
_("Green color, parameter 1"),
|
||||
_("Test parameter 1 of green color"),
|
||||
_("Parameter 1 of green color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction(
|
||||
"ParticleGreen2",
|
||||
_("Green color, parameter 2"),
|
||||
_("Modify the parameter 2 of the green color"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 2 of green color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction("ParticleGreen2",
|
||||
_("Green color, parameter 2"),
|
||||
_("Modify the parameter 2 of the green color"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 2 of green color of _PARAM0_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddCondition(
|
||||
"ParticleGreen2",
|
||||
_("Green color, parameter 2"),
|
||||
_("Test the parameter 2 of the green color"),
|
||||
_("Parameter 2 of green color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleGreen2",
|
||||
_("Green color, parameter 2"),
|
||||
_("Test the parameter 2 of the green color"),
|
||||
_("Parameter 2 of green color of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Advanced"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction("ParticleSize1",
|
||||
_("SIze, parameter 1"),
|
||||
_("Modify parameter 1 of the size of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 1 of size of _PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
|
||||
obj.AddAction("ParticleSize1",
|
||||
_("SIze, parameter 1"),
|
||||
_("Modify parameter 1 of the size of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 1 of size of _PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleSize1",
|
||||
obj.AddCondition("ParticleSize1",
|
||||
_("SIze, parameter 1"),
|
||||
_("Test parameter 1 of the size of particles"),
|
||||
_("Parameter 1 of the size of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction("ParticleSize2",
|
||||
_("Size, parameter 2"),
|
||||
_("Modify parameter 2 of the size of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 2 of size of _PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction("ParticleSize2",
|
||||
_("Size, parameter 2"),
|
||||
_("Modify parameter 2 of the size of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 2 of size of _PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleSize2",
|
||||
obj.AddCondition("ParticleSize2",
|
||||
_("Size, parameter 2"),
|
||||
_("Test parameter 2 of the size of particles"),
|
||||
_("Parameter 2 of the size of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction("ParticleAngle1",
|
||||
_("Angle, parameter 1"),
|
||||
_("Modify parameter 1 of the angle of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 1 of angle of _PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction(
|
||||
"ParticleAngle1",
|
||||
_("Angle, parameter 1"),
|
||||
_("Modify parameter 1 of the angle of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 1 of angle of _PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleAngle1",
|
||||
obj.AddCondition("ParticleAngle1",
|
||||
_("Angle, parameter 1"),
|
||||
_("Test parameter 1 of the angle of particles"),
|
||||
_("Parameter 1 of angle of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction("ParticleAngle2",
|
||||
_("Angle, parameter 2"),
|
||||
_("Modify parameter 2 of the angle of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 2 of angle of _PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction(
|
||||
"ParticleAngle2",
|
||||
_("Angle, parameter 2"),
|
||||
_("Modify parameter 2 of the angle of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to the parameter 2 of angle of _PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleAngle2",
|
||||
obj.AddCondition("ParticleAngle2",
|
||||
_("Angle, parameter 2"),
|
||||
_("Test parameter 2 of the angle of particles"),
|
||||
_("Parameter 2 of angle of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction("ParticleAlpha1",
|
||||
_("Transparency, parameter 1"),
|
||||
_("Modify parameter 1 of the transparency of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to parameter 1 of the transparency of _PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction("ParticleAlpha1",
|
||||
_("Transparency, parameter 1"),
|
||||
_("Modify parameter 1 of the transparency of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to parameter 1 of the transparency of "
|
||||
"_PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleAlpha1",
|
||||
_("Transparency, parameter 1"),
|
||||
_("Test parameter 1 of the transparency of particles"),
|
||||
_("Parameter 1 of the transparency of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddCondition(
|
||||
"ParticleAlpha1",
|
||||
_("Transparency, parameter 1"),
|
||||
_("Test parameter 1 of the transparency of particles"),
|
||||
_("Parameter 1 of the transparency of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddAction("ParticleAlpha2",
|
||||
_("Transparency, parameter 2"),
|
||||
_("Modify parameter 2 of the transparency of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to parameter 2 of the transparency of _PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
obj.AddAction("ParticleAlpha2",
|
||||
_("Transparency, parameter 2"),
|
||||
_("Modify parameter 2 of the transparency of particles"),
|
||||
_("Do _PARAM1__PARAM2_ to parameter 2 of the transparency of "
|
||||
"_PARAM0_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("operator", _("Modification's sign"))
|
||||
.AddParameter("expression", _("Value"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition(
|
||||
"ParticleAlpha2",
|
||||
_("Transparency, parameter 2"),
|
||||
_("Test parameter 2 of the transparency of particles"),
|
||||
_("Parameter 2 of the transparency of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
obj.AddCondition("ParticleAlpha2",
|
||||
_("Transparency, parameter 2"),
|
||||
_("Test parameter 2 of the transparency of particles"),
|
||||
_("Parameter 2 of the transparency of _PARAM0_ is _PARAM1__PARAM2_"),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter")
|
||||
.AddParameter("relationalOperator", _("Sign of the test"))
|
||||
.AddParameter("expression", _("Value to test"))
|
||||
.SetManipulatedType("number");
|
||||
|
||||
|
||||
obj.AddCondition("NoMoreParticles",
|
||||
obj.AddCondition("NoMoreParticles",
|
||||
_("No more particles"),
|
||||
_("Return true if the object does not emit particles anylonger, so as to destroy it for example."),
|
||||
_("Return true if the object does not emit particles "
|
||||
"anylonger, so as to destroy it for example."),
|
||||
_("_PARAM0_ does not emit anylonger."),
|
||||
_("Common"),
|
||||
"CppPlatform/Extensions/particleSystemicon24.png",
|
||||
"CppPlatform/Extensions/particleSystemicon16.png")
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter");
|
||||
.AddParameter("object", _("Object"), "ParticleEmitter");
|
||||
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user