Explosion effects.
This commit is contained in:
parent
683746b239
commit
0e57f9ce79
|
@ -34,7 +34,7 @@ void addExplosion(float x, float y, int radius, Entity *owner)
|
|||
x += radius / 2;
|
||||
y += radius / 2;
|
||||
|
||||
addExplosionEffect(x, y, radius, radius / 4);
|
||||
addExplosionParticles(x, y, radius, radius / 4);
|
||||
|
||||
radiusRect.x = (int) (x - radius);
|
||||
radiusRect.y = (int) (y - radius);
|
||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
extern int rrnd(int low, int high);
|
||||
extern void stunBob(void);
|
||||
extern void addExplosionEffect(int x, int y, int dx, int dy);
|
||||
extern void addExplosionParticles(int x, int y, int dx, int dy);
|
||||
extern void playSound(int snd, int ch);
|
||||
extern Entity **getAllEntsWithin(int x, int y, int w, int h, Entity *ignore);
|
||||
extern int getDistance(int x1, int y1, int x2, int y2);
|
||||
|
|
Loading…
Reference in New Issue