(ac_calc_flak,ac_fireflak,pinflak_planedamage): New ac_calc_flak().
Move common flak damage code from ac_fireflak() and pinflak_planedamage() to ac_calc_flak().
This commit is contained in:
parent
3645ee77c8
commit
2c4b89e2d1
4 changed files with 35 additions and 40 deletions
|
@ -175,6 +175,7 @@ extern void ac_doflak(struct emp_qelem *, struct sctstr *);
|
|||
extern void ac_shipflak(struct emp_qelem *, coord, coord);
|
||||
extern void ac_landflak(struct emp_qelem *, coord, coord);
|
||||
extern void ac_fireflak(struct emp_qelem *, natid, natid, int);
|
||||
extern int ac_flak_dam(int);
|
||||
extern void ac_encounter(struct emp_qelem *, struct emp_qelem *, coord,
|
||||
coord, s_char *, int, int,
|
||||
struct emp_qelem *, struct emp_qelem *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue