/netbsd-current/games/phantasia/ |
H A D | phantglobs.h | 7 extern double Circle; /* which circle player is in */ 10 extern bool Beyond; /* set if player is beyond point of no return */ 11 extern bool Marsh; /* set if player is in dead marshes */ 12 extern bool Throne; /* set if player is on throne */ 13 extern bool Changed; /* set if important player stats have changed */ 14 extern bool Wizard; /* set if player is the 'wizard' of the game */ 28 extern long Fileloc; /* location in file of player statistics */ 30 extern const char *Login; /* pointer to login of current player */ 31 extern const char *Enemyname; /* pointer name of monster/player we are battling*/ 33 extern struct player Playe [all...] |
H A D | phantglobs.c | 15 double Circle; /* which circle player is in */ 18 bool Beyond; /* set if player is beyond point of no return */ 19 bool Marsh; /* set if player is in dead marshes */ 20 bool Throne; /* set if player is on throne */ 21 bool Changed; /* set if important player stats have changed */ 22 bool Wizard; /* set if player is the 'wizard' of the game */ 36 long Fileloc; /* location in file of player statistics */ 38 const char *Login; /* pointer to login of player */ 39 const char *Enemyname; /* pointer name of monster/player we are battling*/ 41 struct player Playe [all...] |
H A D | phantstruct.h | 11 struct player /* player statistics */ struct 34 p_2scratch; /* variables used for decree, player battle */ 43 long p_age; /* age of player */ 100 double sb_level; /* level of player */ 101 char sb_type[4]; /* character type of player */ 102 char sb_name[SZ_NAME]; /* name of player */ 103 char sb_login[SZ_LOGIN]; /* login of player */ 110 double c_weakness; /* how strongly poison affects player */
|
H A D | phantdefs.h | 130 #define SZ_PLAYERSTRUCT sizeof(struct player) /* size of player structure */ 134 #define SZ_NAME 21 /* size of player name (incl. trailing nul) */
|
H A D | misc.c | 82 descrlocation(struct player *playerp, phbool shortflag) 170 int cheat = 0; /* number of times player has tried to cheat */ 464 descrtype(struct player *playerp, phbool shortflag) 526 findname(const char *name, struct player *playerp) 566 freerecord(struct player *playerp, long loc) 648 * idiot after player */ 694 writerecord(struct player *playerp, long place) 733 case A_SPECIFIC: /* just move player */ 772 readrecord(struct player *playerp, long loc) 797 dtemp = MAX(0.0, dtemp);/* gold slows player dow [all...] |
H A D | gamesupport.c | 25 struct player *playerp; /* pointer to structure to alter */ 30 long loc; /* location in player file */ 40 /* get name of player to examine/alter */ 59 /* alter/examine current player */ 67 /* find player on file */ 69 /* didn't find player */ 81 /* print player structure, and prompt for action */ 172 /* examining own player; allow to change name and 411 case '?': /* delete player */ 514 /* player has [all...] |
/netbsd-current/games/fish/ |
H A D | fish.c | 269 drawcard(int player, int *hand) argument 274 if (player == USER || hand[card] == CARDS) { 275 printplayer(player); 280 chkwinner(player, hand); 288 gofish(int askedfor, int player, int *hand) argument 290 printplayer(OTHER(player)); 292 if (askedfor == drawcard(player, hand)) { 293 printplayer(player); 295 printplayer(player); 303 goodmove(int player, in argument 325 chkwinner(int player, const int *hand) argument 353 printplayer(int player) argument [all...] |
/netbsd-current/games/monop/ |
H A D | trade.c | 43 struct trd_st { /* how much to give to other player */ 81 tradee = getinp("Which player do you wish to trade with? ", 85 if (tradee == player) { 91 tradee = 1 - player; 92 get_list(0, player); 102 * player, and puts in the structure given. 119 printf("player %s (%d):\n", pp->name, pn+1); 213 * This routine does a switch from one player to another 237 * This routine lets a player resign 253 if (new_own == player) [all...] |
H A D | misc.c | 67 * This routine tells the player if he's out of money. 83 * This routine switches to the next player 88 player = (player + 1) % num_play; 89 cur_p = &play[player]; 200 printf("player # %d\n", pl+1); 264 * This routine gives a list of the current player's routine 269 printhold(player);
|
H A D | monop.c | 96 int player, /* current player number */ variable 98 num_doub, /* # of doubles current player rolled */ 125 PLAY *play, /* player structure array ("calloc"ed) */ 126 *cur_p; /* pointer to current player's struct */ 245 printf("\n%s (%d) (cash $%d) on %s\n", cur_p->name, player + 1, 341 player = max_pl;
|
H A D | execute.c | 63 static bool new_play; /* set if move on to new player */ 178 buy(player, sqp); 184 else if (sqp->owner == player) 229 player = 0; 278 fprintf(outf, "currentplayer %d\n", player); 283 fprintf(outf, "player %d {\n", i); 510 /* player attributes */ 544 if (getnum("currentplayer", txt, 0, num_play-1, &player) < 0) { 551 cur_p = &play[player]; 556 } else if (!strcmp(attribute, "player")) { [all...] |
H A D | monop.h | 116 struct plr_st { /* player description structure */ 136 extern int num_play, player, num_doub, num_luck;
|
H A D | cards.c | 115 "Collect $50 from each player for opening night seats.\n" 175 "Pay each player $50.\n" 258 if (i != player) 267 if (i != player)
|
/netbsd-current/games/dab/ |
H A D | Makefile | 8 SRCS=algor.cc board.cc main.cc human.cc box.cc player.cc gamescreen.cc \
|
/netbsd-current/games/snake/snscore/ |
H A D | snscore.c | 58 struct player { struct 64 static struct player players[MAXPLAYERS], temp;
|
/netbsd-current/games/sail/ |
H A D | player.h | 1 /* $NetBSD: player.h,v 1.12 2009/03/14 20:10:43 dholland Exp $ */ 31 * @(#)player.h 8.2 (Berkeley) 5/3/95 93 extern int player; 94 extern struct ship *ms; /* memorial structure, &cc->ship[player] */
|
H A D | pl_7.c | 52 #include "player.h" 93 int player; variable 94 struct ship *ms; /* memorial structure, &cc->ship[player] */ 912 mvselprintw(which + 3, 4, which, player, 60, 924 move(player + 3, 63); 953 player = sp - SHIP(0); 978 up(&player, NULL); 982 down(&player, NULL, cc->vessels, 991 if (player < 0) 995 fp = SHIP(player) [all...] |
H A D | pl_3.c | 44 #include "player.h" 234 send_grap(sp, player);
|
/netbsd-current/sys/arch/luna68k/dev/xplx/ |
H A D | xplx.asm | 50 ; FE00 FFDF IN PAM player
|