(lnd_getmil, total_mil): Trivial, inline into callers and remove. The
abstraction from actual land unit mil encoding provided by them was too leaky to be relied upon anyway.
This commit is contained in:
parent
3a38e91a5c
commit
2732ac5d1d
15 changed files with 43 additions and 62 deletions
|
@ -203,9 +203,7 @@ extern double lnd_mobcost(struct lndstr *, struct sctstr *, int);
|
|||
extern char *lnd_path(int, struct lndstr *, char *);
|
||||
|
||||
extern int attack_val(int, struct lndstr *);
|
||||
extern int total_mil(struct lndstr *);
|
||||
extern int defense_val(struct lndstr *);
|
||||
extern int lnd_getmil(struct lndstr *);
|
||||
extern void lnd_print(struct llist *, char *);
|
||||
extern void lnd_delete(struct llist *, char *);
|
||||
extern int lnd_take_casualty(int, struct llist *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue