I think it would be better one effect.fx file each effect than an unique big "else if" file... anyway thanks for sharing
The raison is these fx is no need more parameters ..like pos_x,pos_y, direction .... all are centered.
And for this raison the fx are selected ( minimum parameters need fx are included)
Good for game background..