xref: /csrg-svn/games/monop/deck.h (revision 60815)
133205Sbostic /*
2*60815Sbostic  * Copyright (c) 1980, 1993
3*60815Sbostic  *	The Regents of the University of California.  All rights reserved.
433205Sbostic  *
542583Sbostic  * %sccs.include.redist.c%
633205Sbostic  *
7*60815Sbostic  *	@(#)deck.h	8.1 (Berkeley) 05/31/93
833205Sbostic  */
933205Sbostic 
1033205Sbostic # define	bool	char
1133205Sbostic 
1233205Sbostic # define	CC_D	deck[0]
1333205Sbostic # define	CH_D	deck[1]
1433205Sbostic 
1533205Sbostic struct dk_st {			/* deck description structure		*/
1633205Sbostic 	int	num_cards;		/* number of cards in deck	*/
1733205Sbostic 	int	last_card;		/* number of last card picked	*/
1833205Sbostic 	bool	gojf_used;		/* set if gojf card out of deck	*/
1933205Sbostic 	long	*offsets;		/* offests for start of cards	*/
2033205Sbostic };
2133205Sbostic 
2233205Sbostic typedef struct dk_st	DECK;
23