(num_teles, redir_fp, pipe_fp, exec_fd, sendeof, prompt, command)
(ac_intercept, all_missiles, ac_planedamage, ac_doflak, ac_landflak) (ac_shipflak, ac_fireflak, can_fly, do_evade, att_calcodds) (emp_setbitmap, lnd_hit_mine, conditions, get_wp, daemonize): Internal linkage.
This commit is contained in:
parent
aac6312c74
commit
2ae6be9af6
18 changed files with 41 additions and 44 deletions
|
@ -35,7 +35,6 @@
|
|||
#define BUDG_H
|
||||
|
||||
void fill_update_array(int *bp, struct sctstr *sp);
|
||||
int *get_wp(int *bp, struct sctstr *sp, int cm);
|
||||
int gt_bg_nmbr(int *bp, struct sctstr *sp, i_type comm);
|
||||
void pt_bg_nmbr(int *bp, struct sctstr *sp, i_type comm, int amount);
|
||||
void get_materials(struct sctstr *sp, int *bp, int *mvec, int check);
|
||||
|
|
|
@ -69,7 +69,6 @@ struct combat {
|
|||
#define A_LBOARD 5
|
||||
|
||||
/* src/lib/subs/attsub.c */
|
||||
extern double att_calcodds(int, int);
|
||||
extern double att_combat_eff(struct combat *);
|
||||
extern void att_move_in_off(int, struct combat *, struct emp_qelem *,
|
||||
struct combat *);
|
||||
|
|
|
@ -218,7 +218,6 @@ extern void count_units(struct shpstr *);
|
|||
extern void lnd_count_units(struct lndstr *);
|
||||
extern void lnd_mar(struct emp_qelem *, double *, double *, int *, natid);
|
||||
extern void lnd_put(struct emp_qelem *, natid);
|
||||
extern int lnd_hit_mine(struct lndstr *, struct lchrstr *);
|
||||
extern void lnd_list(struct emp_qelem *);
|
||||
extern int lnd_hardtarget(struct lndstr *);
|
||||
extern int lnd_mar_one_sector(struct emp_qelem *, int, natid, int);
|
||||
|
|
|
@ -98,7 +98,6 @@ typedef short coord;
|
|||
#define days(x) (60*60*24*(x))
|
||||
|
||||
extern int debug;
|
||||
extern int daemonize;
|
||||
|
||||
/*
|
||||
* If EXPR is true, an internal error occured.
|
||||
|
|
|
@ -158,26 +158,15 @@ struct shiplist {
|
|||
#define PLN_BLD_WORK(lcm, hcm) (20 + (lcm) + 2 * (hcm))
|
||||
|
||||
/* src/lib/subs/aircombat.c */
|
||||
extern void ac_planedamage(struct plist *, natid, int, natid, int,
|
||||
int, char *);
|
||||
extern void ac_intercept(struct emp_qelem *, struct emp_qelem *,
|
||||
struct emp_qelem *, natid, coord, coord);
|
||||
extern void ac_combat_headers(natid, natid);
|
||||
extern void ac_airtoair(struct emp_qelem *, struct emp_qelem *);
|
||||
extern void ac_doflak(struct emp_qelem *, struct sctstr *);
|
||||
extern void ac_shipflak(struct emp_qelem *, coord, coord);
|
||||
extern void ac_landflak(struct emp_qelem *, coord, coord);
|
||||
extern void ac_fireflak(struct emp_qelem *, natid, natid, int);
|
||||
extern int ac_flak_dam(int);
|
||||
extern void ac_encounter(struct emp_qelem *, struct emp_qelem *, coord,
|
||||
coord, char *, int, int,
|
||||
struct emp_qelem *, struct emp_qelem *);
|
||||
extern int ac_isflying(struct plnstr *, struct emp_qelem *);
|
||||
extern int do_evade(struct emp_qelem *, struct emp_qelem *);
|
||||
extern void sam_intercept(struct emp_qelem *, struct emp_qelem *,
|
||||
natid, natid, coord, coord, int);
|
||||
extern int all_missiles(struct emp_qelem *);
|
||||
extern int can_fly(int);
|
||||
|
||||
/* src/lib/subs/aswplnsubs.c */
|
||||
extern int on_shiplist(short, struct shiplist *);
|
||||
|
|
|
@ -420,7 +420,6 @@ extern int natpass(int, char *);
|
|||
extern struct player *player; /* current player's context */
|
||||
extern char *praddr(struct player *);
|
||||
extern void player_main(struct player *);
|
||||
extern int command(void);
|
||||
/* more under Commands */
|
||||
/* recvclient.c */
|
||||
extern int recvclient(char *, int);
|
||||
|
@ -464,7 +463,6 @@ extern int shipdef(natid, natid, coord, coord);
|
|||
/* getbit.c */
|
||||
extern int emp_getbit(int, int, unsigned char *);
|
||||
extern void emp_setbit(int, int, unsigned char *);
|
||||
extern void emp_setbitmap(int, int, unsigned char *, int *);
|
||||
extern void bitinit2(struct nstr_sect *, unsigned char *, int);
|
||||
/* getele.c */
|
||||
extern int getele(char *, char *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue