Home
last modified time | relevance | path

Searched refs:play (Results 1 – 25 of 65) sorted by relevance

123

/dragonfly/games/monop/
H A Dexecute.c207 if (play) { in reset_game()
209 free(play[i].name); in reset_game()
210 play[i].name = NULL; in reset_game()
212 free(play); in reset_game()
213 play = NULL; in reset_game()
528 if (play != NULL) { in restore_toplevel_attr()
532 play = calloc((size_t)num_play, sizeof(play[0])); in restore_toplevel_attr()
533 if (play == NULL) { in restore_toplevel_attr()
540 if (play == NULL) { in restore_toplevel_attr()
544 cur_p = &play[player]; in restore_toplevel_attr()
[all …]
H A Dprint.c66 printsq(play[i].loc, FALSE); in where()
67 printf(" %s (%d)", play[i].name, i+1); in where()
68 if (cur_p == &play[i]) in where()
129 printf("%d", play[sqp->owner].num_util); in printsq()
143 rnt <<= play[sqp->owner].num_rr - 1; in printsq()
144 printf("%d %4d", play[sqp->owner].num_rr, in printsq()
145 25 << (play[sqp->owner].num_rr - 1)); in printsq()
173 pp = &play[pl]; in printhold()
H A Dmonop.c113 PLAY *play, /* player structure array ("calloc"ed) */ variable
266 cur_p = play = calloc((size_t)num_play, sizeof (PLAY)); in getplayers()
267 if (play == NULL) in getplayers()
278 name_list[i] = play[i].name = strdup(buf); in getplayers()
281 play[i].money = 1500; in getplayers()
296 free(play[i].name); in getplayers()
297 free(play); in getplayers()
315 printf("%s (%d) rolls %d\n", play[i].name, i+1, rl=roll(2, 6)); in init_players()
330 cur_p = &play[max_pl]; in init_players()
H A Dtrade.c109 pp = &play[pn]; in get_list()
178 printf("Player %s (%d) gives:\n", play[tp->trader].name, in summate()
214 pl_fr = &play[from->trader]; in move_em()
215 pl_to = &play[to->trader]; in move_em()
303 free(play[player].name); in resign()
307 play[i] = play[i+1]; in resign()
316 printf("\nThen %s WINS!!!!!\n", play[0].name); in resign()
319 play[0].money+prop_worth(&play[0])); in resign()
H A Dprop.c49 add_list(playernum, &(play[playernum].own_list), cur_p->loc); in buy()
97 play[plr].num_rr--; in del_list()
100 play[plr].num_util--; in del_list()
178 } else if (cur_bid > play[i].money) { in bid()
180 play[i].money); in bid()
190 printf("It goes to %s (%d) for $%d\n",play[i].name,i+1,cur_max); in bid()
192 play[i].money -= cur_max; in bid()
H A Dmisc.c82 cur_p = &play[player]; in next_play()
127 op = play[pl].own_list; in set_ownlist()
143 play[pl].num_util = num; in set_ownlist()
162 play[pl].num_rr = num; in set_ownlist()
H A Dcards.c252 play[i].money -= num; in get_card()
261 play[i].money += num; in get_card()
H A Drent.c46 plp = &play[sqp->owner]; in rent()
H A Dmonop.h142 extern PLAY *play, *cur_p;
/dragonfly/games/hack/
H A DREAD_ME57 1. If it didnt exist already, introduce a loginname `play' .
59 for everybody and is suid play:
60 ---s--s--x 1 play 206848 Apr 3 00:17 hack
62 running under nice; in that case you might write a program play.c
63 such that the program play is suid play and executable for everybody
65 play only; all the program play does is asking for the name of a game,
68 -r-sr-sr-x 1 play 13312 May 24 12:52 play
69 ---x------ 1 play 206848 Apr 3 00:17 hack
70 If you are worried about security you might let play do
78 drwx------ 3 play 1024 Aug 9 09:03 hackdir
/dragonfly/games/larn/datfiles/
H A Dlarnopts5 play-day-play
/dragonfly/games/hunt/
H A DREADME.protocol21 P game play TCP port
53 A client requests the game play port P with the C_PLAYER message.
57 S: {uint16: P (TCP port number for the game play port)}
59 The TCP address of the game play port should be formed from the
65 A client can request the game play port P with the C_MONITOR message.
70 S: {uint16: P (TCP port number for the game play port)}
107 P - game play port
109 This port provides the TCP channel for the main game play between
162 Game play protocol
/dragonfly/games/cribbage/
H A Dcribbage.n73 Nondealer begins the play by laying a card from his hand face up
79 unable to play another card without exceeding 31, he must say "Go," and
87 dealer is bound to peg at least 1 in play.)
90 combinations made in play, as follows:
120 After the play, the hands are shown (counted). Nondealer
152 count in the total of the hand, since it is pegged before the play.)
182 in play, non-dealer's hand, dealer's hand, crib. Thus, if nondealer goes
222 Generally speaking, play on (toward a sequence) when you have close cards
224 consideration. If far behind, play on when there is any chance of building
/dragonfly/games/morse/
H A Dmorse.c280 static void play(const char *, int);
610 play(" ", 0); in morse()
627 play(m->morse, prosign); in morse()
688 play(const char *s, int prosign) in play() function
/dragonfly/games/fortune/datfiles/
H A Ddragonfly-funny91 <coolvibe> can I play with sourcecode
93 <coolvibe> can I play with sourcecode
95 <coolvibe> can I play with sourcecode - the coder looked and he laughed at me
96 <coolvibe> can I play with sourcecode - he said you're blind, too blind to seeee
/dragonfly/sys/bus/isa/
H A Disa_if.m36 # Add a Plug-and-play configuration to the device. Configurations with
65 # If the device is not plug-and-play compatible, this method returns
/dragonfly/games/trek/
H A Dmain.c195 play(); in main()
H A Dplay.c89 play(void) in play() function
H A DMakefile9 lose.c lrscan.c main.c move.c nova.c out.c phaser.c play.c ram.c \
/dragonfly/games/rogue/
H A DMakefile7 message.c monster.c move.c object.c pack.c play.c random.c ring.c \
/dragonfly/games/sail/
H A Dpl_2.c99 play(void) in play() function
H A Dpl_main.c135 play(); in pl_main()
/dragonfly/sys/dev/sound/pci/
H A Dhdspe-pcm.c124 if (scp->hc->play) in hdspemixer_init()
654 err = pcm_register(dev, scp, scp->hc->play, scp->hc->rec); in hdspe_pcm_attach()
661 for (i = 0; i < scp->hc->play; i++) { in hdspe_pcm_attach()
H A Dhdspe.h99 uint32_t play; member
/dragonfly/test/interbench/
H A Dreadme.interactivity16 interruption to your work, whereas interactivity would allow you to play audio

123