particle: all particles now take margin arguments

Ramp and map however, doesn't allow any values other than 0 (yet).
This commit is contained in:
Daniel Eklöf 2018-12-29 20:33:38 +01:00
parent bd251cbf9f
commit 3135f1d36d
5 changed files with 56 additions and 52 deletions

View file

@ -2,4 +2,5 @@
#include "../particle.h"
struct particle *particle_ramp_new(
const char *tag, struct particle *particles[], size_t count);
const char *tag, struct particle *particles[], size_t count,
int left_margin, int right_margin);