OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4Particles.h File Reference
#include "C4ForbidLibraryCompilation.h"
#include "graphics/C4FacetEx.h"
#include "lib/C4Random.h"
#include "platform/StdScheduler.h"
#include <pcg/pcg_random.hpp>
#include <GL/glew.h>
#include "graphics/C4Shader.h"
Include dependency graph for C4Particles.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4ParticleDefCore
 
class  C4ParticleDef
 
class  C4ParticleValueProvider
 
class  C4ParticleProperties
 
class  C4Particle
 
struct  C4Particle::DrawingData
 
struct  C4Particle::DrawingData::Vertex
 
class  C4ParticleChunk
 
class  C4ParticleList
 
class  C4ParticleSystemDefinitionList
 
class  C4ParticleSystem
 

Typedefs

typedef float(C4ParticleValueProvider::* C4ParticleValueProviderFunction )(C4Particle *)
 
typedef bool(C4ParticleProperties::* C4ParticleCollisionCallback )(C4Particle *)
 

Enumerations

enum  C4ParticleValueProviderID {
  C4PV_Const, C4PV_Linear, C4PV_Random, C4PV_KeyFrames,
  C4PV_Sin, C4PV_Cos, C4PV_Direction, C4PV_Step,
  C4PV_Speed, C4PV_Wind, C4PV_Gravity
}
 
enum  C4ParticleAttachmentPropertyID { C4ATTACH_None = 0, C4ATTACH_Front = 1, C4ATTACH_Back = 2, C4ATTACH_MoveRelative = 4 }
 
enum  C4ParticleCollisionFuncID { C4PC_Die, C4PC_Bounce, C4PC_Stop }
 

Variables

C4ParticleSystem Particles
 

Class Documentation

struct C4Particle::DrawingData::Vertex

Definition at line 243 of file C4Particles.h.

Class Members
float alpha
float b
float g
float r
float u
float v
float x
float y

Typedef Documentation

typedef bool(C4ParticleProperties::* C4ParticleCollisionCallback)(C4Particle *)

Definition at line 105 of file C4Particles.h.

typedef float(C4ParticleValueProvider::* C4ParticleValueProviderFunction)(C4Particle *)

Definition at line 104 of file C4Particles.h.

Enumeration Type Documentation

Enumerator
C4ATTACH_None 
C4ATTACH_Front 
C4ATTACH_Back 
C4ATTACH_MoveRelative 

Definition at line 46 of file C4Particles.h.

Enumerator
C4PC_Die 
C4PC_Bounce 
C4PC_Stop 

Definition at line 54 of file C4Particles.h.

55 {
56  C4PC_Die,
58  C4PC_Stop,
59 };
Enumerator
C4PV_Const 
C4PV_Linear 
C4PV_Random 
C4PV_KeyFrames 
C4PV_Sin 
C4PV_Cos 
C4PV_Direction 
C4PV_Step 
C4PV_Speed 
C4PV_Wind 
C4PV_Gravity 

Definition at line 31 of file C4Particles.h.

Variable Documentation