Posted By: 20BN
About Particle pointer - 12/01/18 13:26
Hi, all.
How to set point PARTICLE* p in other function?
How to set point PARTICLE* p in other function?
var particleVariableBitmapType = 0; void p_event(PARTICLE *p) { if(particleVariableBitmapType == 1) p.bmap = smoke_bmp; else p.bmap = fire_bmp; } void p_fnc(PARTICLE *p) { ... p.event = p_event; } effect(p_fnc,...);