relations: Encapsulate relates[] in relations_string()
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
0b05f11d28
commit
129fe58c19
3 changed files with 15 additions and 10 deletions
|
@ -177,8 +177,6 @@ struct rejectstr {
|
|||
unsigned char rej_rejects[MAXNOC];
|
||||
};
|
||||
|
||||
extern char *relates[];
|
||||
|
||||
/* procedures relating to nation stuff */
|
||||
|
||||
#define putnat(p) ef_write(EF_NATION, (p)->nat_cnum, (p))
|
||||
|
@ -205,6 +203,7 @@ extern char *relatename(struct natstr *np, natid other);
|
|||
extern char *natstate(struct natstr *np);
|
||||
extern enum relations getrel(struct natstr *np, natid them);
|
||||
extern enum relations relations_with(natid, natid);
|
||||
extern char *relations_string(enum relations);
|
||||
extern int nat_accepts(natid, natid, enum rej_comm);
|
||||
extern int in_contact(natid, natid);
|
||||
extern void agecontact(struct natstr *np);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue