SDLGameEngine

include/sgeparticles.h File Reference

Particle system. More...

Go to the source code of this file.

Data Structures

struct  SGEPIXELPARTICLE
 internal, holds information of a pixel particle More...
struct  SGEPIXELPARTICLEDATA
 internal, holds color information of a pixel particle More...
struct  SGESPRITEPARTICLE
 internal, holds information of a sprite particle More...
struct  SGESPRITEPARTICLEDATA
 internal, holds image representation of a sprite particle More...
struct  SGEPARTICLES
 a structure holding necessary information about a particle emitter and providing a lot of variables for configuration More...

Functions

SGEPARTICLESsgeParticlesPixelNew (Uint8 r1, Uint8 g1, Uint8 b1, Uint8 r2, Uint8 g2, Uint8 b2)
 create a new pixel emitter
SGEPARTICLESsgeParticlesSpriteNew (SGESPRITE *sprite)
 create a new sprite particle emitter
void sgeParticlesDestroy (SGEPARTICLES *p)
 destroy a SGEPARTICLES structure and free its resources
void sgeParticlesDraw (SGEPARTICLES *p)
 draw the particles on the destination surface

Detailed Description

Particle system.

Definition in file sgeparticles.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines