Home
last modified time | relevance | path

Searched refs:player (Results 1 – 25 of 37) sorted by relevance

12

/openbsd/games/phantasia/
H A Dphantglobs.h38 extern struct player Player; /* stats for player */
39 extern struct player Other; /* stats for another player */
68 char *descrlocation(struct player *, bool);
69 char *descrstatus(struct player *);
70 char *descrtype(struct player *, bool);
97 long findname(char *, struct player *);
98 void freerecord(struct player *, long);
105 void initplayer(struct player *);
121 void readrecord(struct player *, long);
133 void writerecord(struct player *, long);
H A Dphantglobs.c39 struct player Player; /* stats for player */
40 struct player Other; /* stats for another player */
H A Dmisc.c129 descrlocation(struct player *playerp, bool shortflag) in descrlocation()
594 descrtype(struct player *playerp, bool shortflag) in descrtype()
682 findname(char *name, struct player *playerp) in findname()
771 freerecord(struct player *playerp, long loc) in freerecord()
969 writerecord(struct player *playerp, long place) in writerecord()
1145 readrecord(struct player *playerp, long loc) in readrecord()
1290 initplayer(struct player *playerp) in initplayer()
1479 descrstatus(struct player *playerp) in descrstatus()
H A Dphantstruct.h11 struct player /* player statistics */ struct
H A Dphantdefs.h122 #define SZ_PLAYERSTRUCT sizeof(struct player) /* size of player structure */
H A Dgamesupport.c68 struct player *playerp; /* pointer to structure to alter */ in changestats()
/openbsd/games/fish/
H A Dfish.c256 printplayer(player); in drawcard()
261 chkwinner(player, hand); in drawcard()
271 printplayer(OTHER(player)); in gofish()
274 printplayer(player); in gofish()
276 printplayer(player); in gofish()
294 printplayer(player); in goodmove()
296 chkwinner(player, hand); in goodmove()
301 printplayer(player); in goodmove()
313 printplayer(player); in chkwinner()
334 printplayer(int player) in printplayer() argument
[all …]
/openbsd/games/monop/
H A Dtrade.c80 if (tradee == player) { in trade()
86 tradee = 1 - player; in trade()
87 get_list(0, player); in trade()
242 if (new_own == player) in resign()
263 if (new_own == player) in resign()
265 } while (new_own == player); in resign()
279 trades[1].trader = player; in resign()
299 free(name_list[player]); in resign()
309 if (player == 0) in resign()
310 player = num_play - 1; in resign()
[all …]
H A Dexecute.c172 buy(player, sqp); in show_move()
178 else if (sqp->owner == player) in show_move()
218 fprintf(outf, "%d %d %d\n", num_play, player, num_doub); in save()
324 if (sscanf(st, "%d %d %d", &num_play, &player, &num_doub) != 3 || in rest_f()
326 player < 0 || player >= num_play || in rest_f()
331 cur_p = play + player; in rest_f()
H A Dmisc.c75 player = (player + 1) % num_play; in next_play()
76 cur_p = &play[player]; in next_play()
266 printhold(player); in list()
H A Dmonop.def73 int player, /* current player number */
75 num_doub, /* # of doubles current player rolled */
102 PLAY *play, /* player structure array ("calloc"ed) */
103 *cur_p; /* pointer to current player's struct */
H A Dmonop.c67 printf("\n%s (%d) (cash $%d) on %s\n", cur_p->name, player + 1, in main()
151 player = max_pl; in init_players()
H A Dcards.inp55 Collect $50 from each player for opening night seats.
112 Pay each player $50.
H A Dcards.c136 if (i != player) in get_card()
145 if (i != player) in get_card()
H A Dmonop.ext42 extern int num_play, player, num_doub, num_luck, (*func[])();
/openbsd/games/sail/
H A Dpl_main.c126 player = sp - SHIP(0); in initialize()
138 if (scanf("%d", &player) != 1 || player < 0 in initialize()
139 || player >= cc->vessels) { in initialize()
147 player = -1; in initialize()
152 if (player < 0) in initialize()
156 fp = SHIP(player)->file; in initialize()
163 ms = SHIP(player); in initialize()
H A Dplayer.h109 extern int player;
H A Dpl_3.c230 Write(W_GRAP, sp, player, 0, 0, 0); in grapungrap()
H A Dpl_7.c62 int player; variable
/openbsd/games/cribbage/
H A Dcribbage.n8 was played with hands of five cards; the modern game gives each player
32 score, the player advances one peg an appropriate number of holes (one per
50 Each player receives six cards, dealt one at a time face down,
56 After seeing his hand, each player lays away two cards face down.
77 a card that brings the total exactly to 31, he pegs 2. If a player is
83 Whenever a go occurs, the opponent of the player who played the
88 Besides pegging for 31 and go, the player may also peg for certain
114 are played alternately or one player plays several times
171 The hands and crib are counted aloud, and if a player claims a
185 When the game of 121 is played for a stake, a player wins a single
[all …]
/openbsd/usr.bin/file/magdir/
H A Dcddb9 # CDDB-enabled CD player applications.
H A Dmsdos431 …tring Nullsoft\ AVS\ Preset\ \060\056\061\032 A plug in for Winamp ms-windows Freeware media player
/openbsd/games/hunt/
H A DREADME.protocol77 is used when a player wishes to send a text message to all other
149 1 (Q_CLOAK) the player wishes to enter cloaked
150 2 (Q_FLY) the player wishes to enter flying
151 3 (Q_SCAN) the player wishes to enter scanning
153 Any other value indicates that the player wishes to enter in
H A DREADME3 Hunt is a multi-player search-and-destroy game that takes place
/openbsd/games/hack/
H A DREAD_ME66 chroot("/usr/games") so that no player can get access to the rest

12