summaryrefslogtreecommitdiff
path: root/src/modules/sparkler/particles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/sparkler/particles.h')
-rw-r--r--src/modules/sparkler/particles.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/modules/sparkler/particles.h b/src/modules/sparkler/particles.h
index 689934b..b191b6e 100644
--- a/src/modules/sparkler/particles.h
+++ b/src/modules/sparkler/particles.h
@@ -6,9 +6,14 @@
#include "list.h"
#include "particle.h"
+typedef struct particles_conf_t {
+ unsigned show_bsp_leafs:1;
+ unsigned show_bsp_matches:1;
+} particles_conf_t;
+
typedef struct particles_t particles_t;
-particles_t * particles_new(void);
+particles_t * particles_new(const particles_conf_t *conf);
void particles_draw(particles_t *particles, fb_fragment_t *fragment);
particle_status_t particles_sim(particles_t *particles);
void particles_age(particles_t *particles);
© All Rights Reserved