/src/games/phantasia/ |
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 Player; /* stats for player * [all...] |
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 Player; /* stats for player * [all...] |
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 */
|
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) */
|
misc.c | 37 if (Player.p_type == C_EXPER) 43 new = explevel(Player.p_experience); 44 inc = new - Player.p_level; 45 Player.p_level = new; 48 Player.p_strength += statptr->c_strength.increase * inc; 49 Player.p_mana += statptr->c_mana.increase * inc; 50 Player.p_brains += statptr->c_brains.increase * inc; 51 Player.p_magiclvl += statptr->c_magiclvl.increase * inc; 52 Player.p_maxenergy += statptr->c_energy.increase * inc; 55 Player.p_energy = Player.p_maxenergy + Player.p_shield [all...] |
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 */ 55 /* use 'Player' structure */ 56 playerp = &Player; 58 if (strcmp(Databuf, Player.p_name) == 0) 59 /* alter/examine current player */ 61 playerp = &Player; 67 /* find player on file */ 69 /* didn't find player */ [all...] |
/src/games/fish/ |
fish.c | 269 drawcard(int player, int *hand) 274 if (player == USER || hand[card] == CARDS) { 275 printplayer(player); 280 chkwinner(player, hand); 288 gofish(int askedfor, int player, int *hand) 290 printplayer(OTHER(player)); 292 if (askedfor == drawcard(player, hand)) { 293 printplayer(player); 295 printplayer(player); 303 goodmove(int player, int move, int *hand, int *opphand [all...] |
/src/games/monop/ |
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); 185 printf("Player %s (%d) gives:\n", play[tp->trader].name, 213 * This routine does a switch from one player to another 237 * This routine lets a player resig [all...] |
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);
|
monop.c | 96 int player, /* current player number */ variable in typeref:typename:int 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, 283 printf("Player %d's name: ", i + 1); 341 player = max_pl;
|
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...] |
monop.h | 116 struct plr_st { /* player description structure */ 136 extern int num_play, player, num_doub, num_luck;
|
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)
|
/src/games/dab/ |
Makefile | 8 SRCS=algor.cc board.cc main.cc human.cc box.cc player.cc gamescreen.cc \
|
/src/games/snake/snscore/ |
snscore.c | 58 struct player { struct 64 static struct player players[MAXPLAYERS], temp;
|
/src/games/sail/ |
player.h | 1 /* $NetBSD: player.h,v 1.13 2009/08/12 09:05:08 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] */
|
pl_7.c | 52 #include "player.h" 93 int player; variable in typeref:typename:int 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)->file [all...] |
pl_3.c | 44 #include "player.h" 234 send_grap(sp, player);
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
stihxxx-b2120.dtsi | 186 sti_uni_player0: sti-uni-player@8d80000 { 190 sti_uni_player2: sti-uni-player@8d82000 { 194 sti_uni_player3: sti-uni-player@8d85000 {
|
stih407-family.dtsi | 902 sti_uni_player0: sti-uni-player@8d80000 { 903 compatible = "st,stih407-uni-player-hdmi"; 918 sti_uni_player1: sti-uni-player@8d81000 { 919 compatible = "st,stih407-uni-player-pcm-out"; 934 sti_uni_player2: sti-uni-player@8d82000 { 935 compatible = "st,stih407-uni-player-dac"; 950 sti_uni_player3: sti-uni-player@8d85000 { 951 compatible = "st,stih407-uni-player-spdif";
|
stih410-b2260.dts | 187 sti_uni_player0: sti-uni-player@8d80000 {
|
/src/sys/arch/luna68k/dev/xplx/ |
xplx.asm | 50 ; FE00 FFDF IN PAM player
|