/src/games/monop/ |
deck.h | 38 struct cardinfo; /* private to cards.c */ 44 int num_cards; /* number of cards in deck */ 47 int *cards; /* which cards (indexes info[]) */ member in struct:dk_st 55 /* cards.c */
|
/src/games/fish/ |
fish.c | 62 #define CARDS 4 63 #define TOTCARDS RANKS * CARDS 69 static const char *const cards[] = { variable in typeref:typename:const char * const[] 73 #define PRC(card) (void)printf(" %s", cards[card]) 164 (void)printf("%d cards in my hand, %d in the pool.\n", 183 for (p = cards; *p; ++p) 190 n = p - cards; 203 (void)printf("You don't have any %s's!\n", cards[n]); 221 } while (!comphand[lmove] || comphand[lmove] == CARDS); 225 (void)printf("I ask you for: %s.\n", cards[lmove]) [all...] |
/src/sys/dev/pci/bktr/ |
bktr_card.c | 7 * This is part of the Driver for Video Capture Cards (Frame grabbers) 8 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879 12 * bktr_card : This deals with identifying TV cards. 125 /* and on most BT878s cards to store the sub-system vendor id */ 144 static const struct CARDTYPE cards[] = { variable in typeref:typename:const struct CARDTYPE[] 387 * (This is not fitted to all makes of card. All Hauppauge cards have them 388 * and so do newer Bt878 based cards. 451 * Some BT848 cards have no tuner and no additional i2c devices 493 * On some cards, the EEPROM appears in several locations, but all in the 510 * The scheme used for probing cards faces these problems [all...] |
/src/games/canfield/canfield/ |
canfield.c | 154 static struct cardtype cards[decksize]; variable in typeref:struct:cardtype[] 504 * procedure to create a deck of cards 518 ideck[i] = &cards[i]; 519 cards[i].rank = r; 520 cards[i].suit = s; 521 cards[i].color = colormap[scnt]; 522 cards[i].next = NIL; 562 * procedure to print the cards on the board 633 * Procedure to set the cards on the foundation base when available. 725 * procedure to print the beginning cards and to start each gam [all...] |