Nilorea Library
C utilities for networking, threading, graphics
|
particle function file for SantaHack 2012 More...
Go to the source code of this file.
Functions | |
int | add_particle (PARTICLE_SYSTEM *psys, int spr, int mode, int lifetime, int size, ALLEGRO_COLOR color, PHYSICS object) |
add a particle to a particle system More... | |
int | add_particle_ex (PARTICLE_SYSTEM *psys, int spr, int mode, int off_x, int off_y, int lifetime, int size, ALLEGRO_COLOR color, double vx, double vy, double vz, double ax, double ay, double az) |
add a particle to a particle system, all in line version (you have to set the PHYSICS object parameter in the function parameter instead of providing a PHYSICS object) More... | |
int | draw_particle (PARTICLE_SYSTEM *psys, double xpos, double ypos, int w, int h, double range) |
draw particles of a particle system More... | |
int | free_particle_system (PARTICLE_SYSTEM **psys) |
destroy and free a particle system More... | |
int | init_particle_system (PARTICLE_SYSTEM **psys, int max, double x, double y, double z, int max_sprites) |
initialize a particle system More... | |
int | manage_particle (PARTICLE_SYSTEM *psys) |
update particles positions usting particle system internal timer More... | |
int | manage_particle_ex (PARTICLE_SYSTEM *psys, double delta_t) |
update particles positions usting provided delta time More... | |
int | move_particles (PARTICLE_SYSTEM *psys, double vx, double vy, double vz) |
draw particles of a particle system More... | |
particle function file for SantaHack 2012
Definition in file n_particles.c.