-/* $NetBSD: monop.h,v 1.15 2008/02/23 21:07:52 dholland Exp $ */
+/* $NetBSD: monop.h,v 1.19 2009/08/12 08:10:49 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
#define lucky(str) printf("%s%s\n",str,lucky_mes[roll(1,num_luck)-1])
#define printline() printf("------------------------------\n")
-#define sqnum(sqp) (sqp - board)
+#define sqnum(sqp) ((short)(sqp - board))
struct sqr_st { /* structure for square */
const char *name; /* place name */
typedef struct prp_st RR_S;
typedef struct prp_st UTIL_S;
+extern bool trading, spec, fixing, told_em;
+
+extern const char *const yncoms[], *name_list[], *const lucky_mes[];
+
+extern int num_play, player, num_doub, num_luck;
+
+extern void (*const func[])(void);
+
+/*extern MON mon[N_MON];*/
+
+extern PLAY *play, *cur_p;
+
+extern PROP prop[N_PROP];
+
+/*extern RR_S rr[N_RR];*/
+
+extern SQUARE board[N_SQRS + 1];
+
+/*extern UTIL_S util[2];*/
+
/* cards.c */
-void init_decks(void);
-void get_card(DECK *);
+void ret_card(PLAY *);
/* execute.c */
void execute(int);
/* jail.c */
void card(void);
-void ret_card(PLAY *);
void pay(void);
int move_jail(int, int );
void printturn(void);
void next_play(void);
int get_int(const char *);
void set_ownlist(int);
-void is_monop(MON *, int);
void is_not_monop(MON *);
void list(void);
void list_all(void);