(att_reacting_units, attack_val, defense_val, intelligence_report):

Return double.  Callers changed.

(att_reacting_units): Remove silly truncation to int.

(get_dlist): Return void, simplify.
This commit is contained in:
Markus Armbruster 2006-06-15 18:55:15 +00:00
parent 3f23320a7e
commit 5dcd0dcd86
4 changed files with 28 additions and 46 deletions

View file

@ -86,8 +86,8 @@ extern int att_get_offense(int, struct combat *, struct emp_qelem *,
extern int att_empty_attack(int, int, struct combat *);
extern int att_get_defense(struct emp_qelem *, struct combat *,
struct emp_qelem *, int, int);
extern int att_reacting_units(struct combat *, struct emp_qelem *, int,
int *, int);
extern double att_reacting_units(struct combat *, struct emp_qelem *, int,
int *, int);
extern int att_get_support(int, int, int, int, int, struct emp_qelem *,
struct combat *, struct emp_qelem *,
struct combat *, double *, double *, int);