File src/priest.c


Included Files


Preprocessor definitions

#define GDIST( x, y )

Global Function angry_priest()

void angry_priest ( void )
Prototyped in: include/extern.h
Calls: findpriest()src/priest.c
  temple_occupied()src/priest.c
  wakeup()src/mon.c
Called by: dig()src/dig.c
  dosacrifice()src/pray.c
References Variables: levelsrc/decl.c
  usrc/decl.c

Global Function clearpriests()

void clearpriests ( void )
Prototyped in: include/extern.h
Calls: mongone()src/mon.c
  on_level()src/dungeon.c
Called by: done()src/end.c
References Variables: levelsrc/decl.c
  usrc/decl.c

Global Function findpriest()

struct monst* findpriest ( char roomno )
Prototyped in: include/extern.h
Calls: histemple_at()src/priest.c
Called by: angry_priest()src/priest.c
  dosacrifice()src/pray.c
  in_your_sanctuary()src/priest.c
  intemple()src/priest.c
References Variables: levelsrc/decl.c

Global Function ghod_hitsu()

void ghod_hitsu ( struct monst* priest )
Prototyped in: include/extern.h
Calls: a_gname_at()src/pray.c
  exercise()src/attrib.c
  has_shrine()src/priest.c
  linedup()src/mthrowu.c
  pline()src/pline.c
  s_suffix()src/hacklib.c
  sgn()src/hacklib.c
  temple_occupied()src/priest.c
  buzz(), rn2()
References Variables: levelsrc/decl.c
  roomssrc/decl.c
  tbxsrc/decl.c
  tbysrc/decl.c
  usrc/decl.c

Global Function in_your_sanctuary()

boolean in_your_sanctuary ( struct monst* mon, xchar x, xchar y )
Prototyped in: include/extern.h
Calls: findpriest()src/priest.c
  has_shrine()src/priest.c
  in_rooms()src/hack.c
  p_coaligned()src/priest.c
  temple_occupied()src/priest.c
Called by: distfleeck()src/monmove.c
  find_offensive()src/muse.c
  mfndpos()src/mon.c
References Variables: monssrc/monst.c
  usrc/decl.c

Global Function intemple()

void intemple ( int roomno )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  You()src/pline.c
  You_feel()src/pline.c
  body_part()src/polyself.c
  findpriest()src/priest.c
  has_shrine()src/priest.c
  makemon()src/makemon.c
  nomul()src/hack.c
  on_level()src/dungeon.c
  p_coaligned()src/priest.c
  pline()src/pline.c
  set_malign()src/makemon.c
  temple_occupied()src/priest.c
  verbalize()src/pline.c
  rn2(), sprintf()
Called by: check_special_room()src/hack.c
References Variables: dungeon_topologysrc/decl.c
  flagssrc/decl.c
  monssrc/monst.c
  nomovemsgsrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  youmonstsrc/decl.c

Global Function mk_roamer()

struct monst* mk_roamer ( struct permonst* ptr, aligntyp alignment, xchar x, xchar y, boolean peaceful )
Prototyped in: include/extern.h
Calls: makemon()src/makemon.c
  set_malign()src/makemon.c
  rloc()
Called by: dog_move()src/dogmove.c
  final_level()src/do.c
References Variables: levelsrc/decl.c
  monssrc/monst.c
  usrc/decl.c

Global Function move_special()

int move_special ( struct monst* mtmp, boolean in_his_shop, schar appr, boolean uondoor, boolean avoid, xchar omx, xchar omy, xchar gx, xchar gy )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  check_special_room()src/hack.c
  dist2()src/hacklib.c
  distant_name()src/objnam.c
  m_carrying()src/mthrowu.c
  mfndpos()src/mon.c
  newsym()src/display.c
  obj_extract_self()src/mkobj.c
  online2()src/hacklib.c
  pline()src/pline.c
  inhishop(), mpickobj(), place_monster(), rn2()
Called by: pri_move()src/priest.c
References Functions: doname()src/objnam.c
References Variables: levelsrc/decl.c
  usrc/decl.c
  viz_arraysrc/decl.c

Global Function p_coaligned()

boolean p_coaligned ( struct monst* priest )
Prototyped in: include/extern.h
Called by: dosacrifice()src/pray.c
  in_your_sanctuary()src/priest.c
  intemple()src/priest.c
  priest_talk()src/priest.c
  priestini()src/priest.c
  setmangry()src/mon.c
  xkilled()src/mon.c
References Variables: usrc/decl.c

Global Function pri_move()

int pri_move ( struct monst* priest )
Prototyped in: include/extern.h
Calls: Your()src/pline.c
  histemple_at()src/priest.c
  mattacku()src/mhitu.c
  mon_nam()src/do_name.c
  monnear()src/mon.c
  move_special()src/priest.c
  resist(), rn2(), strchr()
Called by: m_move()src/monmove.c
References Variables: monssrc/monst.c
  usrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c

Global Function priest_talk()

void priest_talk ( struct monst* priest )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  adjalign()src/attrib.c
  bribe()src/minion.c
  exercise()src/attrib.c
  has_shrine()src/priest.c
  histemple_at()src/priest.c
  in_rooms()src/hack.c
  incr_itimeout()src/potion.c
  p_coaligned()src/priest.c
  pline()src/pline.c
  pronoun_gender()src/mondata.c
  verbalize()src/pline.c
  rn2()
References Variables: flagssrc/decl.c
  hissrc/decl.c
  movessrc/decl.c
  usrc/decl.c

Global Function priestini()

void priestini ( d_level* lvl, struct mkroom* sroom, int sx, int sy, boolean sanctum )
Prototyped in: include/extern.h
Calls: assign_level()src/dungeon.c
  curse()src/mkobj.c
  makemon()src/makemon.c
  mkobj()src/mkobj.c
  mksobj()src/mkobj.c
  mongets()src/makemon.c
  on_level()src/dungeon.c
  p_coaligned()src/priest.c
  set_malign()src/makemon.c
  m_dowear(), mpickobj(), rloc(), rn2()
Called by: mktemple()src/mkroom.c
References Variables: dungeon_topologysrc/decl.c
  levelsrc/decl.c
  monssrc/monst.c
  roomssrc/decl.c
  usrc/decl.c

Global Function priestname()

char* priestname ( struct monst* mon, char* pname )
Prototyped in: include/extern.h
Calls: dmgtype()src/mondata.c
  halu_gname()src/pray.c
  rndmonnam()src/do_name.c
  strcat(), strcpy()
Called by: x_monnam()src/do_name.c
References Variables: monssrc/monst.c
  usrc/decl.c
  youmonstsrc/decl.c

Global Function reset_hostility()

void reset_hostility ( struct monst* roamer )
Prototyped in: include/extern.h
Calls: newsym()src/display.c
  set_malign()src/makemon.c
Called by: final_level()src/do.c
References Variables: monssrc/monst.c
  usrc/decl.c

Global Function restpriest()

void restpriest ( struct monst* mtmp, boolean ghostly )
Prototyped in: include/extern.h
Calls: assign_level()src/dungeon.c
References Variables: usrc/decl.c

Global Function temple_occupied()

char temple_occupied ( char* array )
Prototyped in: include/extern.h
Called by: angry_priest()src/priest.c
  dosacrifice()src/pray.c
  ghod_hitsu()src/priest.c
  in_your_sanctuary()src/priest.c
  intemple()src/priest.c
References Variables: roomssrc/decl.c

Local Function has_shrine()

static boolean has_shrine ( struct monst* pri )
Prototyped in: src/priest.c
Called by: ghod_hitsu()src/priest.c
  in_your_sanctuary()src/priest.c
  intemple()src/priest.c
  priest_talk()src/priest.c
References Variables: levelsrc/decl.c

Local Function histemple_at()

static boolean histemple_at ( struct monst* priest, xchar x, xchar y )
Prototyped in: src/priest.c
Calls: in_rooms()src/hack.c
  on_level()src/dungeon.c
Called by: findpriest()src/priest.c
  pri_move()src/priest.c
  priest_talk()src/priest.c
References Variables: usrc/decl.c