|
Colobot
|
Fire effect renderer. More...
#include <pyro.h>
Public Member Functions | |
| bool | Create (PyroType type, CObject *obj, float force=1.0f) |
| Creates pyrotechnic effect. | |
| void | DeleteObject () |
| Destroys the object. | |
| Error | IsEnded () |
| Indicates whether the pyrotechnic effect is complete. | |
| void | CutObjectLink (CObject *obj) |
| Indicates that the object binds to the effect no longer exists, without deleting it. | |
| bool | EventProcess (const Event &event) |
| Management of an event. | |
Protected Member Functions | |
| void | DisplayError (PyroType type, CObject *obj) |
| void | CreateLight (Math::Vector pos, float height) |
| Creates light to accompany a pyrotechnic effect. | |
| void | DeleteObject (bool primary, bool secondary) |
| Removes the binding to a pyrotechnic effect. | |
| void | CreateTriangle (CObject *obj, ObjectType type, int part) |
| Creates an explosion with triangular form of particles. | |
| void | ExploStart () |
| Starts the explosion of a vehicle. | |
| void | ExploTerminate () |
| Ends the explosion of a vehicle. | |
| void | BurnStart () |
| Starts a vehicle fire. | |
| void | BurnAddPart (int part, Math::Vector pos, Math::Vector angle) |
| Adds a part move. | |
| void | BurnProgress () |
| Advances of a vehicle fire. | |
| bool | BurnIsKeepPart (int part) |
| Indicates whether a part should be retained. | |
| void | BurnTerminate () |
| Ends the fire of an insect or a vehicle. | |
| void | FallStart () |
| Start of an object freight falling. | |
| CObject * | FallSearchBeeExplo () |
| Seeks an object to explode by the falling ball of bees. | |
| void | FallProgress (float rTime) |
| Fall of an object's freight. | |
| Error | FallIsEnded () |
| Indicates whether the fall is over. | |
| void | LightOperFlush () |
| Empty the table of operations of animation of light. | |
| void | LightOperAdd (float progress, float intensity, float r, float g, float b) |
| Adds an animation operation of the light. | |
| void | LightOperFrame (float rTime) |
| Updates the associated light. | |
Protected Attributes | |
| CEngine * | m_engine |
| CTerrain * | m_terrain |
| CCamera * | m_camera |
| CParticle * | m_particle |
| CLightManager * | m_lightMan |
| CObject * | m_object |
| CRobotMain * | m_main |
| CSoundInterface * | m_sound |
| Math::Vector | m_pos |
| Math::Vector | m_posPower |
| bool | m_power |
| PyroType | m_type |
| float | m_force |
| float | m_size |
| float | m_progress |
| float | m_speed |
| float | m_time |
| float | m_lastParticle |
| float | m_lastParticleSmoke |
| int | m_soundChannel |
| int | m_lightRank |
| int | m_lightOperTotal |
| PyroLightOper | m_lightOper [10] |
| float | m_lightHeight |
| ObjectType | m_burnType |
| int | m_burnPartTotal |
| PyroBurnPart | m_burnPart [10] |
| int | m_burnKeepPart [10] |
| float | m_burnFall |
| float | m_fallFloor |
| float | m_fallSpeed |
| float | m_fallBulletTime |
| bool | m_fallEnding |
| int | m_crashSphereUsed |
| Math::Vector | m_crashSpherePos [50] |
| float | m_crashSphereRadius [50] |
Fire effect renderer.
TODO: documentation
Displays the error or eventual information Information can be linked to the destruction of an insect, a vehicle or building
1.8.5