With the increase in drawing capability in the library the device cannot generate enough particles in B4PPC code so I have provided a particle generator routine in the library and took the opportunity to tidy up the parameter lists to move static stuff to the constructor as things have grown a bit unwieldy.
Pass the arrays in once rather than every time to save overhead
new1(Bitmap, backcol, top, left, bottom, right, px(), py(), pcol,(), pspread(), pgravity())
Generate new particles
int AddElement( n, pnum, pen, x, y, col, spread, gravity)
pnum = number of particle to generate, pen = size of pen, rest obvious hopefully! You need to save the return in n
n = bh1.AddElement( n, ... )
Sparse timer call
n = bh1.timer(n)