| /openbsd-src/games/monop/ |
| H A D | initdeck.c | 59 DECK deck[2]; variable 94 fwrite(&deck[0].num_cards, sizeof(deck[0].num_cards), 1, outf); in main() 95 fwrite(&deck[0].top_card, sizeof(deck[0].top_card), 1, outf); in main() 96 fwrite(&deck[0].gojf_used, sizeof(deck[0].gojf_used), 1, outf); in main() 98 fwrite(&deck[0].num_cards, sizeof(deck[0].num_cards), 1, outf); in main() 99 fwrite(&deck[0].top_card, sizeof(deck[0].top_card), 1, outf); in main() 100 fwrite(&deck[0].gojf_used, sizeof(deck[0].gojf_used), 1, outf); in main() 109 deck[0].num_cards = htons(deck[0].num_cards); in main() 110 fwrite(&deck[0].num_cards, sizeof(deck[0].num_cards), 1, outf); in main() 111 deck[0].top_card = htons(deck[0].top_card); in main() [all …]
|
| H A D | cards.c | 63 if (fread(&deck[0].num_cards, sizeof(deck[0].num_cards), 1, deckf) != 1) in init_decks() 65 if (fread(&deck[0].top_card, sizeof(deck[0].top_card), 1, deckf) != 1) in init_decks() 67 if (fread(&deck[0].gojf_used, sizeof(deck[0].gojf_used), 1, deckf) != 1) in init_decks() 69 deck[0].num_cards = ntohs(deck[0].num_cards); in init_decks() 70 deck[0].top_card = ntohs(deck[0].top_card); in init_decks() 72 if (fread(&deck[1].num_cards, sizeof(deck[1].num_cards), 1, deckf) != 1) in init_decks() 74 if (fread(&deck[1].top_card, sizeof(deck[1].top_card), 1, deckf) != 1) in init_decks() 76 if (fread(&deck[1].gojf_used, sizeof(deck[1].gojf_used), 1, deckf) != 1) in init_decks() 78 deck[1].num_cards = ntohs(deck[1].num_cards); in init_decks() 79 deck[1].top_card = ntohs(deck[1].top_card); in init_decks()
|
| H A D | execute.c | 226 fprintf(outf, "%d %d %d\n", (int)(deck[i].num_cards), in save() 227 (int)(deck[i].top_card), (int)(deck[i].gojf_used)); in save() 228 for (j = 0; j < deck[i].num_cards; j++) in save() 229 fprintf(outf, "%ld ", (long)(deck[i].offsets[j])); in save() 369 j > t1 || t1 != deck[i].num_cards || j < 0 || in rest_f() 372 deck[i].top_card = j; in rest_f() 373 deck[i].gojf_used = t2; in rest_f() 380 for (j = 0; j < deck[i].num_cards; j++) { in rest_f() 384 deck[i].offsets[j] = tl; in rest_f() 435 t1 -= (deck[i].gojf_used == TRUE); in rest_f()
|
| H A D | deck.h | 37 #define CC_D deck[0] 38 #define CH_D deck[1]
|
| H A D | monop.ext | 35 #include "deck.h" 44 extern DECK deck[2];
|
| H A D | monop.def | 35 #include "deck.h" 100 DECK deck[2]; /* Chance and Community Chest */
|
| /openbsd-src/games/cribbage/ |
| H A D | crib.c | 174 makedeck(deck); in game() 175 shuffle(deck); in game() 200 msgcard(deck[i], FALSE); in game() 203 msgcard(deck[j], FALSE); in game() 205 flag = (deck[i].rank == deck[j].rank); in game() 209 shuffle(deck); in game() 212 compcrib = (deck[i].rank > deck[j].rank); in game() 232 shuffle(deck); in game() 309 phand[i] = deck[j++]; in deal() 310 chand[i] = deck[j++]; in deal() [all …]
|
| H A D | extern.c | 55 CARD deck[CARDS]; /* a deck */ variable
|
| H A D | cribbage.h | 40 extern CARD deck[ CARDS ]; /* a deck */
|
| /openbsd-src/games/fish/ |
| H A D | fish.c | 65 int asked[RANKS], comphand[RANKS], deck[TOTCARDS]; variable 254 ++hand[card = deck[--curcard]]; in drawcard() 399 deck[i] = i % RANKS; in init() 404 temp = deck[i]; in init() 405 deck[i] = deck[i+j]; in init() 406 deck[i+j] = temp; in init() 409 ++userhand[deck[--curcard]]; in init() 410 ++comphand[deck[--curcard]]; in init()
|
| H A D | fish.instr | 2 cards, and the rest of the deck is kept to be drawn from later. The 11 that you draw a card from the deck. If you draw the card you asked me 16 your turn to move, I'll draw cards from the deck for you, and I'll tell 24 how many are left in the deck, and which books I've gotten.
|
| /openbsd-src/games/canfield/canfield/ |
| H A D | canfield.c | 137 struct cardtype *deck[decksize]; variable 499 initdeck(struct cardtype *deck[]) in initdeck() argument 510 deck[i] = &cards[i]; in initdeck() 524 shuffle(struct cardtype *deck[]) in shuffle() argument 530 deck[i]->visible = FALSE; in shuffle() 531 deck[i]->paid = FALSE; in shuffle() 536 temp = deck[i]; in shuffle() 537 deck[i] = deck[j]; in shuffle() 538 deck[j] = temp; in shuffle() 679 deck[i]->visible = TRUE; in initgame() [all …]
|
| /openbsd-src/gnu/llvm/libcxx/utils/ |
| H A D | zos_rename_dll_side_deck.sh | 20 Usage: $(basename $0) <side deck file> <old dll name> <new dll name>:
|
| /openbsd-src/gnu/llvm/libcxxabi/src/ |
| H A D | CMakeLists.txt | 200 COMMENT "Rename dll name inside the side deck file"
|
| /openbsd-src/gnu/llvm/libcxx/src/ |
| H A D | CMakeLists.txt | 221 COMMENT "Rename dll name inside the side deck file"
|
| /openbsd-src/share/dict/ |
| H A D | web2a | 2959 awning deck 5098 bell deck 5393 berth deck 6617 boat deck 7991 bridge deck 15998 deck beam 15999 deck block 16000 deck board 16001 deck boy 16002 deck bridg [all...] |
| H A D | web2 | 49537 deck
|
| /openbsd-src/gnu/usr.bin/perl/cpan/perlfaq/lib/ |
| H A D | perlfaq4.pod | 1757 my $deck = shift; # $deck is a reference to an array 1758 return unless @$deck; # must not be empty! 1760 my $i = @$deck; 1763 @$deck[$i,$j] = @$deck[$j,$i];
|
| /openbsd-src/gnu/usr.bin/perl/pod/ |
| H A D | perlport.pod | 1067 $ deck/dollars="__END__"
|
| /openbsd-src/games/fortune/datfiles/ |
| H A D | fortunes2 | 10221 In "Decameron Nights", Louis Jourdain stands on the deck of his 13427 the world. Nude sunbathing on the back deck was combined with phone calls to 31459 the ace is missing from his deck altogether." 33774 Son, someday a man is going to walk up to you with a deck of cards on which 33776 make the Ace of Spades jump out of the deck and squirt cider in your ears. 33811 murdered mate when tossed by pirates from the midnight deck; for hours he fell 35104 The boy stood on the burning deck,
|
| H A D | fortunes2-o | 3876 Once round the deck, They nailed her tits,
|