/src/games/mille/ |
mille.h | 195 } PLAY; 202 #define nextplay() (Play = other(Play)) 219 Numneed[], Numseen[NUM_CARDS], Play, Window; 227 extern PLAY Player[2]; 237 int canplay(const PLAY *, const PLAY *, CARD); 243 void extrapolate(PLAY *); 244 void finalscore(PLAY *); 252 int onecard(const PLAY *); [all...] |
end.c | 52 finalscore(PLAY *pp) 96 extrapolate(PLAY *pp) 144 reg PLAY *pp;
|
move.c | 60 static int playcard(PLAY *); 62 static int haspicked(const PLAY *); 67 PLAY *pp; 71 pp = &Player[Play]; 79 if (Play == PLAYER) 102 if (Play == PLAYER) 125 if (Play == COMP) { 179 PLAY *pp, *op; 189 fprintf(outf, "CHECK_GO: can play %s (%d), ", C_name[card], card); 198 fprintf(outf, "CHECK_GO: cannot play %s\n" [all...] |
print.c | 56 PLAY *pp; 123 PLAY *pp;
|
init.c | 50 PLAY *pp; 114 PLAY *pp; 173 PLAY *pp;
|
comp.c | 54 PLAY *pp, *op; 386 mvaddstr(MOVE_Y + 1, MOVE_X, "PLAY\n"); 406 onecard(const PLAY *pp) 439 canplay(const PLAY *pp, const PLAY *op, CARD card)
|
extern.c | 84 Play, /* Current player */ 169 PLAY Player[2]; /* Player descriptions */
|
misc.c | 128 if (Play == PLAYER) { 143 PLAY *pp, *op;
|
/src/games/monop/ |
monop.h | 127 typedef struct plr_st PLAY; 142 extern PLAY *play, *cur_p; 154 void ret_card(PLAY *); 204 int prop_worth(PLAY *);
|
rent.c | 51 PLAY *plp; 53 plp = &play[sqp->owner];
|
print.c | 73 printsq(play[i].loc, FALSE); 74 printf(" %s (%d)", play[i].name, i+1); 75 if (cur_p == &play[i]) 136 printf("%d", play[sqp->owner].num_util); 150 rnt <<= play[sqp->owner].num_rr - 1; 151 printf("%d %4d", play[sqp->owner].num_rr, 152 25 << (play[sqp->owner].num_rr - 1)); 178 PLAY *pp; 180 pp = &play[pl];
|
monop.c | 125 PLAY *play, /* player structure array ("calloc"ed) */ variable in typeref:typename:PLAY * 278 cur_p = play = calloc((size_t)num_play, sizeof (PLAY)); 279 if (play == NULL) 290 name_list[i] = play[i].name = strdup(buf); 293 play[i].money = 1500; 308 free(play[i].name); 309 free(play); 327 printf("%s (%d) rolls %d\n", play[i].name, i+1, rl=roll(2, 6)) [all...] |
trade.c | 108 PLAY *pp; 116 pp = &play[pn]; 185 printf("Player %s (%d) gives:\n", play[tp->trader].name, 218 PLAY *pl_fr, *pl_to; 221 pl_fr = &play[from->trader]; 222 pl_to = &play[to->trader]; 310 free(play[player].name); 314 play[i] = play[i+1]; 323 printf("\nThen %s WINS!!!!!\n", play[0].name) [all...] |
prop.c | 56 add_list(playernum, &(play[playernum].own_list), cur_p->loc); 104 play[plr].num_rr--; 107 play[plr].num_util--; 185 } else if (cur_bid > play[i].money) { 187 play[i].money); 197 printf("It goes to %s (%d) for $%d\n",play[i].name,i+1,cur_max); 199 play[i].money -= cur_max; 211 prop_worth(PLAY *plp)
|
cards.c | 259 play[i].money -= num; 268 play[i].money += num; 359 ret_card(PLAY *plr)
|
execute.c | 214 if (play) { 216 free(play[i].name); 217 play[i].name = NULL; 219 free(play); 220 play = NULL; 285 fprintf(outf, " money %d\n", play[i].money); 286 fprintf(outf, " loc %d\n", play[i].loc); 287 fprintf(outf, " num_gojf %d\n", play[i].num_gojf); 288 fprintf(outf, " in_jail %d\n", play[i].in_jail); 411 if (play == NULL || cur_p == NULL || num_play < 2) [all...] |
/src/sys/dev/scsipi/ |
scsipi_cd.h | 40 #define PAUSE 0x4b /* cdrom pause in 'play audio' mode */ 51 #define PLAY_MSF 0x47 /* cdrom play Min,Sec,Frames mode */ 65 #define PLAY 0x45 /* cdrom play 'play audio' mode */
|
cd.c | 1250 /* PLAY command */ 1650 cmd.opcode = PLAY; 1693 * Get scsi driver to send a "play msf" command
|
/src/sys/dev/ic/ |
interwavereg.h | 176 #define PLAY 0x0F 304 #define CPDFI 0x08 /* Index to Play Data Format Reg */
|
/src/sys/arch/luna68k/dev/xplx/ |
xplx.asm | 931 ; #### PCM play start 1053 ; PLAY STOP 1268 ; #### PAM play start
|