subs: Move shared code from navi.c to subs

Rename do_unit_move() to unit_move() to blend into unitsub.c.  Give
its helpers static linkage.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2015-01-05 13:12:38 +01:00
parent 520cfea05d
commit 198e2dd076
7 changed files with 289 additions and 299 deletions

View file

@ -59,8 +59,6 @@ extern int edit_sect_i(struct sctstr *, char *, int);
extern int load_comm_ok(struct sctstr *, natid, i_type, int);
extern void gift(natid, natid, void *, char *);
extern int display_mark(i_type, int);
extern int nav_map(int, int, int);
extern int do_unit_move(struct emp_qelem *, double *, double *);
extern int count_pop(int);
extern int line_of_sight(char **rad, int ax, int ay, int bx, int by);
extern void plane_sona(struct emp_qelem *, int, int, struct shiplist **);