/* * Copyright (C) 1999 Brad Stephens * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of *the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA */ #ifndef _NAPALM_H_ #define _NAPALM_H_ #define NAPALM_HEIGHT 200 /* height above dirt to explode */ #define NAPALM_SPREAD 0.20 /* angle in radians */ #define NAPALM_FRAGMENTS 3 /* total projectiles = this *2 +1 */ #define NAPALM_EXPL_DURATION 20 /* Explosion Duration */ #define NAPALM_EXPL_WIDTH 40 /* Explosion Width */ Shellstat_bal wepNapalmGuidance(void *info, struct Projectilepos_bal *prjpos, Shellstat_bal(*initexplosion) (struct Projectilepos_bal * prjpos, void **explosioninfo), void **explosioninfo); Shellstat_bal wepBurningNapalmExplosionInit(struct Projectilepos_bal *prjpos, void **explosioninfo); Shellstat_bal wepBurningNapalmExplosion(void *info); #endif