HomeSort by: relevance | last modified time | path
    Searched defs:mtmp2 (Results 1 - 8 of 8) sorted by relevancy

  /src/games/hack/
hack.wizard.c 274 struct monst *mtmp2; local in function:clonewiz
276 if ((mtmp2 = makemon(PM_WIZARD, mtmp->mx, mtmp->my)) != NULL) {
278 unpmon(mtmp2);
279 mtmp2->mappearance = wizapp[rn2(sizeof(wizapp) - 1)];
hack.save.c 273 struct monst *mtmp, *mtmp2 = NULL; local in function:restmonchn
285 mtmp2 = 0;
295 mtmp2->nmon = mtmp;
303 mtmp2 = mtmp;
305 if (first && mtmp2->nmon) {
307 mtmp2->nmon = 0;
hack.worm.c 210 struct monst *mtmp2; local in function:cutworm
232 mtmp2 = newmonst(0);
233 *mtmp2 = *mtmp;
234 mtmp2->mxlth = mtmp2->mnamelth = 0;
237 if (rn2(3) || !getwn(mtmp2)) {
238 monfree(mtmp2);
241 tmp2 = mtmp2->wormno;
254 mtmp2->mhpmax = mtmp2->mhp
    [all...]
hack.read.c 257 struct monst *mtmp, *mtmp2; local in function:doread
276 for (mtmp = fmon; mtmp; mtmp = mtmp2) {
277 mtmp2 = mtmp->nmon;
hack.do_name.c 125 struct monst *mtmp, *mtmp2; local in function:do_mname
158 mtmp2 = newmonst(mtmp->mxlth + lth);
159 *mtmp2 = *mtmp;
161 ((char *) mtmp2->mextra)[i] = ((char *) mtmp->mextra)[i];
162 mtmp2->mnamelth = lth;
163 (void) strcpy(NAME(mtmp2), buf);
164 replmon(mtmp, mtmp2);
hack.lev.c 162 struct monst *mtmp2; local in function:savemonchn
170 mtmp2 = mtmp->nmon;
177 mtmp = mtmp2;
244 struct monst *mtmp, *mtmp2; local in function:getlev
246 for (mtmp = fmon; mtmp; mtmp = mtmp2) {
249 mtmp2 = mtmp->nmon;
hack.dog.c 194 struct monst *mtmp2; local in function:dog_move
367 mtmp2 = m_at(nx, ny);
368 if (mtmp2 == NULL)
370 if (mtmp2->data->mlevel >= mdat->mlevel + 2 ||
371 mtmp2->data->mlet == 'c')
376 if (hitmm(mtmp, mtmp2) == 1 && rn2(4) &&
377 mtmp2->mlstmv != moves &&
378 hitmm(mtmp2, mtmp) == 2)
493 struct monst *mtmp2; local in function:tamedog
516 mtmp2 = newmonst(sizeof(struct edog) + mtmp->mnamelth)
    [all...]
hack.mon.c 319 struct monst *mtmp2; local in function:m_move
499 mtmp2 = m_at(nix, niy);
500 if (mtmp2 == NULL)
502 if (hitmm(mtmp, mtmp2) == 1 && rn2(4) &&
503 hitmm(mtmp2, mtmp) == 2)
721 replmon(struct monst *mtmp, struct monst *mtmp2)
725 mtmp2->nmon = fmon;
726 fmon = mtmp2;
728 u.ustuck = mtmp2;
729 if (mtmp2->isshk
    [all...]

Completed in 37 milliseconds