xy.h: Move declaration of sctoff() from sect.h to xy.h
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
5497126d05
commit
f2b1ea3161
5 changed files with 4 additions and 4 deletions
|
@ -164,9 +164,6 @@ struct dchrstr {
|
|||
#define getsectp(x, y) (struct sctstr *)ef_ptr(EF_SECTOR, sctoff((x), (y)))
|
||||
#define getsectid(id) (struct sctstr *)ef_ptr(EF_SECTOR, (id))
|
||||
|
||||
/* things relating to sectors */
|
||||
extern int sctoff(coord x, coord y);
|
||||
|
||||
extern struct dchrstr dchr[SCT_TYPE_MAX + 2];
|
||||
#define IS_BIG_CITY(type) (dchr[(type)].d_pkg == UPKG)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue