#include "hack.h"#include "vault.h"
Defines | |
| #define | g_monnam(mtmp) x_monnam(mtmp, ARTICLE_NONE, (char *)0, SUPPRESS_IT, FALSE) |
Functions | |
| STATIC_DCL struct monst * | NDECL (findgd) |
| STATIC_DCL boolean | FDECL (clear_fcorr,(struct monst *, BOOLEAN_P)) |
| STATIC_DCL void | FDECL (restfakecorr,(struct monst *)) |
| STATIC_DCL boolean | FDECL (in_fcorridor,(struct monst *, int, int)) |
| STATIC_DCL void | FDECL (move_gold,(struct obj *, int)) |
| STATIC_DCL void | FDECL (wallify_vault,(struct monst *)) |
| STATIC_OVL boolean | clear_fcorr (struct monst *grd, boolean forceshow) |
| STATIC_OVL void | restfakecorr (struct monst *grd) |
| boolean | grddead (struct monst *grd) |
| STATIC_OVL boolean | in_fcorridor (struct monst *grd, int x, int y) |
| STATIC_OVL struct monst * | findgd () |
| char | vault_occupied (char *array) |
| void | invault () |
| STATIC_OVL void | move_gold (struct obj *gold, int vroom) |
| STATIC_OVL void | wallify_vault (struct monst *grd) |
| int | gd_move (struct monst *grd) |
| void | paygd () |
| long | hidden_gold () |
| boolean | gd_sound () |
| #define g_monnam | ( | mtmp ) | x_monnam(mtmp, ARTICLE_NONE, (char *)0, SUPPRESS_IT, FALSE) |
Referenced by gd_move(), invault(), and wallify_vault().
References ACCESSIBLE, block_point(), carried, couldsee, EGD, FALSE, in_fcorridor(), IS_ROCK, levl, m_at, map_location(), monst::mtame, on_level(), obj::ox, obj::oy, Punished, rloc(), TRUE, u, uball, you::ux, you::uy, you::uz, and yelp().
Referenced by gd_move(), grddead(), and restfakecorr().


| STATIC_DCL void FDECL | ( | move_gold | , |
| (struct obj *, int) | |||
| ) |
| STATIC_DCL void FDECL | ( | wallify_vault | , |
| (struct monst *) | |||
| ) |
| STATIC_DCL void FDECL | ( | restfakecorr | , |
| (struct monst *) | |||
| ) |
| STATIC_OVL struct monst* findgd | ( | ) | [read] |
References DEADMONSTER, EGD, fmon, monst::nmon, on_level(), u, and you::uz.
Referenced by gd_sound(), invault(), and paygd().


| int gd_move | ( | struct monst * | grd ) |
References ACCESSIBLE, add_to_minv(), cansee, canspotmon, clear_fcorr(), CORR, D_NODOOR, delobj(), DOOR, EGD, egd::fakecorr, FALSE, egd::fcbeg, egd::fcend, FCSIZ, fakecorridor::ftyp, fakecorridor::fx, fakecorridor::fy, g_at(), g_monnam, egd::gdlevel, egd::gdx, egd::gdy, gx, gy, hidden_gold(), in_fcorridor(), in_rooms(), invent, is_fainted(), IS_POOL, IS_ROOM, IS_STWALL, isok(), levl, m, m_at, mnexto(), MON_AT, mon_visible, Monnam(), mpickgold(), multi, newsym(), obj_extract_self(), egd::ogx, egd::ogy, on_level(), pline(), obj::quan, remove_monster(), restfakecorr(), rloc(), rn2(), SCORR, TRUE, rm::typ, u, you::ugold, um_dist(), unblock_point(), you::urooms, you::ux, you::uy, you::uz, VAULT, vault_occupied(), wallify_vault(), egd::warncnt, trap::x, and trap::y.
Referenced by m_move().


| boolean gd_sound | ( | ) |
References FALSE, findgd(), u, you::urooms, and vault_occupied().
Referenced by dosounds().


References clear_fcorr(), EGD, newsym(), remove_monster(), and TRUE.

| long hidden_gold | ( | ) |
References contained_gold(), Has_contents, invent, and obj::nobj.
Referenced by done(), dopay(), dopayobj(), gd_move(), gold_detect(), invault(), and u_init().


References EGD, FALSE, and TRUE.
Referenced by clear_fcorr(), gd_move(), and wallify_vault().

| void invault | ( | ) |
References A_LAWFUL, adjalign(), assign_level(), BLCORNER, BRCORNER, BUFSZ, canspotmon, COLNO, CORR, D_NODOOR, monst::data, DOOR, monst::dummy, EGD, findgd(), g_monnam, getlin, GOLD_PIECE, gx, gy, hidden_gold(), HWALL, mkroom::hx, mkroom::hy, invent, is_silent, IS_WALL, letter(), levl, mkroom::lx, mkroom::ly, M_AP_OBJECT, monst::m_ap_type, makemon(), makeplural(), monst::mappearance, mhe, mimic_obj_name(), MON_WEP, mon_wield_item(), mongone(), mons, multi, mungspaces(), monst::mx, monst::my, NEED_HTH_WEAPON, newsym(), NO_MM_FLAGS, nomul(), pline(), plname, PM_CROESUS, PM_GUARD, reset_faint(), ROOM, ROOMOFFSET, rooms, ROWNO, set_malign(), setmangry(), STONE, stop_occupation(), Strangled, strcmpi, strncmpi(), tele(), TLCORNER, TOURIST, TRCORNER, align::type, u, you::ualign, you::ugold, you::uinvault, unblock_point(), unmul(), you::urooms, you::ux, you::uy, you::uz, vault_occupied(), VWALL, monst::weapon_check, and youmonst.
Referenced by moveloop().


| STATIC_OVL void move_gold | ( | struct obj * | gold, |
| int | vroom | ||
| ) |
References mkroom::lx, mkroom::ly, newsym(), place_object(), remove_object(), rn2(), rooms, and stackobj().
Referenced by wallify_vault().


| STATIC_DCL struct monst* NDECL | ( | findgd | ) | [read] |
| void paygd | ( | ) |
References BUFSZ, COIN_CLASS, currency(), EGD, findgd(), freeinv(), gx, gy, invent, mkroom::lx, mkroom::ly, make_grave(), mkgoldobj(), permonst::mname, mnexto(), mongone(), Monnam(), mons, obj::nobj, objects, objclass::oc_class, obj::otyp, place_object(), pline(), plname, rn2(), rooms, Sprintf, stackobj(), u, you::ugold, you::uinvault, you::umonster, you::ux, and you::uy.
Referenced by done().


| STATIC_OVL void restfakecorr | ( | struct monst * | grd ) |
References clear_fcorr(), FALSE, and mongone().
Referenced by gd_move().


| char vault_occupied | ( | char * | array ) |
References ROOMOFFSET, rooms, and VAULT.
Referenced by dosounds(), gd_move(), gd_sound(), and invault().

| STATIC_OVL void wallify_vault | ( | struct monst * | grd ) |
References BLCORNER, block_point(), BRCORNER, cansee, COULD_SEE, deltrap(), EGD, FALSE, g_at(), g_monnam, HWALL, mkroom::hx, mkroom::hy, in_fcorridor(), IN_SIGHT, IS_WALL, levl, mkroom::lx, mkroom::ly, m_at, mon, move_gold(), monst::mtame, newsym(), pline(), rloc(), rooms, t_at(), TLCORNER, TRCORNER, TRUE, viz_array, VWALL, trap::x, trap::y, and yelp().
Referenced by gd_move().


1.7.2