Move function declarations for maps.c from prototypes.h to map.h
This commit is contained in:
parent
8dc69a9a84
commit
d78df0b48b
5 changed files with 10 additions and 5 deletions
|
@ -59,5 +59,11 @@ extern void writemap(natid);
|
|||
/* src/lib/subs/border.c */
|
||||
extern void blankfill(char *, struct range *, int);
|
||||
extern void border(struct range *, char *, char *);
|
||||
/* src/lib/subs/maps.c */
|
||||
extern int do_map(int bmap, int unit_type, char *arg1, char *arg2);
|
||||
extern int display_region_map(int bmap, int unit_type, coord curx,
|
||||
coord cury, char *arg);
|
||||
extern int bmaps_intersect(natid, natid);
|
||||
extern int share_bmap(natid, natid, struct nstr_sect *, char, char *);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -449,11 +449,7 @@ extern int has_units(coord, coord, natid, struct lndstr *);
|
|||
extern int adj_units(coord, coord, natid);
|
||||
extern int islist(char *);
|
||||
/* maps.c */
|
||||
extern int do_map(int bmap, int unit_type, char *arg1, char *arg2);
|
||||
extern int display_region_map(int bmap, int unit_type, coord curx,
|
||||
coord cury, char *arg);
|
||||
extern int bmaps_intersect(natid, natid);
|
||||
extern int share_bmap(natid, natid, struct nstr_sect *, char, char *);
|
||||
/* in map.h */
|
||||
/* mission.c */
|
||||
extern char *mission_name(int);
|
||||
extern int collateral_damage(coord, coord, int);
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "commands.h"
|
||||
#include "item.h"
|
||||
#include "land.h"
|
||||
#include "map.h"
|
||||
#include "optlist.h"
|
||||
#include "path.h"
|
||||
#include "plague.h"
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <config.h>
|
||||
|
||||
#include "commands.h"
|
||||
#include "map.h"
|
||||
|
||||
int
|
||||
shar(void)
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
|
||||
#include "commands.h"
|
||||
#include "land.h"
|
||||
#include "map.h"
|
||||
#include "nuke.h"
|
||||
#include "plane.h"
|
||||
#include "ship.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue