/src/games/hack/ |
hack.mkobj.c | 75 mkobj_at(int let, int x, int y) 77 struct obj *otmp = mkobj(let); 96 mkobj(int let) 98 if (!let) 99 let = mkobjstr[rn2(sizeof(mkobjstr) - 1)]; 102 letter(let) ? 103 CORPSE + ((let > 'Z') ? (let - 'a' + 'Z' - '@' + 1) : (let - '@')) 104 : probtype(let) 116 char let = objects[otyp].oc_olet; local in function:mksobj [all...] |
hack.shknam.c | 214 char let; local in function:findname 217 let = let_i; 219 while (p->x && p->x != let) 225 if (let)
|
hack.o_init.c | 79 letindex(int let) 84 if (ch == let) 93 char let; local in function:init_objects 102 let = objects[first].oc_olet; 104 while (last < end && objects[last].oc_olet == let 107 i = letindex(let); 108 if ((!i && let != ILLOBJ_SYM) || bases[i] != 0) 112 if (let == GEM_SYM) 124 error("init-prob error for %c", let); 126 if (objects[first].oc_descr != NULL && let != TOOL_SYM) [all...] |
hack.eat.c | 465 char let = CORPSE_I_TO_C(otmp->otyp); local in function:eatcorpse 467 if (let != 'a' && moves > otmp->age + 50 + rn2(100)) { 473 } else if (strchr(POISONOUS, let) && rn2(5)) { 481 } else if (strchr("ELNOPQRUuxz", let) && rn2(5)) { 486 switch (let) {
|
hack.mkshop.c | 94 char let; local in function:mkshop 155 let = shtypes[i]; 202 findname(ESHK->shknam, let); 215 (let && rn2(10) < dlevel) ? let : ']'; 218 (void) mkobj_at(let, sx, sy);
|
hack.objnam.c | 454 char let; local in function:readobjnam 458 let = 0; 580 let = ARMOR_SYM; 587 let = wrpsym[ii]; 595 let = wrpsym[ii]; 606 let = GEM_SYM; 620 if (let) 621 i = bases[letindex(let)]; 622 while (i <= NROFOBJECTS && (!let || objects[i].oc_olet == let)) { [all...] |
hack.pri.c | 156 * (undo last symbol) (-1,let)-open: initialize symbol (-2,let)-change let 163 static char let; local in function:tmp_at 164 if ((int) x == -2) { /* change let call */ 165 let = y; 169 let = y; 180 at(x, y, let); 184 let = 0; 193 static char let; local in function:Tmp_at [all...] |
/src/games/warp/ |
init.c | 487 static char let[] = "QWYUISDHJLZVMFFFFFFFFF"; local in function:initialize 490 ch = let[dist];
|