#include "hack.h"
Functions | |
STATIC_DCL void | FDECL (awaken_monsters,(int)) |
STATIC_DCL void | FDECL (put_monsters_to_sleep,(int)) |
STATIC_DCL void | FDECL (charm_snakes,(int)) |
STATIC_DCL void | FDECL (calm_nymphs,(int)) |
STATIC_DCL void | FDECL (charm_monsters,(int)) |
STATIC_DCL void | FDECL (do_earthquake,(int)) |
STATIC_DCL int | FDECL (do_improvisation,(struct obj *)) |
STATIC_OVL void | awaken_monsters (int distance) |
STATIC_OVL void | put_monsters_to_sleep (int distance) |
STATIC_OVL void | charm_snakes (int distance) |
STATIC_OVL void | calm_nymphs (int distance) |
void | awaken_soldiers () |
STATIC_OVL void | charm_monsters (int distance) |
STATIC_OVL void | do_earthquake (int force) |
STATIC_OVL int | do_improvisation (struct obj *instr) |
int | do_play_instrument (struct obj *instr) |
STATIC_OVL void awaken_monsters | ( | int | distance ) |
References DEADMONSTER, distu, FALSE, fmon, monflee(), monst::mx, monst::my, monst::nmon, NOTELL, resist(), TOOL_CLASS, and TRUE.
Referenced by do_improvisation().
void awaken_soldiers | ( | ) |
References canseemon, monst::data, DEADMONSTER, fmon, is_mercenary, Monnam(), mons, monst::nmon, pline(), and PM_GUARD.
Referenced by do_improvisation(), and use_defensive().
STATIC_OVL void calm_nymphs | ( | int | distance ) |
References canseemon, monst::data, DEADMONSTER, distu, fmon, permonst::mlet, Monnam(), monst::mx, monst::my, monst::nmon, pline(), and S_NYMPH.
Referenced by do_improvisation().
STATIC_OVL void charm_monsters | ( | int | distance ) |
References DEADMONSTER, distu, fmon, monst::mx, monst::my, monst::nmon, NOTELL, resist(), tamedog(), TOOL_CLASS, u, and you::ustuck.
Referenced by do_improvisation().
STATIC_OVL void charm_snakes | ( | int | distance ) |
References a_monnam(), canseemon, monst::data, DEADMONSTER, distu, fmon, permonst::mlet, Monnam(), monst::mx, monst::my, newsym(), monst::nmon, pline(), and S_SNAKE.
Referenced by do_improvisation().
STATIC_OVL void do_earthquake | ( | int | force ) |
References add_damage(), ALTAR, Amonnam(), ARTICLE_THE, BOULDER, cansee, COLNO, CORR, D_NODOOR, monst::data, DOOR, doormask, FALSE, flags, flooreffects(), Flying, FOUNTAIN, GRAVE, humanoid, in_rooms(), Is_astralevel, is_clinger, is_flyer, is_hider, Is_sanctum, Levitation, levl, losehp(), m_at, maketrap(), monst::mhp, monst::mnamelth, mon_nam(), Monnam(), mselftouch(), monst::mtame, newsym(), NO_KILLER_PREFIX, obj_extract_self(), otmp, PIT, pline(), rn1, rn2(), rnd(), ROOM, ROWNO, selftouch(), SHOPBASE, SINK, sobj_at(), flag::soundok, SUPPRESS_SADDLE, THRONE, TRUE, TT_PIT, u, unblock_point(), you::utrap, you::utraptype, you::ux, you::uy, you::uz, wakeup(), trap::x, x_monnam(), xkilled(), trap::y, and youmonst.
Referenced by do_improvisation().
STATIC_OVL int do_improvisation | ( | struct obj * | instr ) |
References A_DEX, A_WIS, ACURR, AD_COLD, AD_FIRE, AMII_OKAY_VOLUME, awaken_monsters(), awaken_soldiers(), BUFSZ, BUGLE, buzz(), calm_nymphs(), charm_monsters(), charm_snakes(), COLNO, Confusion, consume_obj_charge(), do_earthquake(), DRUM_OF_EARTHQUAKE, you::dx, you::dy, you::dz, exercise(), FALSE, FIRE_HORN, FROST_HORN, getdir(), Hallucination, KILLED_BY, LEATHER_DRUM, losehp(), MAGIC_FLUTE, MAGIC_HARP, makeknown, objects, obj::otyp, pline(), put_monsters_to_sleep(), rn1, rn2(), ROWNO, Sprintf, The(), the(), Tobjnam(), TOOLED_HORN, TRUE, u, uhim, you::ulevel, you::ux, you::uy, WOODEN_FLUTE, WOODEN_HARP, xname(), and zapyourself().
Referenced by do_play_instrument().
int do_play_instrument | ( | struct obj * | instr ) |
References A_WIS, AMII_OKAY_VOLUME, BUFSZ, close_drawbridge(), do_improvisation(), DRAWBRIDGE_DOWN, DRUM_OF_EARTHQUAKE, exercise(), FALSE, find_drawbridge(), flags, getlin, highc(), IS_DRAWBRIDGE, is_drawbridge_wall(), Is_stronghold, isok(), LEATHER_DRUM, levl, mungspaces(), open_drawbridge(), plur, flag::soundok, Strcpy, the(), TRUE, tune, u, you::uevent, Underwater, you::ux, you::uy, you::uz, xname(), and yn.
Referenced by doapply().
STATIC_DCL void FDECL | ( | charm_monsters | , |
(int) | |||
) |
STATIC_DCL void FDECL | ( | awaken_monsters | , |
(int) | |||
) |
STATIC_DCL int FDECL | ( | do_improvisation | , |
(struct obj *) | |||
) |
STATIC_DCL void FDECL | ( | calm_nymphs | , |
(int) | |||
) |
STATIC_DCL void FDECL | ( | charm_snakes | , |
(int) | |||
) |
STATIC_DCL void FDECL | ( | put_monsters_to_sleep | , |
(int) | |||
) |
STATIC_DCL void FDECL | ( | do_earthquake | , |
(int) | |||
) |
STATIC_OVL void put_monsters_to_sleep | ( | int | distance ) |
References d(), DEADMONSTER, distu, fmon, monst::mx, monst::my, monst::nmon, sleep_monst(), slept_monst(), and TOOL_CLASS.
Referenced by do_improvisation().