Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ParticleSystem.h File Reference

#include "Particle.h"
#include "Camera.h"
#include "../Common/OS/Windows.h"
#include "../Math/Math.h"

Include dependency graph for ParticleSystem.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ParticleSystem

Defines

#define MAX_PARTICLES   1000
#define MIN_SPEED   0.0f
#define MIN_LIFETIME   0.1f
#define MIN_SPREAD   0.01f
#define MIN_EMISSION   1.0f
#define MIN_SIZE   0.5f
#define MIN_GRAVITY   -5.0f
#define MIN_ALPHA   0.0f
#define MAX_SPEED   250.0f
#define MAX_LIFETIME   10.0f
#define MAX_SPREAD   180.0f
#define MAX_EMISSION   1000.0f
#define MAX_SIZE   10.0f
#define MAX_GRAVITY   5.0f
#define MAX_ALPHA   1.0f
#define PARTICLESYSTEM_SUN   9
#define PARTICLESYSTEM_SPAWN   8
#define MAX_PRESETS   9


Define Documentation

#define MAX_ALPHA   1.0f
 

Definition at line 34 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MAX_EMISSION   1000.0f
 

Definition at line 31 of file ParticleSystem.h.

#define MAX_GRAVITY   5.0f
 

Definition at line 33 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MAX_LIFETIME   10.0f
 

Definition at line 29 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MAX_PARTICLES   1000
 

ParticleSystem.h

Author: Petter Alstermark, petter@alstermark.com

Definition at line 18 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::draw(), OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MAX_PRESETS   9
 

Definition at line 40 of file ParticleSystem.h.

#define MAX_SIZE   10.0f
 

Definition at line 32 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MAX_SPEED   250.0f
 

Definition at line 28 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MAX_SPREAD   180.0f
 

Definition at line 30 of file ParticleSystem.h.

#define MIN_ALPHA   0.0f
 

Definition at line 26 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MIN_EMISSION   1.0f
 

Definition at line 23 of file ParticleSystem.h.

#define MIN_GRAVITY   -5.0f
 

Definition at line 25 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MIN_LIFETIME   0.1f
 

Definition at line 21 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MIN_SIZE   0.5f
 

Definition at line 24 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MIN_SPEED   0.0f
 

Definition at line 20 of file ParticleSystem.h.

Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update().

#define MIN_SPREAD   0.01f
 

Definition at line 22 of file ParticleSystem.h.

#define PARTICLESYSTEM_SPAWN   8
 

Definition at line 37 of file ParticleSystem.h.

Referenced by ParticleSystem::loadPreset(), and Play::networkLoop().

#define PARTICLESYSTEM_SUN   9
 

Definition at line 36 of file ParticleSystem.h.

Referenced by Menu::load(), and ParticleSystem::loadPreset().


Generated on Sun Jun 5 15:48:33 2005 for Defacto by  doxygen 1.4.3