HomeSort by: relevance | last modified time | path
    Searched defs:mtmp (Results 1 - 25 of 58) sorted by relevancy

1 2 3

  /src/games/hack/
hack.bones.c 83 struct monst *mtmp; local
112 if (!(mtmp = makemon(PM_GHOST, u.ux, u.uy)))
114 mtmp->mx = u.ux;
115 mtmp->my = u.uy;
116 mtmp->msleep = 1;
117 (void) strcpy((char *) mtmp->mextra, plname);
119 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon)
    [all...]
hack.bones.c 83 struct monst *mtmp; local
112 if (!(mtmp = makemon(PM_GHOST, u.ux, u.uy)))
114 mtmp->mx = u.ux;
115 mtmp->my = u.uy;
116 mtmp->msleep = 1;
117 (void) strcpy((char *) mtmp->mextra, plname);
119 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon)
    [all...]
hack.steal.c 86 stealgold(struct monst *mtmp)
91 mtmp->mgold += gold->amount;
96 Monnam(mtmp));
98 rloc(mtmp);
99 mtmp->mflee = 1;
104 mtmp->mgold += tmp;
105 rloc(mtmp);
106 mtmp->mflee = 1;
117 struct monst *mtmp; local
122 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon
    [all...]
hack.wizard.c 90 struct monst *mtmp; local
95 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon)
96 if (mtmp->data->mlet == '1' && mtmp->msleep && !rn2(40))
99 mtmp->msleep = 0;
100 if (dist(mtmp->mx, mtmp->my) > 2
262 struct monst *mtmp; local
    [all...]
hack.steal.c 86 stealgold(struct monst *mtmp)
91 mtmp->mgold += gold->amount;
96 Monnam(mtmp));
98 rloc(mtmp);
99 mtmp->mflee = 1;
104 mtmp->mgold += tmp;
105 rloc(mtmp);
106 mtmp->mflee = 1;
117 struct monst *mtmp; local
122 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon
    [all...]
hack.wizard.c 90 struct monst *mtmp; local
95 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon)
96 if (mtmp->data->mlet == '1' && mtmp->msleep && !rn2(40))
99 mtmp->msleep = 0;
100 if (dist(mtmp->mx, mtmp->my) > 2
262 struct monst *mtmp; local
    [all...]
hack.mkmaze.c 92 struct monst *mtmp; local
106 if ((mtmp = makemon(&hell_hound, zx, zy)) != NULL)
107 mtmp->msleep = 1;
108 if ((mtmp = makemon(PM_WIZARD, zx + 1, zy)) != NULL) {
109 mtmp->msleep = 1;
hack.potion.c 78 struct monst *mtmp; local
150 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon)
151 if (mtmp->mx > 0)
152 at(mtmp->mx, mtmp->my, mtmp->data->mlet);
453 struct monst *mtmp; local
    [all...]
hack.save.c 225 struct monst *mtmp; local
227 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon)
228 if (mtmp->m_id == mid)
232 u.ustuck = mtmp;
273 struct monst *mtmp, *mtmp2 = NULL; local
291 mtmp = newmonst(xl);
293 first = mtmp;
    [all...]
hack.search.c 78 struct monst *mtmp; local
109 } else if ((mtmp = m_at(zx, zy)) != NULL)
110 if (mtmp->mimic) {
111 seemimic(mtmp);
123 struct monst *mtmp; local
151 if ((mtmp = m_at(x, y)) != NULL)
152 if (mtmp->mimic) {
153 seemimic(mtmp);
198 wakeup(struct monst *mtmp)
200 mtmp->msleep = 0
    [all...]
hack.mkmaze.c 92 struct monst *mtmp; local
106 if ((mtmp = makemon(&hell_hound, zx, zy)) != NULL)
107 mtmp->msleep = 1;
108 if ((mtmp = makemon(PM_WIZARD, zx + 1, zy)) != NULL) {
109 mtmp->msleep = 1;
hack.potion.c 78 struct monst *mtmp; local
150 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon)
151 if (mtmp->mx > 0)
152 at(mtmp->mx, mtmp->my, mtmp->data->mlet);
453 struct monst *mtmp; local
    [all...]
hack.save.c 225 struct monst *mtmp; local
227 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon)
228 if (mtmp->m_id == mid)
232 u.ustuck = mtmp;
273 struct monst *mtmp, *mtmp2 = NULL; local
291 mtmp = newmonst(xl);
293 first = mtmp;
    [all...]
hack.search.c 78 struct monst *mtmp; local
109 } else if ((mtmp = m_at(zx, zy)) != NULL)
110 if (mtmp->mimic) {
111 seemimic(mtmp);
123 struct monst *mtmp; local
151 if ((mtmp = m_at(x, y)) != NULL)
152 if (mtmp->mimic) {
153 seemimic(mtmp);
198 wakeup(struct monst *mtmp)
200 mtmp->msleep = 0
    [all...]
hack.do.c 280 struct monst *mtmp = m_at(u.ux, u.uy); local
281 if (mtmp)
282 mnexto(mtmp);
304 struct monst *mtmp; local
305 if ((mtmp = m_at(u.ux, u.uy)) != NULL)
306 mnexto(mtmp); /* riv05!a3 */
hack.main.c 341 struct monst *mtmp; local
342 if ((mtmp = m_at(u.ux, u.uy)) != NULL)
343 mnexto(mtmp); /* riv05!a3 */
hack.makemon.c 85 struct monst *mtmp; local
119 mtmp = newmonst(ptr->pxlth);
120 *mtmp = zeromonst; /* clear all entries in structure */
122 ((char *) &(mtmp->mextra[0]))[i] = 0;
123 mtmp->nmon = fmon;
124 fmon = mtmp;
125 mtmp->m_id = flags.ident++;
126 mtmp->data = ptr;
127 mtmp->mxlth = ptr->pxlth;
129 mtmp->mhpmax = mtmp->mhp = 80
    [all...]
hack.do.c 280 struct monst *mtmp = m_at(u.ux, u.uy); local
281 if (mtmp)
282 mnexto(mtmp);
304 struct monst *mtmp; local
305 if ((mtmp = m_at(u.ux, u.uy)) != NULL)
306 mnexto(mtmp); /* riv05!a3 */
hack.main.c 341 struct monst *mtmp; local
342 if ((mtmp = m_at(u.ux, u.uy)) != NULL)
343 mnexto(mtmp); /* riv05!a3 */
hack.makemon.c 85 struct monst *mtmp; local
119 mtmp = newmonst(ptr->pxlth);
120 *mtmp = zeromonst; /* clear all entries in structure */
122 ((char *) &(mtmp->mextra[0]))[i] = 0;
123 mtmp->nmon = fmon;
124 fmon = mtmp;
125 mtmp->m_id = flags.ident++;
126 mtmp->data = ptr;
127 mtmp->mxlth = ptr->pxlth;
129 mtmp->mhpmax = mtmp->mhp = 80
    [all...]
hack.apply.c 141 struct monst *mtmp; local
155 if ((mtmp = bchit(u.dx, u.dy, COLNO, '!')) != NULL) {
156 if (mtmp->msleep) {
157 mtmp->msleep = 0;
158 pline("The flash awakens %s.", monnam(mtmp)); /* a3 */
159 } else if (mtmp->data->mlet != 'y')
160 if (mtmp->mcansee || mtmp->mblinded) {
161 int tmp = dist(mtmp->mx, mtmp->my)
273 struct monst *mtmp = (struct monst *) 0; local
300 struct monst *mtmp = fmon; local
317 struct monst *mtmp = fmon; local
441 struct monst *mtmp; local
    [all...]
hack.do_name.c 125 struct monst *mtmp, *mtmp2; local
131 mtmp = m_at(cx, cy);
132 if (!mtmp) {
140 if (mtmp->mimic) {
148 pline("What do you want to call %s? ", lmonnam(mtmp));
158 mtmp2 = newmonst(mtmp->mxlth + lth);
159 *mtmp2 = *mtmp;
160 for (i = 0; i < mtmp->mxlth; i++)
161 ((char *) mtmp2->mextra)[i] = ((char *) mtmp->mextra)[i];
164 replmon(mtmp, mtmp2)
    [all...]
hack.lev.c 160 savemonchn(int fd, struct monst *mtmp)
169 while (mtmp) {
170 mtmp2 = mtmp->nmon;
171 xl = mtmp->mxlth + mtmp->mnamelth;
173 bwrite(fd, mtmp, xl + sizeof(struct monst));
174 if (mtmp->minvent)
175 saveobjchn(fd, mtmp->minvent);
176 free(mtmp);
177 mtmp = mtmp2
244 struct monst *mtmp, *mtmp2; local
    [all...]
  /src/lib/libpam/modules/pam_nologin/
pam_nologin.c 79 char *mtmp; local
136 mtmp = malloc(len + 1);
137 if (mtmp != NULL) {
138 read(fd, mtmp, len);
139 mtmp[len] = '\0';
140 pam_error(pamh, "%s", mtmp);
141 free(mtmp);
pam_nologin.c 79 char *mtmp; local
136 mtmp = malloc(len + 1);
137 if (mtmp != NULL) {
138 read(fd, mtmp, len);
139 mtmp[len] = '\0';
140 pam_error(pamh, "%s", mtmp);
141 free(mtmp);

Completed in 57 milliseconds

1 2 3