subs: Factor shp_insque() out of shp_sel(), shp_missdef(), ...
... nav_ship(), fltp_to_list(). Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
da400d4fe7
commit
fe42e6e8dd
4 changed files with 23 additions and 27 deletions
|
@ -31,7 +31,7 @@
|
|||
* Thomas Ruschak, 1992
|
||||
* Ken Stevens, 1995
|
||||
* Steve McClure, 1998
|
||||
* Markus Armbruster, 2004-2013
|
||||
* Markus Armbruster, 2004-2014
|
||||
*/
|
||||
|
||||
#ifndef SHIP_H
|
||||
|
@ -183,6 +183,7 @@ extern double shp_torp_hitchance(struct shpstr *, int);
|
|||
|
||||
/* src/lib/subs/shpsub.c */
|
||||
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 int shp_sweep(struct emp_qelem *, int, int, natid);
|
||||
extern enum d_navigation shp_check_nav(struct shpstr *, struct sctstr *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue