(effadv_list, effadv, rejects, rejectname, telnames, rea, numnames,

tennames, numstr): Replace by static local variables in their only
user.
(relates): Move from global/misc.c to common/nat.c.
(att_mode): Move from global/misc.c to subs/attsub.c.
This commit is contained in:
Markus Armbruster 2004-02-19 19:14:29 +00:00
parent 22a356b1e1
commit c8bb4d9b87
8 changed files with 56 additions and 134 deletions

View file

@ -83,11 +83,15 @@ static void send_reacting_units_home(struct combat *def,
static int take_def(int combat_mode, struct emp_qelem *list,
struct combat *off, struct combat *def);
void att_move_in_off(int combat_mode, struct combat *off,
struct emp_qelem *olist, struct combat *def);
static int get_land(int combat_mode, struct combat *def, int uid,
struct llist *llp, int victim_land);
s_char *att_mode[] = {
/* must match combat types in combat.h */
"defend", "attack", "assault", "paradrop", "board", "lboard"
};
/*
* The principal object in this code is the "combat" object. A combat object
* is either a sector or ship. There are