subs: Split unit_put() into shp_put() and lnd_put() again
Commit d94d269
combined them into unit_put(), but that has turned out
not to be useful. Split them again.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
62b9399cdf
commit
b5ffc1ca49
8 changed files with 52 additions and 41 deletions
|
@ -187,6 +187,7 @@ extern void lnd_takemob(struct emp_qelem *, double);
|
|||
extern int lnd_spyval(struct lndstr *);
|
||||
extern void intelligence_report(int, struct lndstr *, int, char *);
|
||||
extern void lnd_mar(struct emp_qelem *, double *, double *, int *, natid);
|
||||
extern void lnd_put(struct emp_qelem *, natid);
|
||||
extern int lnd_hardtarget(struct lndstr *);
|
||||
extern int lnd_mar_one_sector(struct emp_qelem *, int, natid, int);
|
||||
extern int lnd_support(natid, natid, coord, coord, int);
|
||||
|
|
|
@ -185,6 +185,7 @@ extern double shp_torp_hitchance(struct shpstr *, int);
|
|||
extern void shp_sel(struct nstr_item *, struct emp_qelem *);
|
||||
extern struct ulist *shp_insque(struct shpstr *, struct emp_qelem *);
|
||||
extern void shp_nav(struct emp_qelem *, double *, double *, int *, natid);
|
||||
extern void shp_put(struct emp_qelem *, natid);
|
||||
extern int shp_sweep(struct emp_qelem *, int, int, natid);
|
||||
extern enum d_navigation shp_check_nav(struct shpstr *, struct sctstr *);
|
||||
extern int sect_has_dock(struct sctstr *);
|
||||
|
|
|
@ -58,7 +58,6 @@ extern void unit_onresize(int);
|
|||
|
||||
extern char *unit_nameof(struct empobj *);
|
||||
extern void unit_list(struct emp_qelem *);
|
||||
extern void unit_put(struct emp_qelem *list, natid actor);
|
||||
extern char *unit_path(int, struct empobj *, char *, size_t);
|
||||
extern void unit_view(struct emp_qelem *);
|
||||
extern void unit_teleport(struct empobj *, coord, coord);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue