xref: /original-bsd/games/monop/deck.h (revision a51a1dd1)
1 /*
2  * Copyright (c) 1980, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)deck.h	8.1 (Berkeley) 05/31/93
8  */
9 
10 # define	bool	char
11 
12 # define	CC_D	deck[0]
13 # define	CH_D	deck[1]
14 
15 struct dk_st {			/* deck description structure		*/
16 	int	num_cards;		/* number of cards in deck	*/
17 	int	last_card;		/* number of last card picked	*/
18 	bool	gojf_used;		/* set if gojf card out of deck	*/
19 	long	*offsets;		/* offests for start of cards	*/
20 };
21 
22 typedef struct dk_st	DECK;
23