Esempio n. 1
0
void ExtensionBase::AddRuntimeObject(gd::ObjectMetadata & object, gd::String className, CreateRuntimeObjectFunPtr createFun)
{
#if defined(GD_IDE_ONLY)
    object.className = className;
#endif
    runtimeObjectCreationFunctionTable[object.GetName()] = createFun;
}
/**
 * Declare some actions and conditions of the particle emitter
 */
void Extension::ExtensionSubDeclaration1(gd::ObjectMetadata & obj)
{
#if defined(GD_IDE_ONLY)
    obj.AddAction("EmitterForceMin",
                  _("Emission minimal force"),
                  _("Modify minimal emission force of particles."),
                  _("Do _PARAM1__PARAM2_ to minimal emission force of _PARAM0_"),
                  _("Common"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetEmitterForceMin").SetManipulatedType("number").SetGetter("GetEmitterForceMin").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddAction("EmitterForceMax",
                  _("Emission maximal force"),
                  _("Modify maximal emission force of particles."),
                  _("Do _PARAM1__PARAM2_ to maximal emission force of _PARAM0_"),
                  _("Common"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetEmitterForceMax").SetManipulatedType("number").SetGetter("GetEmitterForceMax").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddAction("EmitterXDirection",
                  _("Emission X direction"),
                  _("Modify emission X direction."),
                  _("Do _PARAM1__PARAM2_ to the emission X direction of _PARAM0_"),
                  _("Advanced"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetEmitterXDirection").SetManipulatedType("number").SetGetter("GetEmitterXDirection").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddCondition("EmitterXDirection",
                     _("Emission X direction"),
                     _("Test emission X direction."),
                     _("The emission X direction 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"))

    .SetFunctionName("GetEmitterXDirection").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("EmitterYDirection",
                  _("Emission Y direction"),
                  _("Modify emission Y direction."),
                  _("Do _PARAM1__PARAM2_ to the emission Y direction of _PARAM0_"),
                  _("Advanced"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetEmitterYDirection").SetManipulatedType("number").SetGetter("GetEmitterYDirection").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddCondition("EmitterYDirection",
                     _("Emission Y direction"),
                     _("Test emission Y direction."),
                     _("Emission Y direction 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"))

    .SetFunctionName("GetEmitterYDirection").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("EmitterZDirection",
                  _("Emission Z direction"),
                  _("Modify emission Z direction."),
                  _("Do _PARAM1__PARAM2_ to the emission Z direction of _PARAM0_"),
                  _("Advanced"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetEmitterZDirection").SetManipulatedType("number").SetGetter("GetEmitterZDirection").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("EmitterZDirection",
                     _("Emission Z direction"),
                     _("Test emission Z direction."),
                     _("Emission Z direction 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"))

    .SetFunctionName("GetEmitterZDirection").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("EmitterAngle",
                  _("Emission angle"),
                  _("Modify emission angle."),
                  _("Do _PARAM1__PARAM2_ to the emission angle of _PARAM0_"),
                  _("Common"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetAngle").SetManipulatedType("number").SetGetter("GetAngle").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("EmitterAngle",
                     _("Emission angle"),
                     _("Test the value of emission angle of the emitter."),
                     _("Emission 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"))

    .SetFunctionName("GetAngle").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddAction("EmitterAngleA",
                  _("Emission angle 1"),
                  _("Change emission angle #1"),
                  _("Do _PARAM1__PARAM2_ to the 1st emission angle of _PARAM0_"),
                  _("Advanced"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetEmitterAngleA").SetManipulatedType("number").SetGetter("GetEmitterAngleA").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("EmitterAngleA",
                     _("Emission angle 1"),
                     _("Test the value of emission 1st angle of the emitter"),
                     _("Emission 1st angle 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"))

    .SetFunctionName("GetEmitterAngleA").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("EmitterAngleB",
                  _("Emission angle 2"),
                  _("Change emission angle #2"),
                  _("Do _PARAM1__PARAM2_ to the 2nd emission angle of _PARAM0_"),
                  _("Advanced"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetEmitterAngleB").SetManipulatedType("number").SetGetter("GetEmitterAngleB").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("EmitterAngleB",
                     _("Emission angle 2"),
                     _("Test the emission angle #2 of the emitter."),
                     _("Emission 2nd angle 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"))

    .SetFunctionName("GetEmitterAngleB").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("ConeSprayAngle",
                  _("Angle of the spray cone"),
                  _("Modify the angle of the spray cone."),
                  _("Do _PARAM1__PARAM2_ to the angle of the spray cone of _PARAM0_"),
                  _("Common"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetConeSprayAngle").SetManipulatedType("number").SetGetter("GetConeSprayAngle").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddCondition("ConeSprayAngle",
                     _("Angle of the spray cone"),
                     _("Test the angle of the spray cone of the emitter"),
                     _("Angle of the spray cone 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"))

    .SetFunctionName("GetConeSprayAngle").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddAction("Friction",
                  _("Friction"),
                  _("Modify friction applied to particles."),
                  _("Do _PARAM1__PARAM2_ to the friction of particles of _PARAM0_"),
                  _("Common"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetFriction").SetManipulatedType("number").SetGetter("GetFriction").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("Friction",
                     _("Friction"),
                     _("Test friction applied to particles."),
                     _("Particles' friction 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"))
    .SetFunctionName("GetFriction").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("ZoneRadius",
                  _("Creation radius"),
                  _("Modify creation radius of particles.\nParticles have to be recreated in order to take changes in account."),
                  _("Do _PARAM1__PARAM2_ to creation radius of _PARAM0_"),
                  _("Common"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetZoneRadius").SetManipulatedType("number").SetGetter("GetZoneRadius").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("ZoneRadius",
                     _("Creation radius"),
                     _("Test creation radius of particles."),
                     _("Creation radius 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"))

    .SetFunctionName("GetZoneRadius").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("ParticleLifeTimeMin",
                  _("Minimum lifetime"),
                  _("Modify particles minimum lifetime.Particles have to be recreated in order to take changes in account."),
                  _("Do _PARAM1__PARAM2_ to minimum lifetime of particles of _PARAM0_"),
                  _("Common"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetParticleLifeTimeMin").SetManipulatedType("number").SetGetter("GetParticleLifeTimeMin").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddCondition("ParticleLifeTimeMin",
                     _("Minimum lifetime"),
                     _("Test minimum lifetime of particles."),
                     _("Minimum lifetime of particles 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"))

    .SetFunctionName("GetParticleLifeTimeMin").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddAction("ParticleLifeTimeMax",
                  _("Maximum lifetime"),
                  _("Modify particles maximum lifetime.\nParticles have to be recreated in order to take changes in account."),
                  _("Do _PARAM1__PARAM2_ to maximum lifetime of particles of _PARAM0_"),
                  _("Common"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetParticleLifeTimeMax").SetManipulatedType("number").SetGetter("GetParticleLifeTimeMax").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("ParticleLifeTimeMax",
                     _("Maximum lifetime"),
                     _("Test maximum lifetime of particles."),
                     _("Maximum lifetime of particles 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"))

    .SetFunctionName("GetParticleLifeTimeMax").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("ParticleGravityX",
                  _("X Gravity"),
                  _("Change value of the gravity on X axis."),
                  _("Do _PARAM1__PARAM2_ to the direction of gravity on X axis of _PARAM0_"),
                  _("Advanced"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetParticleGravityX").SetManipulatedType("number").SetGetter("GetParticleGravityX").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("ParticleGravityX",
                     _("Direction of gravity on X axis"),
                     _("Direction of the gravity on X axis."),
                     _("Direction of gravity on X axis 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"))

    .SetFunctionName("GetParticleGravityX").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("ParticleGravityY",
                  _("Y Gravity"),
                  _("Change value of the gravity on Y axis."),
                  _("Do _PARAM1__PARAM2_ to the direction of gravity on Y axis of_PARAM0_"),
                  _("Advanced"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetParticleGravityY").SetManipulatedType("number").SetGetter("GetParticleGravityY").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("ParticleGravityY",
                     _("Direction of the gravity on Y axis"),
                     _("Test direction of gravity on Y axis"),
                     _("Direction of gravity on Y axis 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"))

    .SetFunctionName("GetParticleGravityY").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("ParticleGravityZ",
                  _("Z Gravity"),
                  _("Change value of the gravity on Z axis."),
                  _("Do _PARAM1__PARAM2_ to the direction of gravity on Z axis of_PARAM0_"),
                  _("Advanced"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetParticleGravityZ").SetManipulatedType("number").SetGetter("GetParticleGravityZ").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("ParticleGravityZ",
                     _("Direction of gravity on Z axis"),
                     _("Test the direction of gravity on Z axis"),
                     _("Direction of gravity on Z axis 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"))

    .SetFunctionName("GetParticleGravityZ").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddAction("ParticleGravityAngle",
                  _("Gravity angle"),
                  _("Change gravity angle"),
                  _("Do _PARAM1__PARAM2_ to the gravity angle of _PARAM0_"),
                  _("Common"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetParticleGravityAngle").SetManipulatedType("number").SetGetter("GetParticleGravityAngle").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddCondition("ParticleGravityAngle",
                     _("Gravity angle"),
                     _("Test the gravity angle the emitter"),
                     _("Gravity 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"))

    .SetFunctionName("GetParticleGravityAngle").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddAction("ParticleGravityLength",
                  _("Gravity"),
                  _("Change the gravity of the emitter."),
                  _("Do _PARAM1__PARAM2_ to the gravity of _PARAM0_"),
                  _("Common"),
                  "CppPlatform/Extensions/particleSystemicon24.png",
                  "CppPlatform/Extensions/particleSystemicon16.png")
    .AddParameter("object", _("Object"), "ParticleEmitter")
    .AddParameter("operator", _("Modification's sign"))
    .AddParameter("expression", _("Value"))

    .SetFunctionName("SetParticleGravityLength").SetManipulatedType("number").SetGetter("GetParticleGravityLength").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddCondition("ParticleGravityLength",
                     _("Gravity"),
                     _("Test the gravity of the emitter."),
                     _("The gravity 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"))

    .SetFunctionName("GetParticleGravityLength").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
#endif
}
/**
 * Declare some actions, conditions and expressions of the particle emitter
 */
void Extension::ExtensionSubDeclaration3(gd::ObjectMetadata & obj)
{
    #if defined(GD_IDE_ONLY)
    obj.AddAction("RecreateParticleSystem",
                   _("Recreate particles"),
                   _("Destroy and recreate particles, so as to take changes made to setup of the emitter in account."),
                   _("Recreate particles of _PARAM0_"),
                   _("Setup"),
                   "CppPlatform/Extensions/particleSystemicon24.png",
                   "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter")

        .SetFunctionName("RecreateParticleSystem").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddAction("RendererParam1",
                   _("Rendering first parameter"),
                   _("Modify first parameter of rendering ( Size/Length ).\nParticles have to be recreated in order to take changes in account."),
                   _("Do _PARAM1__PARAM2_ to rendering 1st parameter of _PARAM0_"),
                   _("Setup"),
                   "CppPlatform/Extensions/particleSystemicon24.png",
                   "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter")
        .AddParameter("operator", _("Modification's sign"))
        .AddParameter("expression", _("Value"))

        .SetFunctionName("SetRendererParam1").SetManipulatedType("number").SetGetter("GetRendererParam1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddCondition("RendererParam1",
                   _("Direction of gravity on Z axis"),
                   _("Test the first parameter of rendering ( Size/Length )."),
                   _("The 1nd rendering parameter of _PARAM0_ is _PARAM1__PARAM2_"),
                   _("Setup"),
                   "CppPlatform/Extensions/particleSystemicon24.png",
                   "CppPlatform/Extensions/particleSystemicon16.png")

        .AddParameter("object", _("Object"), "ParticleEmitter")
        .AddParameter("relationalOperator", _("Sign of the test"))
        .AddParameter("expression", _("Value to test"))

        .SetFunctionName("GetRendererParam1").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddAction("RendererParam2",
                   _("Rendering second parameter"),
                   _("Modify the second parameter of rendering ( Size/Length ).\nParticles have to be recreated in order to take changes in account."),
                   _("Do _PARAM1__PARAM2_ to rendering 2nd parameter of _PARAM0_"),
                   _("Setup"),
                   "CppPlatform/Extensions/particleSystemicon24.png",
                   "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter")
        .AddParameter("operator", _("Modification's sign"))
        .AddParameter("expression", _("Value"))

        .SetFunctionName("SetRendererParam2").SetManipulatedType("number").SetGetter("GetRendererParam2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddCondition("RendererParam2",
                   _("Rendering second parameter"),
                   _("Test the second parameter of rendering ( Size/Length )."),
                   _("The 2nd rendering parameter of _PARAM0_ is _PARAM1__PARAM2_"),
                   _("Setup"),
                   "CppPlatform/Extensions/particleSystemicon24.png",
                   "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter")
        .AddParameter("relationalOperator", _("Sign of the test"))
        .AddParameter("expression", _("Value to test"))

        .SetFunctionName("GetRendererParam2").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("Tank",
                   _("Capacity"),
                   _("Change the capacity of the emitter."),
                   _("Do _PARAM1__PARAM2_ to the capacity of _PARAM0_"),
                   _("Common"),
                   "CppPlatform/Extensions/particleSystemicon24.png",
                   "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter")
        .AddParameter("operator", _("Modification's sign"))
        .AddParameter("expression", _("Value"))

        .SetFunctionName("SetTank").SetManipulatedType("number").SetGetter("GetTank").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddCondition("Tank",
                   _("Capacity"),
                   _("Test the capacity of the emitter."),
                   _("The capacity 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"))

        .SetFunctionName("GetTank").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("Flow",
                   _("Flow"),
                   _("Change the flow of the emitter."),
                   _("Do _PARAM1__PARAM2_ to flow of _PARAM0_"),
                   _("Common"),
                   "CppPlatform/Extensions/particleSystemicon24.png",
                   "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter")
        .AddParameter("operator", _("Modification's sign"))
        .AddParameter("expression", _("Value"))

        .SetFunctionName("SetFlow").SetManipulatedType("number").SetGetter("GetFlow").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("Flow",
                   _("Flow"),
                   _("Test the flow of the emitter."),
                   _("The flow of _PARAM0_ is _PARAM2_ _PARAM1_"),
                   _("Common"),
                   "CppPlatform/Extensions/particleSystemicon24.png",
                   "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter")
        .AddParameter("relationalOperator", _("Sign of the test"))
        .AddParameter("expression", _("Value to test"))

        .SetFunctionName("GetFlow").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddAction("Texture",
                   _("Image"),
                   _("Change the image of particles ( if displayed )."),
                   _("Change the image of particles of _PARAM0_ to _PARAM1_"),
                   _("Common"),
                   "CppPlatform/Extensions/particleSystemicon24.png",
                   "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter")
        .AddParameter("string", _("New image"))

        .SetFunctionName("SetTexture").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddCondition("Texture",
                   _("Image"),
                   _("Test the name of the image displayed by particles."),
                   _("Image displayed by particles 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("string", _("Text to test"))

        .SetFunctionName("GetTexture").SetManipulatedType("string").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddStrExpression("Texture", _("Particles image"), _("Name of the image displayed by particles"), _("Particles"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetTexture").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddExpression("NbParticles", _("Particles number"), _("Particles number"), _("Particles"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetNbParticles").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddExpression("RendererParam1", _("Rendering first parameter"), _("Rendering first parameter"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetRendererParam1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddExpression("RendererParam2", _("Rendering second parameter"), _("Rendering second parameter"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetRendererParam2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddExpression("Tank", _("Capacity"), _("Capacity"), _("Common"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetTank").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddExpression("Flow", _("Flow"), _("Flow"), _("Common"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetFlow").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddExpression("EmitterForceMin", _("Emission minimal force"), _("Emission minimal force"), _("Common"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetEmitterForceMin").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddExpression("EmitterForceMax", _("Emission maximal force"), _("Emission maximal force"), _("Common"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetEmitterForceMax").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    obj.AddExpression("EmitterXDirection", _("Emission X direction"), _("Emission X direction"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetEmitterXDirection").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("EmitterYDirection", _("Emission Y direction"), _("Emission Y direction"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetEmitterYDirection").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("EmitterZDirection", _("Emission Z direction"), _("Emission Z direction"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetEmitterZDirection").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("EmitterAngle", _("Emission angle"), _("Emission angle"), _("Common"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetAngle").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("EmitterAngleA", _("Emission angle A"), _("Emission angle A"), _("Advanced"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetEmitterAngleA").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("EmitterAngleB", _("Emission angle B"), _("Emission angle B"), _("Advanced"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetEmitterAngleB").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ZoneRadius", _("Radius of the emission zone"), _("Radius of the emission zone"), _("Common"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetZoneRadius").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleGravityX", _("X Gravity of particles"), _("X Gravity of particles"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleGravityX").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleGravityY", _("Y Gravity of particles"), _("Y Gravity of particles"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleGravityY").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleGravityZ", _("Z Gravity of particles"), _("Z Gravity of particles"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleGravityZ").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleGravityAngle", _("Gravity angle"), _("Gravity angle"), _("Common"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleGravityAngle").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleGravityLength", _("Gravity"), _("Gravity value"), _("Common"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleGravityLength").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("Friction", _("Particles friction"), _("Particles friction"), _("Common"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetFriction").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleLifeTimeMin", _("Minimum lifetime of particles"), _("Minimum lifetime of particles"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleLifeTimeMin").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleLifeTimeMax", _("Maximum lifetime of particles"), _("Maximum lifetime of particles"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleLifeTimeMax").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleRed1", _("Parameter 1 of red color"), _("Parameter 1 of red color"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleRed1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleRed2", _("Parameter 2 of red color"), _("Parameter 2 of red color"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleRed2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleBlue1", _("Parameter 1 of blue color"), _("Parameter 1 of blue color"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleBlue1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleBlue2", _("Parameter 2 of blue color"), _("Parameter 2 of blue color"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleBlue2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleGreen1", _("Parameter 1 of green color"), _("Parameter 1 of green color"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleGreen1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleGreen2", _("Parameter 2 of green color"), _("Parameter 2 of green color"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleGreen2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleAlpha1", _("Parameter 1 of transparency"), _("Parameter 1 of transparency"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleAlpha1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleAlpha2", _("Parameter 2 of transparency"), _("Parameter 2 of transparency"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleAlpha2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleSize1", _("Parameter 1 of size"), _("Parameter 1 of size"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleSize1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleSize2", _("Parameter 2 of size"), _("Parameter 2 of size"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleSize2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleAngle1", _("Parameter 1 of angle"), _("Parameter 1 of angle"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleAngle1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");
    obj.AddExpression("ParticleAngle2", _("Parameter 2 of angle"), _("Parameter 2 of angle"), _("Setup"), "CppPlatform/Extensions/particleSystemicon16.png")
        .AddParameter("object", _("Object"), "ParticleEmitter", false)
        .SetFunctionName("GetParticleAngle2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    #endif
}
/**
 * Declare some actions and conditions of the particle emitter
 */
void Extension::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"))

        .SetFunctionName("SetParticleColor1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleColor2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleRed1").SetManipulatedType("number").SetGetter("GetParticleRed1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleRed1").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleRed2").SetManipulatedType("number").SetGetter("GetParticleRed2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleRed2").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleBlue1").SetManipulatedType("number").SetGetter("GetParticleBlue1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleBlue1").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleBlue2").SetManipulatedType("number").SetGetter("GetParticleBlue2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleBlue2").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleGreen1").SetManipulatedType("number").SetGetter("GetParticleGreen1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleGreen1").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    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"))

        .SetFunctionName("SetParticleGreen2").SetManipulatedType("number").SetGetter("GetParticleGreen2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleGreen2").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    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"))

        .SetFunctionName("SetParticleSize1").SetManipulatedType("number").SetGetter("GetParticleSize1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleSize1").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleSize2").SetManipulatedType("number").SetGetter("GetParticleSize2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleSize2").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleAngle1").SetManipulatedType("number").SetGetter("GetParticleAngle1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleAngle1").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleAngle2").SetManipulatedType("number").SetGetter("GetParticleAngle2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleAngle2").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleAlpha1").SetManipulatedType("number").SetGetter("GetParticleAlpha1").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("GetParticleAlpha1").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    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"))

        .SetFunctionName("SetParticleAlpha2").SetManipulatedType("number").SetGetter("GetParticleAlpha2").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    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"))

        .SetFunctionName("GetParticleAlpha2").SetManipulatedType("number").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");


    obj.AddCondition("NoMoreParticles",
                   _("No more particles"),
                   _("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")

        .SetFunctionName("NoMoreParticles").SetIncludeFile("ParticleSystem/ParticleEmitterObject.h");

    #endif
}