5 Struct PARTICLE_SYSTEM
gullradriel edited this page 2026-10-09 00:55:18 +02:00

PARTICLE_SYSTEM

Module: GRAPHICS: 3D particles utilities

Structure of a particle system.

#include "n_particles.h"

Public Attributes

Name
N_TIME timer
Internal: particle system timer.
ALLEGRO_BITMAP ** sprites
Library of picture for the particles.
VECTOR3D source
Coordinate of emitting point (used by add_particle/add_particle_ex).
int max_sprites
size of the picture library
LIST * list
list of PARTICLE pointers
LIST * emitters
list of PARTICLE_EMITTER pointers

Public Attributes Documentation

variable timer

N_TIME timer;

Internal: particle system timer.

variable sprites

ALLEGRO_BITMAP ** sprites;

Library of picture for the particles.

variable source

VECTOR3D source;

Coordinate of emitting point (used by add_particle/add_particle_ex).

variable max_sprites

int max_sprites;

size of the picture library

variable list

LIST * list;

list of PARTICLE pointers

variable emitters

LIST * emitters;

list of PARTICLE_EMITTER pointers