Lines Matching refs:deck
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()
112 fwrite(&deck[0].top_card, sizeof(deck[0].top_card), 1, outf); in main()
113 fwrite(&deck[0].gojf_used, sizeof(deck[0].gojf_used), 1, outf); in main()
114 deck[0].num_cards = ntohs(deck[0].num_cards); in main()
116 deck[1].num_cards = htons(deck[1].num_cards); in main()
117 fwrite(&deck[1].num_cards, sizeof(deck[1].num_cards), 1, outf); in main()
118 deck[1].top_card = htons(deck[1].top_card); in main()
119 fwrite(&deck[1].top_card, sizeof(deck[1].top_card), 1, outf); in main()
120 fwrite(&deck[1].gojf_used, sizeof(deck[1].gojf_used), 1, outf); in main()
121 deck[1].num_cards = ntohs(deck[1].num_cards); in main()