shp_init(), lnd_init(), pln_init(), nuk_init() are now empty, remove
This commit is contained in:
parent
6cd3d55c4e
commit
6b89127d5b
6 changed files with 4 additions and 28 deletions
|
@ -457,7 +457,6 @@ extern int getele(char *, char *);
|
||||||
extern char *prland(struct lndstr *);
|
extern char *prland(struct lndstr *);
|
||||||
extern int lnd_postread(int, void *);
|
extern int lnd_postread(int, void *);
|
||||||
extern int lnd_prewrite(int, void *);
|
extern int lnd_prewrite(int, void *);
|
||||||
extern void lnd_init(int, void *);
|
|
||||||
/* landgun.c */
|
/* landgun.c */
|
||||||
extern double seagun(int, int);
|
extern double seagun(int, int);
|
||||||
extern double landgun(int, int);
|
extern double landgun(int, int);
|
||||||
|
@ -528,7 +527,6 @@ extern void nreport(natid, int, natid, int);
|
||||||
extern char *prnuke(struct nukstr *);
|
extern char *prnuke(struct nukstr *);
|
||||||
extern int nuk_postread(int, void *);
|
extern int nuk_postread(int, void *);
|
||||||
extern int nuk_prewrite(int, void *);
|
extern int nuk_prewrite(int, void *);
|
||||||
extern void nuk_init(int, void *);
|
|
||||||
extern int nuk_on_plane(struct nukstr *, int);
|
extern int nuk_on_plane(struct nukstr *, int);
|
||||||
/* nxtitem.c */
|
/* nxtitem.c */
|
||||||
extern int nxtitem(struct nstr_item *, void *);
|
extern int nxtitem(struct nstr_item *, void *);
|
||||||
|
@ -540,7 +538,6 @@ extern int onearg(char *, char *);
|
||||||
extern char *prplane(struct plnstr *);
|
extern char *prplane(struct plnstr *);
|
||||||
extern int pln_postread(int, void *);
|
extern int pln_postread(int, void *);
|
||||||
extern int pln_prewrite(int, void *);
|
extern int pln_prewrite(int, void *);
|
||||||
extern void pln_init(int, void *);
|
|
||||||
/* plnsub.c */
|
/* plnsub.c */
|
||||||
extern void count_planes(struct shpstr *);
|
extern void count_planes(struct shpstr *);
|
||||||
extern struct sctstr *get_assembly_point(char *, struct sctstr *, char *);
|
extern struct sctstr *get_assembly_point(char *, struct sctstr *, char *);
|
||||||
|
@ -638,7 +635,6 @@ extern int sectdamage(struct sctstr *, int, struct emp_qelem *);
|
||||||
extern char *prship(struct shpstr *);
|
extern char *prship(struct shpstr *);
|
||||||
extern int shp_postread(int, void *);
|
extern int shp_postread(int, void *);
|
||||||
extern int shp_prewrite(int, void *);
|
extern int shp_prewrite(int, void *);
|
||||||
extern void shp_init(int, void *);
|
|
||||||
/* show.c */
|
/* show.c */
|
||||||
extern void show_bridge(int);
|
extern void show_bridge(int);
|
||||||
extern void show_tower(int);
|
extern void show_tower(int);
|
||||||
|
|
|
@ -45,10 +45,10 @@ struct fileinit {
|
||||||
|
|
||||||
static struct fileinit fileinit[] = {
|
static struct fileinit fileinit[] = {
|
||||||
{EF_SECTOR, NULL, sct_postread, sct_prewrite},
|
{EF_SECTOR, NULL, sct_postread, sct_prewrite},
|
||||||
{EF_SHIP, shp_init, shp_postread, shp_prewrite},
|
{EF_SHIP, NULL, shp_postread, shp_prewrite},
|
||||||
{EF_PLANE, pln_init, pln_postread, pln_prewrite},
|
{EF_PLANE, NULL, pln_postread, pln_prewrite},
|
||||||
{EF_LAND, lnd_init, lnd_postread, lnd_prewrite},
|
{EF_LAND, NULL, lnd_postread, lnd_prewrite},
|
||||||
{EF_NUKE, nuk_init, nuk_postread, nuk_prewrite}
|
{EF_NUKE, NULL, nuk_postread, nuk_prewrite}
|
||||||
};
|
};
|
||||||
|
|
||||||
static void ef_open_srv(void);
|
static void ef_open_srv(void);
|
||||||
|
|
|
@ -162,11 +162,6 @@ lnd_prewrite(int n, void *ptr)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
lnd_init(int n, void *ptr)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
prland(struct lndstr *lp)
|
prland(struct lndstr *lp)
|
||||||
{
|
{
|
||||||
|
|
|
@ -98,11 +98,6 @@ nuk_prewrite(int n, void *ptr)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
nuk_init(int n, void *ptr)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
nuk_on_plane(struct nukstr *np, int pluid)
|
nuk_on_plane(struct nukstr *np, int pluid)
|
||||||
{
|
{
|
||||||
|
|
|
@ -141,11 +141,6 @@ pln_prewrite(int n, void *ptr)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
pln_init(int n, void *ptr)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
prplane(struct plnstr *pp)
|
prplane(struct plnstr *pp)
|
||||||
{
|
{
|
||||||
|
|
|
@ -109,11 +109,6 @@ shp_prewrite(int n, void *ptr)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
shp_init(int n, void *ptr)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
prship(struct shpstr *sp)
|
prship(struct shpstr *sp)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue