File src/dog.c


Included Files


Global Function abuse_dog()

void abuse_dog ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: newsym()src/display.c
  growl(), rn2(), yelp()
References Variables: usrc/decl.c

Global Function dogfood()

int dogfood ( struct monst* mon, struct obj* obj )
Prototyped in: include/extern.h
Calls: hates_silver(), is_quest_artifact(), obj_resists(), peek_at_iced_corpse_age()
Called by: tamedog()src/dog.c
References Variables: monstermovessrc/decl.c
  mons, objects

Global Function initedog()

void initedog ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: set_malign()
Called by: make_familiar()src/dog.c
  makedog()src/dog.c
  tamedog()src/dog.c
References Variables: monstermovessrc/decl.c

Global Function keepdogs()

void keepdogs ( boolean pets_only )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  m_unleash()src/apply.c
  migrate_to_level()src/dog.c
  newsym()src/display.c
  count_wsegs(), ledger_no(), levl_follower(), mon_has_amulet(), monnear(), picked_container(), pline(), relmon(), s_suffix(), set_residency(), worm_known(), wormgone()
Called by: goto_level()src/do.c
References Variables: levelsrc/decl.c
  monstermovessrc/decl.c
  mydogssrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c

Global Function losedogs()

void losedogs ( void )
Prototyped in: include/extern.h
Calls: mon_arrive()src/dog.c
Called by: goto_level()src/do.c
References Variables: migrating_monssrc/decl.c
  mydogssrc/decl.c
  usrc/decl.c

Global Function make_familiar()

struct monst* make_familiar ( struct obj* otmp, xchar x, xchar y, boolean quietly )
Prototyped in: include/extern.h
Calls: christen_monst()src/do_name.c
  initedog()src/dog.c
  newsym()src/display.c
  pet_type()src/dog.c
  There(), You(), attacktype(), makemon(), mon_wield_item(), pline_The(), rn2(), rndmonst(), set_malign()
Called by: fig_transform()src/apply.c
  use_figurine()src/apply.c
References Variables: mons

Global Function makedog()

struct monst* makedog ( void )
Prototyped in: include/extern.h
Calls: christen_monst()src/do_name.c
  initedog()src/dog.c
  pet_type()src/dog.c
  makemon(), mksobj(), mpickobj(), panic(), update_mon_intrinsics()
Called by: newgame()src/allmain.c
References Variables: catnamesrc/decl.c
  dognamesrc/decl.c
  horsenamesrc/decl.c
  usrc/decl.c
  mons, urole

Global Function migrate_to_level()

void migrate_to_level ( struct monst* mtmp, xchar tolev, xchar xyloc, coord* cc )
Prototyped in: include/extern.h
Calls: m_unleash()src/apply.c
  newsym()src/display.c
  In_W_tower(), count_wsegs(), depth(), ledger_to_dlev(), ledger_to_dnum(), picked_container(), pline_The(), relmon(), set_residency(), wormgone()
Called by: digactualhole()src/dig.c
  keepdogs()src/dog.c
References Variables: migrating_monssrc/decl.c
  monstermovessrc/decl.c
  usrc/decl.c

Global Function mon_arrive()

void mon_arrive ( struct monst* mtmp, boolean with_you )
Prototyped in: include/extern.h
Calls: mon_catchup_elapsed_time()src/dog.c
  get_wormno(), impossible(), in_rooms(), initworm(), mnearto(), mnexto(), rloc(), rloc_to(), rn2(), set_residency(), somexy()
Called by: losedogs()src/dog.c
References Variables: dnladdersrc/decl.c
  dnstairsrc/decl.c
  dungeon_topologysrc/decl.c
  ftrapsrc/decl.c
  levelsrc/decl.c
  monstermovessrc/decl.c
  roomssrc/decl.c
  sstairssrc/decl.c
  usrc/decl.c
  updestsrc/decl.c
  upladdersrc/decl.c
  upstairsrc/decl.c
  mons

Global Function mon_catchup_elapsed_time()

void mon_catchup_elapsed_time ( struct monst* mtmp, long nmv )
Prototyped in: include/extern.h
Calls: rn2()
Called by: mon_arrive()src/dog.c
References Variables: monstermovessrc/decl.c

Global Function tamedog()

struct monst* tamedog ( struct monst* mtmp, struct obj* obj )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  alloc()src/alloc.c
  dogfood()src/dog.c
  initedog()src/dog.c
  newsym()src/display.c
  The(), attacktype(), dog_eat(), expels(), mon_wield_item(), night(), place_object(), pline(), replmon(), rn2(), set_malign(), sticks(), strcpy(), the(), unstuck(), worm_known(), xname()
References Variables: flagssrc/decl.c
  monstermovessrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c
  mons

Global Function update_mlstmv()

void update_mlstmv ( void )
Prototyped in: include/extern.h
Called by: goto_level()src/do.c
  savebones()src/bones.c
References Variables: levelsrc/decl.c
  monstermovessrc/decl.c

Global Function wary_dog()

void wary_dog ( struct monst* mtmp, boolean quietly )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  body_part(), pline(), rn2()
References Variables: viz_arraysrc/decl.c
  youmonstsrc/decl.c

Local Function pet_type()

static int pet_type ( void )
Prototyped in: src/dog.c
Calls: rn2()
Called by: make_familiar()src/dog.c
  makedog()src/dog.c
References Variables: preferred_petsrc/decl.c
  urole