1*33205Sbostic /* 2*33205Sbostic * Copyright (c) 1987 Regents of the University of California. 3*33205Sbostic * All rights reserved. 4*33205Sbostic * 5*33205Sbostic * Redistribution and use in source and binary forms are permitted 6*33205Sbostic * provided that this notice is preserved and that due credit is given 7*33205Sbostic * to the University of California at Berkeley. The name of the University 8*33205Sbostic * may not be used to endorse or promote products derived from this 9*33205Sbostic * software without specific prior written permission. This software 10*33205Sbostic * is provided ``as is'' without express or implied warranty. 11*33205Sbostic * 12*33205Sbostic * @(#)deck.h 5.1 (Berkeley) 01/02/88 13*33205Sbostic */ 14*33205Sbostic 15*33205Sbostic # define bool char 16*33205Sbostic 17*33205Sbostic # define CC_D deck[0] 18*33205Sbostic # define CH_D deck[1] 19*33205Sbostic 20*33205Sbostic struct dk_st { /* deck description structure */ 21*33205Sbostic int num_cards; /* number of cards in deck */ 22*33205Sbostic int last_card; /* number of last card picked */ 23*33205Sbostic bool gojf_used; /* set if gojf card out of deck */ 24*33205Sbostic long *offsets; /* offests for start of cards */ 25*33205Sbostic }; 26*33205Sbostic 27*33205Sbostic typedef struct dk_st DECK; 28