#include "hack.h"
#include "edog.h"
Functions | |
static int | FDECL (domonnoise,(struct monst *)) |
static int | NDECL (dochat) |
static int | FDECL (mon_in_room,(struct monst *, int)) |
static int | mon_in_room (struct monst *mon, int rmtyp) |
void | dosounds () |
const char * | growl_sound (struct monst *mtmp) |
void | growl (struct monst *mtmp) |
void | yelp (struct monst *mtmp) |
void | whimper (struct monst *mtmp) |
void | beg (struct monst *mtmp) |
static int | domonnoise (struct monst *mtmp) |
int | dotalk () |
static int | dochat () |
Variables | |
static const char *const | h_sounds [] |
void beg | ( | struct monst * | mtmp ) |
References canspotmon, carnivorous, domonnoise(), herbivorous, is_silent, map_invisible(), MS_ANIMAL, and MS_HUMANOID.
Referenced by dog_hunger().
static int dochat | ( | ) | [static] |
References an(), Blind, canspotmon, monst::data, domonnoise(), you::dx, you::dy, you::dz, getdir(), iflags, is_silent, M_AP_FURNITURE, M_AP_OBJECT, monst::m_ap_type, m_at, map_invisible(), monst::meating, permonst::mname, Monnam(), monst::mstrategy, monst::mtame, monst::mx, monst::my, otmp, pline(), price_quote(), shop_object(), Strangled, STRAT_WAITMASK, u, Underwater, you::ux, you::uy, instance_flags::vanilla_ui_behavior, and youmonst.
Referenced by dotalk().
static int domonnoise | ( | struct monst * | mtmp ) | [static] |
References aggravate(), an(), BLOOD, body_part(), BUFSZ, canspotmon, could_seduce(), cuss(), monst::data, demon_talk(), doconsult(), EDOG, RoleName::f, flag::female, flags, FULL_MOON, genus(), Role::guardnum, In_endgame, Race::individual, invent, is_dwarf, is_elf, is_mplayer, is_silent, is_weptool, likes_magic, RoleName::m, map_invisible(), maybe_polyd, mhis, midnight(), permonst::mlet, permonst::mname, Monnam(), mons, monsndx(), flag::moonphase, moves, mplayer_talk(), MS_BARK, MS_BOAST, MS_BONES, MS_BRIBE, MS_BURBLE, MS_BUZZ, MS_CUSS, MS_DJINNI, MS_GROWL, MS_GRUNT, MS_GUARD, MS_GUARDIAN, MS_GURGLE, MS_HISS, MS_HUMANOID, MS_IMITATE, MS_LAUGH, MS_LEADER, MS_MEW, MS_MUMBLE, MS_NEIGH, MS_NEMESIS, MS_NURSE, MS_ORACLE, MS_PRIEST, MS_RIDER, MS_ROAR, MS_SEDUCE, MS_SELL, MS_SHRIEK, MS_SOLDIER, MS_SPELL, MS_SQAWK, MS_SQEEK, MS_VAMPIRE, MS_WAIL, MS_WERE, permonst::msound, night(), nomul(), Race::noun, obj::oclass, pline(), PM_APE, PM_ARCHEOLOGIST, PM_BABY_SILVER_DRAGON, PM_CARNIVOROUS_APE, PM_DEATH, PM_DINGO, PM_HEALER, PM_HOBBIT, PM_HUMAN_WERERAT, PM_MONKEY, PM_RAVEN, PM_SILVER_DRAGON, PM_TOURIST, PM_VAMPIRE, PM_VAMPIRE_LORD, PM_WATER_DEMON, PM_WINTER_WOLF, PM_WINTER_WOLF_CUB, PM_WOLF, poly_gender(), priest_talk(), quest_chat(), Race_if, rn2(), Role_if, S_CENTAUR, S_NYMPH, shk_chat(), SIZE, flag::soundok, Sprintf, t_at(), u, uarm, uarmc, uarmf, uarmg, uarmh, uarms, you::ugold, you::umonnum, Upolyd, urace, urole, uwep, you::uz, wake_nearto(), WEAPON_CLASS, and youmonst.
Referenced by beg(), and dochat().
void dosounds | ( | ) |
References ANY_SHOP, at_dgn_entrance(), BARRACKS, BEEHIVE, body_part(), canseemon, COURT, monst::data, DEADMONSTER, FALSE, dlevel_t::flags, lvl_sound_bite::flags, flags, fmon, lvl_sounds::freq, g_at(), gd_sound(), HAIR, Hallucination, HEAD, index, is_animal, is_flyer, is_lord, is_mercenary, Is_oracle_level, is_prince, is_undead, LEMUREPIT, level, LVLSND_FELT, LVLSND_HEARD, LVLSND_PLINED, LVLSND_VERBAL, mkroom::lx, mkroom::ly, permonst::mlet, permonst::mname, mon_in_room(), mons, MORGUE, lvl_sound_bite::msg, lvl_sounds::n_sounds, NECK, levelflags::nfountains, monst::nmon, levelflags::nsinks, pline(), PM_LEMURE, PM_ORACLE, rn2(), ROOM_INDEX, ROOMOFFSET, S_ANT, search_special(), flag::soundok, lvl_sounds::sounds, dlevel_t::sounds, string_subst(), strstri(), tended_shop(), TRUE, u, uarmh, uhis, Underwater, you::urooms, you::ushops, you::uz, VAULT, vault_occupied(), and ZOO.
Referenced by moveloop().
int dotalk | ( | ) |
static int FDECL | ( | domonnoise | , |
(struct monst *) | |||
) | [static] |
static int FDECL | ( | mon_in_room | , |
(struct monst *, int) | |||
) | [static] |
void growl | ( | struct monst * | mtmp ) |
References flags, growl_sound(), Hallucination, Monnam(), nomul(), pline(), rn2(), flag::run, SIZE, vtense(), and wake_nearto().
Referenced by abuse_dog(), check_leash(), domove(), and setmangry().
const char* growl_sound | ( | struct monst * | mtmp ) |
static int mon_in_room | ( | struct monst * | mon, |
int | rmtyp | ||
) | [static] |
References levl, ROOMOFFSET, rooms, and mkroom::rtype.
Referenced by dosounds().
static int NDECL | ( | dochat | ) | [static] |
void whimper | ( | struct monst * | mtmp ) |
References flags, Hallucination, Monnam(), MS_BARK, MS_GROWL, MS_MEW, MS_SQEEK, nomul(), pline(), rn2(), flag::run, SIZE, vtense(), and wake_nearto().
Referenced by check_leash(), and dog_move().
void yelp | ( | struct monst * | mtmp ) |
References flags, Hallucination, Monnam(), MS_BARK, MS_GROWL, MS_MEW, MS_ROAR, MS_SQAWK, MS_SQEEK, MS_WAIL, nomul(), pline(), rn2(), flag::run, SIZE, vtense(), and wake_nearto().
Referenced by abuse_dog(), check_leash(), clear_fcorr(), domove(), teleport_pet(), and wallify_vault().
const char* const h_sounds[] [static] |
{ "beep", "boing", "sing", "belche", "creak", "cough", "rattle", "ululate", "pop", "jingle", "sniffle", "tinkle", "eep" }