/dragonfly/games/phantasia/ |
H A D | phantglobs.h | 33 extern struct player Player; /* stats for player */ 34 extern struct player Other; /* stats for another player */ 63 const char *descrlocation(struct player *, bool); 64 const char *descrstatus(struct player *); 65 const char *descrtype(struct player *, bool); 84 long findname(const char *, struct player *); 85 void freerecord(struct player *, long); 90 void initplayer(struct player *); 98 void readrecord(struct player *, long); 104 void writerecord(struct player *, long);
|
H A D | phantglobs.c | 35 struct player Player; /* stats for player */ 36 struct player Other; /* stats for another player */
|
H A D | misc.c | 97 descrlocation(struct player *playerp, bool shortflag) in descrlocation() 507 descrtype(struct player *playerp, bool shortflag) in descrtype() 585 findname(const char *name, struct player *playerp) in findname() 650 freerecord(struct player *playerp, long loc) in freerecord() 813 writerecord(struct player *playerp, long place) in writerecord() 940 readrecord(struct player *playerp, long loc) in readrecord() 1057 initplayer(struct player *playerp) in initplayer() 1224 descrstatus(struct player *playerp) in descrstatus()
|
H A D | phantstruct.h | 7 struct player /* player statistics */ struct
|
H A D | phantdefs.h | 121 #define SZ_PLAYERSTRUCT sizeof(struct player) /* size of player structure */
|
H A D | gamesupport.c | 48 struct player *playerp; /* pointer to structure to alter */ in changestats()
|
/dragonfly/games/fish/ |
H A D | fish.c | 262 printplayer(player); in drawcard() 266 chkwinner(player, hand); in drawcard() 276 printplayer(OTHER(player)); in gofish() 279 printplayer(player); in gofish() 281 printplayer(player); in gofish() 299 printplayer(player); in goodmove() 301 chkwinner(player, hand); in goodmove() 306 printplayer(player); in goodmove() 318 printplayer(player); in chkwinner() 339 printplayer(int player) in printplayer() argument [all …]
|
/dragonfly/games/monop/ |
H A D | trade.c | 78 if (tradee == player) { in trade() 84 tradee = 1 - player; in trade() 85 get_list(0, player); in trade() 246 if (new_own == player) in resign() 267 if (new_own == player) in resign() 269 } while (new_own == player); in resign() 283 trades[1].trader = player; in resign() 303 free(play[player].name); in resign() 304 for (i = player; i < num_play; i++) { in resign() 311 if (board[i].owner > player) in resign() [all …]
|
H A D | misc.c | 81 player = (player + 1) % num_play; in next_play() 82 cur_p = &play[player]; in next_play() 262 printhold(player); in list()
|
H A D | execute.c | 171 buy(player, sqp); in show_move() 177 else if (sqp->owner == player) in show_move() 222 player = 0; in reset_game() 271 fprintf(outf, "currentplayer %d\n", player); in save() 537 if (getnum("currentplayer", txt, 0, num_play-1, &player) < 0) { in restore_toplevel_attr() 544 cur_p = &play[player]; in restore_toplevel_attr()
|
H A D | monop.c | 84 int player, /* current player number */ variable 233 printf("\n%s (%d) (cash $%d) on %s\n", cur_p->name, player + 1, in main() 329 player = max_pl; in init_players()
|
H A D | cards.c | 251 if (i != player) in get_card() 260 if (i != player) in get_card()
|
H A D | monop.h | 136 extern int num_play, player, num_doub, num_luck;
|
/dragonfly/games/cribbage/ |
H A D | cribbage.n | 8 was played with hands of five cards; the modern game gives each player 32 holes. On making his first score, the player advances one peg an 51 Each player receives six cards, dealt one at a time face down, 57 After seeing his hand, each player lays away two cards face down. 78 a card that brings the total exactly to 31, he pegs 2. If a player is 84 Whenever a go occurs, the opponent of the player who played the 89 Besides pegging for 31 and go, the player may also peg for certain 115 are played alternately or one player plays several times 172 The hands and crib are counted aloud, and if a player claims a 186 When the game of 121 is played for a stake, a player wins a single [all …]
|
/dragonfly/games/larn/ |
H A D | Fixed.Bugs | 37 around the player. Before, the 1st one would always be created to the 51 player might end up with a negative strength. Strength is now stored 65 14. A player id facility has been added to larn. The complaint was that 75 The philosophy of one score per player gives more players the opportunity 78 15. It is no longer required that the player be WIZID to create the scoreboard 178 was only created if the player had outstanding taxes. In that multiple 179 save files per player are now more possible, this was seen as incorrect. 182 5 bytes, the excess is discarded. Also, if the player hits or gets hit 184 where many moves have been typed ahead of the display and the player keeps 207 from input file" has been fixed. Also, the date & time of a player's [all …]
|
H A D | README | 18 bill.c code for the letters of praise if player wins 41 regen.c code to regenerate the player and advance game time 58 player id's, WIZID must be set to the playerid (edit file .playerids if needed) 59 of the player who can become wizard.
|
/dragonfly/games/snake/snscore/ |
H A D | snscore.c | 47 struct player { struct 53 struct player players[MAXPLAYERS], temp; argument
|
/dragonfly/games/sail/ |
H A D | pl_7.c | 93 int player; variable 912 mvselprintw(which + 3, 4, which, player, 60, in displayshiplist() 924 move(player + 3, 63); in displayshiplist() 953 player = sp - SHIP(0); in pickship() 978 up(&player, NULL); in pickship() 982 down(&player, NULL, cc->vessels, in pickship() 991 if (player < 0) in pickship() 995 fp = SHIP(player)->file; in pickship() 1104 ms = SHIP(player); in startgame()
|
H A D | player.h | 93 extern int player;
|
H A D | pl_3.c | 234 send_grap(sp, player); in grapungrap()
|
/dragonfly/games/hunt/ |
H A D | README.protocol | 77 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
|
/dragonfly/games/rogue/ |
H A D | CHANGES | 21 the player is asked if he really wants to quit. In either case, no 23 The score is keyed to winning scores, and no player may appear twice.
|
/dragonfly/contrib/file/magic/Magdir/ |
H A D | cddb | 9 # CDDB-enabled CD player applications.
|
/dragonfly/games/larn/datfiles/ |
H A D | larn.help | 119 characters. Each player (by userid or playerid, see UIDSCORE in Makefile) 127 entry on the scoreboard. Note that when a player dies, his inventory is 128 stored in the scoreboard so that everyone can see what items the player had
|
/dragonfly/games/hack/ |
H A D | READ_ME | 71 chroot("/usr/games") so that no player can get access to the rest
|