Searched refs:top_card (Results 1 - 4 of 4) sorted by relevance
/openbsd-current/games/monop/ |
H A D | deck.h | 42 int16_t top_card; /* number of last card picked */ member in struct:dk_st
|
H A D | cards.c | 65 if (fread(&deck[0].top_card, sizeof(deck[0].top_card), 1, deckf) != 1) 70 deck[0].top_card = ntohs(deck[0].top_card); 74 if (fread(&deck[1].top_card, sizeof(deck[1].top_card), 1, deckf) != 1) 79 deck[1].top_card = ntohs(deck[1].top_card); 100 dp->top_card = 0; 124 fseek(deckf, dp->offsets[dp->top_card], SEEK_SE [all...] |
H A D | initdeck.c | 95 fwrite(&deck[0].top_card, sizeof(deck[0].top_card), 1, outf); 99 fwrite(&deck[0].top_card, sizeof(deck[0].top_card), 1, outf); 111 deck[0].top_card = htons(deck[0].top_card); 112 fwrite(&deck[0].top_card, sizeof(deck[0].top_card), 1, outf); 118 deck[1].top_card = htons(deck[1].top_card); [all...] |
H A D | execute.c | 227 (int)(deck[i].top_card), (int)(deck[i].gojf_used)); 372 deck[i].top_card = j;
|
Completed in 166 milliseconds