particles.h
Go to the documentation of this file.00001
00002
00003 #define MIN_SPEED 0.0f
00004 #define MIN_LIFETIME 0.1f // in seconds
00005 #define MIN_SPREAD 0.01f // in degrees
00006 #define MIN_EMISSION 1.0f // in particles / sec
00007 #define MIN_SIZE 0.1f
00008 #define MIN_GRAVITY -0.5f // as a multiple of normal gravity
00009 #define MIN_ALPHA 0.0f // as a ratio
00010
00011 #define MAX_SPEED 25.0f
00012 #define MAX_LIFETIME 15.0f
00013 #define MAX_SPREAD 180.0f
00014 #define MAX_SIZE 4.0f
00015 #define MAX_GRAVITY 0.5f
00016 #define MAX_ALPHA 1.0f
00017 #define GRAVITY 9.8f
00018 #define NP_IMAGES 8
00019 static char *ParticleList[NP_IMAGES]={"bubble","circle","cloud","spark","star","user1","user2","user3"};
00020 static BOOL ParticleBits[NP_IMAGES]={TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE};