shpsub: Move declarations to ship.h
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
b860123590
commit
a0cdd157f1
2 changed files with 14 additions and 11 deletions
|
@ -629,17 +629,7 @@ extern void show_news(int);
|
||||||
extern void show_product(int);
|
extern void show_product(int);
|
||||||
extern void show_updates(int);
|
extern void show_updates(int);
|
||||||
/* shpsub.c */
|
/* shpsub.c */
|
||||||
extern void shp_sel(struct nstr_item *, struct emp_qelem *);
|
/* in ship.h */
|
||||||
extern void shp_nav(struct emp_qelem *, double *, double *, int *, natid);
|
|
||||||
extern int shp_sweep(struct emp_qelem *, int, int, natid);
|
|
||||||
extern int shp_check_nav(struct sctstr *, struct shpstr *);
|
|
||||||
extern int sect_has_dock(struct sctstr *);
|
|
||||||
extern int shp_hardtarget(struct shpstr *);
|
|
||||||
extern int shp_nav_one_sector(struct emp_qelem *, int, natid, int);
|
|
||||||
extern int shp_missile_defense(coord, coord, natid, int);
|
|
||||||
extern void shp_missdef(struct shpstr *, natid);
|
|
||||||
extern double shp_mobcost(struct shpstr *);
|
|
||||||
extern void shp_set_tech(struct shpstr *, int);
|
|
||||||
/* snxtitem.c */
|
/* snxtitem.c */
|
||||||
/* snxtsct.c */
|
/* snxtsct.c */
|
||||||
/* in nsc.h */
|
/* in nsc.h */
|
||||||
|
|
|
@ -187,4 +187,17 @@ extern double shp_fire_range(struct shpstr *);
|
||||||
extern int shp_usable_guns(struct shpstr *);
|
extern int shp_usable_guns(struct shpstr *);
|
||||||
extern double shp_torp_hitchance(struct shpstr *, int);
|
extern double shp_torp_hitchance(struct shpstr *, int);
|
||||||
|
|
||||||
|
/* src/lib/subs/shpsub.c */
|
||||||
|
extern void shp_sel(struct nstr_item *, 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 int shp_check_nav(struct sctstr *, struct shpstr *);
|
||||||
|
extern int sect_has_dock(struct sctstr *);
|
||||||
|
extern int shp_hardtarget(struct shpstr *);
|
||||||
|
extern int shp_nav_one_sector(struct emp_qelem *, int, natid, int);
|
||||||
|
extern int shp_missile_defense(coord, coord, natid, int);
|
||||||
|
extern void shp_missdef(struct shpstr *, natid);
|
||||||
|
extern double shp_mobcost(struct shpstr *);
|
||||||
|
extern void shp_set_tech(struct shpstr *, int);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue