|
Classes |
struct | Particle |
| (single pixel) particle struct More...
|
Typedefs |
typedef Particle * | ParticlePtr |
| (single pixel) particle struct
|
Functions |
SWError | InitParticles (long NumParticles, float Gravity) |
void | ExitParticles (void) |
void | ClearParticles (void) |
void | SetHorizGravity (float gravity) |
void | NewParticle (SpriteWorldPtr spriteWorldP, int red, int green, int blue, short horizLoc, short vertLoc, float horizSpeed, float vertSpeed, short lifeRemaining) |
void | EraseParticlesOffscreen (SpriteWorldPtr spriteWorldP) |
void | EraseParticlesScrollingOffscreen (SpriteWorldPtr spriteWorldP) |
void | DrawParticlesOffscreen (SpriteWorldPtr spriteWorldP) |
void | DrawParticlesScrollingOffscreen (SpriteWorldPtr spriteWorldP) |
void | DrawHardwareParticles (SpriteWorldPtr spriteWorldP) |
void | UpdateParticlesInWindow (SpriteWorldPtr spriteWorldP) |
void | UpdateParticlesInScrollingWindow (SpriteWorldPtr spriteWorldP) |
void | MoveParticles (void) |
void | putpixel (SDL_Surface *surface, int x, int y, Uint32 pixel) |
Uint32 | getpixel (SDL_Surface *surface, int x, int y) |
Variables |
ParticlePtr | gParticleArray |
long | gLowestUnusedElement |
long | gLastElementInUse |
long | gNumberOfParticlesActive |
float | gGravity |
unsigned long | gNumArrayElements |
SWBoolean | gParticlesInitialized |