28 #include "common/error.h" 34 #include "math/sphere.h" 126 void LightOperAdd(
float progress,
float intensity,
float r,
float g,
float b);
142 bool m_power =
false;
144 float m_force = 0.0f;
146 float m_progress = 0.0f;
147 float m_speed = 0.0f;
149 float m_lastParticle = 0.0f;
150 float m_lastParticleSmoke = 0.0f;
151 int m_soundChannel = -1;
153 int m_lightRank = -1;
154 float m_lightHeight = 0.0f;
158 float progress = 0.0f;
159 float intensity = 0.0f;
162 std::vector<PyroLightOper> m_lightOper;
165 int m_burnPartTotal = 0;
176 int m_burnKeepPart[10] = {};
177 float m_burnFall = 0.0f;
179 float m_fallFloor = 0.0f;
180 float m_fallSpeed = 0.0f;
181 float m_fallBulletTime = 0.0f;
182 bool m_fallEnding =
false;
184 std::vector<Math::Sphere> m_crashSpheres;
185 float m_resetAngle = 0.0f;
bool EventProcess(const Event &event)
Management of an event.
Definition: pyro.cpp:612
void DeleteObject()
Destroys the object.
Definition: pyro.cpp:65
void ExploStart()
Starts the explosion of a vehicle.
Definition: pyro.cpp:1539
void LightOperFlush()
Empty the table of operations of animation of light.
Definition: pyro.cpp:2348
void DisplayError(PyroType type, CObject *obj)
Definition: pyro.cpp:1239
Error FallIsEnded()
Indicates whether the fall is over.
Definition: pyro.cpp:2335
void ExploTerminate()
Ends the explosion of a vehicle.
Definition: pyro.cpp:1610
void LightOperFrame(float rTime)
Updates the associated light.
Definition: pyro.cpp:2366
void BurnStart()
Starts a vehicle fire.
Definition: pyro.cpp:1615
void FallProgress(float rTime)
Fall of an object's freight.
Definition: pyro.cpp:2267
Manager for dynamic lights in 3D scene.
Definition: lightman.h:146
CObject * FallSearchBeeExplo()
Seeks an object to explode by the falling ball of bees.
Definition: pyro.cpp:2216
Fire effect renderer.
Definition: pyro.h:62
Definition: robotmain.h:159
PyroType
Type of pyro effect.
Definition: pyro_type.h:34
Particle engine.
Definition: particle.h:223
void CreateTriangle(CObject *obj, ObjectType oType, int part)
Creates an explosion with triangular form of particles.
Definition: pyro.cpp:1408
Definition: pyro_manager.h:41
Color structs and related functions.
void BurnAddPart(int part, Math::Vector pos, Math::Vector angle)
Adds a part move.
Definition: pyro.cpp:2097
void CutObjectLink(CObject *obj)
Indicates that the object binds to the effect no longer exists, without deleting it.
Definition: pyro.cpp:1233
void BurnProgress()
Advances of a vehicle fire.
Definition: pyro.cpp:2113
void CreateLight(Math::Vector pos, float height)
Creates light to accompany a pyrotechnic effect.
Definition: pyro.cpp:1320
bool BurnIsKeepPart(int part)
Indicates whether a part should be retained.
Definition: pyro.cpp:2148
Camera moving in 3D scene.
Definition: camera.h:128
Terrain loader/generator and manager.
Definition: terrain.h:147
Error IsEnded()
Indicates whether the pyrotechnic effect is complete.
Definition: pyro.cpp:1163
Namespace for (new) graphics code.
Definition: app.h:49
The graphics engine.
Definition: engine.h:585
ObjectType
Type of game object.
Definition: object_type.h:33
void LightOperAdd(float progress, float intensity, float r, float g, float b)
Adds an animation operation of the light.
Definition: pyro.cpp:2353
3D (3x1) vector
Definition: vector.h:53
void BurnTerminate()
Ends the fire of an insect or a vehicle.
Definition: pyro.cpp:2158
bool Create(PyroType type, CObject *obj, float force)
Creates pyrotechnic effect.
Definition: pyro.cpp:74
void FallStart()
Start of an object freight falling.
Definition: pyro.cpp:2205
RGBA color.
Definition: color.h:39
Event sent by system, interface or game.
Definition: event.h:735
Base class for all 3D in-game objects.
Definition: object.h:63
Sound plugin interface.
Definition: sound.h:60