summaryrefslogtreecommitdiffstats
path: root/monop/monop.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-02-24 01:57:34 +0000
committerdholland <dholland@NetBSD.org>2008-02-24 01:57:34 +0000
commit858a6720891a7ac54475ce092705f4a9c8ec4f64 (patch)
tree27f3c452f1e773e77d87905a6bd97ed192dc916e /monop/monop.h
parent3a7bd350ec2aed9c0128fa818be32f554dfe29a6 (diff)
downloadbsdgames-darwin-858a6720891a7ac54475ce092705f4a9c8ec4f64.tar.gz
bsdgames-darwin-858a6720891a7ac54475ce092705f4a9c8ec4f64.tar.zst
bsdgames-darwin-858a6720891a7ac54475ce092705f4a9c8ec4f64.zip
Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c. Rearrange includes accordingly. No functional change.
Diffstat (limited to 'monop/monop.h')
-rw-r--r--monop/monop.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/monop/monop.h b/monop/monop.h
index 9becc1f8..aee4394e 100644
--- a/monop/monop.h
+++ b/monop/monop.h
@@ -1,4 +1,4 @@
-/* $NetBSD: monop.h,v 1.15 2008/02/23 21:07:52 dholland Exp $ */
+/* $NetBSD: monop.h,v 1.16 2008/02/24 01:57:34 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -129,10 +129,26 @@ typedef struct prp_st PROP;
typedef struct prp_st RR_S;
typedef struct prp_st UTIL_S;
+extern bool trading, spec, fixing, told_em;
+
+extern const char *const yncoms[], *const comlist[], *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 *);
/* execute.c */
void execute(int);