|
Colobot
|
Fire effect renderer. More...
#include <pyro.h>
Classes | |
| struct | PyroBurnPart |
| struct | PyroLightOper |
Public Member Functions | |
| 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 | |
| bool | Create (PyroType type, CObject *obj, float force) |
| Creates pyrotechnic effect. | |
| void | DeleteObject () |
| Destroys the object. | |
| 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 = nullptr |
| CTerrain * | m_terrain = nullptr |
| CCamera * | m_camera = nullptr |
| CParticle * | m_particle = nullptr |
| CLightManager * | m_lightMan = nullptr |
| CObject * | m_object = nullptr |
| CRobotMain * | m_main = nullptr |
| CSoundInterface * | m_sound = nullptr |
| Math::Vector | m_pos |
| Math::Vector | m_posPower |
| bool | m_power = false |
| PyroType | m_type = PT_NULL |
| float | m_force = 0.0f |
| float | m_size = 0.0f |
| float | m_progress = 0.0f |
| float | m_speed = 0.0f |
| float | m_time = 0.0f |
| float | m_lastParticle = 0.0f |
| float | m_lastParticleSmoke = 0.0f |
| int | m_soundChannel = -1 |
| int | m_lightRank = -1 |
| float | m_lightHeight = 0.0f |
| std::vector< PyroLightOper > | m_lightOper |
| ObjectType | m_burnType = OBJECT_NULL |
| int | m_burnPartTotal = 0 |
| PyroBurnPart | m_burnPart [10] |
| int | m_burnKeepPart [10] = {} |
| float | m_burnFall = 0.0f |
| float | m_fallFloor = 0.0f |
| float | m_fallSpeed = 0.0f |
| float | m_fallBulletTime = 0.0f |
| bool | m_fallEnding = false |
| std::vector< Math::Sphere > | m_crashSpheres |
| float | m_resetAngle = 0.0f |
Friends | |
| class | CPyroManager |
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.9.1