Lines Matching defs:gtyp
201 xchar gx = 0, gy = 0, gtyp, otyp; /* current goal */
273 gtyp = UNDEF; /* no goal as yet */
279 if (otyp > gtyp || otyp == UNDEF)
285 if (otyp < gtyp || (otyp == gtyp &&
289 gtyp = otyp;
291 } else if (gtyp == UNDEF && dogroom >= 0 &&
296 gtyp = APPORT;
299 if (gtyp == UNDEF ||
300 (gtyp != DOGFOOD && gtyp != APPORT && moves < edog->hungrytime)) {
346 appr = 1; /* gtyp != UNDEF */