File src/vault.c


Included Files


Global Function gd_move()

int gd_move ( struct monst* grd )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  You()src/pline.c
  You_hear()src/pline.c
  clear_fcorr()src/vault.c
  delobj()src/invent.c
  g_at()src/invent.c
  hidden_gold()src/vault.c
  in_fcorridor()src/vault.c
  in_rooms()src/hack.c
  is_fainted()src/eat.c
  isok()src/cmd.c
  l_monnam()src/do_name.c
  mnexto()src/mon.c
  mpickgold()src/mon.c
  newsym()src/display.c
  on_level()src/dungeon.c
  panic()src/end.c
  place_monster()src/steed.c
  pline()src/pline.c
  pline_The()src/pline.c
  restfakecorr()src/vault.c
  rloc()src/teleport.c
  rn2()src/rnd.c
  um_dist()src/apply.c
  vault_occupied()src/vault.c
  verbalize()src/pline.c
  wallify_vault()src/vault.c
  abs(), unblock_point()
Called by: m_move()src/monmove.c
References Variables: levelsrc/decl.c
  multisrc/decl.c
  usrc/decl.c
  viz_arraysrc/decl.c

Global Function gd_sound()

boolean gd_sound ( void )
Prototyped in: include/extern.h
Calls: findgd()src/vault.c
  vault_occupied()src/vault.c
Called by: dosounds()src/sounds.c
References Variables: usrc/decl.c

Global Function grddead()

boolean grddead ( struct monst* grd )
Prototyped in: include/extern.h
Calls: clear_fcorr()src/vault.c
  newsym()src/display.c
  place_monster()src/steed.c
Called by: mondead()src/mon.c
References Variables: levelsrc/decl.c

Global Function hidden_gold()

long hidden_gold ( void )
Prototyped in: include/extern.h
Calls: contained_gold()src/shk.c
Called by: botl_score()src/botl.c
  done()src/end.c
  dopay()src/shk.c
  dopayobj()src/shk.c
  gd_move()src/vault.c
  invault()src/vault.c
  u_init()src/u_init.c
References Variables: inventsrc/decl.c

Global Function invault()

void invault ( void )
Prototyped in: include/extern.h
Calls: adjalign()src/attrib.c
  assign_level()src/dungeon.c
  findgd()src/vault.c
  hidden_gold()src/vault.c
  impossible()src/pline.c
  letter()src/hacklib.c
  makemon()src/makemon.c
  mongone()src/mon.c
  newsym()src/display.c
  pline()src/pline.c
  reset_faint()src/eat.c
  set_malign()src/makemon.c
  setmangry()src/mon.c
  stop_occupation()src/allmain.c
  strncmpi()src/hacklib.c
  tele()src/teleport.c
  vault_occupied()src/vault.c
  verbalize()src/pline.c
  abs(), mon_wield_item(), strlen(), unblock_point()
Called by: moveloop()src/allmain.c
References Variables: levelsrc/decl.c
  monssrc/monst.c
  mvitalssrc/decl.c
  plnamesrc/decl.c
  roomssrc/decl.c
  usrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c
  windowprocs

Global Function paygd()

void paygd ( void )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  Your()src/pline.c
  findgd()src/vault.c
  make_grave()src/engrave.c
  mkgoldobj()src/invent.c
  mnexto()src/mon.c
  mongone()src/mon.c
  place_object()src/mkobj.c
  pline()src/pline.c
  rn2()src/rnd.c
  stackobj()src/invent.c
  sprintf()
Called by: done()src/end.c
References Variables: monssrc/monst.c
  plnamesrc/decl.c
  roomssrc/decl.c
  usrc/decl.c

Global Function vault_occupied()

char vault_occupied ( char* array )
Prototyped in: include/extern.h
Called by: dosounds()src/sounds.c
  gd_move()src/vault.c
  gd_sound()src/vault.c
  invault()src/vault.c
References Variables: roomssrc/decl.c

Local Function clear_fcorr()

static boolean clear_fcorr ( struct monst* grd, boolean forceshow )
Prototyped in: src/vault.c
Calls: You()src/pline.c
  in_fcorridor()src/vault.c
  map_location()src/display.c
  pline_The()src/pline.c
  rloc()src/teleport.c
  yelp()src/sounds.c
  block_point()
Called by: gd_move()src/vault.c
  grddead()src/vault.c
  restfakecorr()src/vault.c
References Variables: levelsrc/decl.c
  usrc/decl.c
  uballsrc/decl.c
  viz_arraysrc/decl.c

Local Function findgd()

static struct monst* findgd ( void )
Prototyped in: src/vault.c
Calls: on_level()src/dungeon.c
Called by: gd_sound()src/vault.c
  invault()src/vault.c
  paygd()src/vault.c
References Variables: levelsrc/decl.c
  usrc/decl.c

Local Function in_fcorridor()

static boolean in_fcorridor ( struct monst* grd, int x, int y )
Prototyped in: src/vault.c
Called by: clear_fcorr()src/vault.c
  gd_move()src/vault.c
  wallify_vault()src/vault.c

Local Function move_gold()

static void move_gold ( struct obj* gold, int vroom )
Prototyped in: src/vault.c
Calls: newsym()src/display.c
  place_object()src/mkobj.c
  remove_object()src/mkobj.c
  rn2()src/rnd.c
  stackobj()src/invent.c
Called by: wallify_vault()src/vault.c
References Variables: roomssrc/decl.c

Local Function restfakecorr()

static void restfakecorr ( struct monst* grd )
Prototyped in: src/vault.c
Calls: clear_fcorr()src/vault.c
  mongone()src/mon.c
Called by: gd_move()src/vault.c

Local Function wallify_vault()

static void wallify_vault ( struct monst* grd )
Prototyped in: src/vault.c
Calls: You_hear()src/pline.c
  g_at()src/invent.c
  in_fcorridor()src/vault.c
  move_gold()src/vault.c
  newsym()src/display.c
  pline()src/pline.c
  pline_The()src/pline.c
  rloc()src/teleport.c
  yelp()src/sounds.c
  block_point()
Called by: gd_move()src/vault.c
References Variables: levelsrc/decl.c
  roomssrc/decl.c
  viz_arraysrc/decl.c