Explosion effects.

This commit is contained in:
Steve 2018-02-05 22:07:04 +00:00
parent 683746b239
commit 0e57f9ce79
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);