File src/quest.c


Included Files


Preprocessor definitions

#define Not_firsttime

#define Qstat( x )


Global Function artitouch()

void artitouch ( void )
Prototyped in: include/extern.h
Calls: exercise()src/attrib.c
  qt_pager()
Called by: addinv_core1()src/invent.c
References Variables: quest_statussrc/decl.c

Global Function finish_quest()

void finish_quest ( struct obj* obj )
Prototyped in: include/extern.h
Calls: carrying()src/invent.c
  fully_identify_obj()src/invent.c
  com_pager(), qt_pager()
Called by: chat_with_leader()src/quest.c
  thitmonst()src/dothrow.c
References Variables: quest_statussrc/decl.c
  usrc/decl.c

Global Function leader_speaks()

void leader_speaks ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: chat_with_leader()src/quest.c
  expulsion()src/quest.c
  on_level()src/dungeon.c
  qt_pager()
Called by: quest_talk()src/quest.c
References Variables: dungeon_topologysrc/decl.c
  quest_statussrc/decl.c
  usrc/decl.c

Global Function nemdead()

void nemdead ( void )
Prototyped in: include/extern.h
Calls: qt_pager()
Called by: mondead()src/mon.c
References Variables: quest_statussrc/decl.c

Global Function nemesis_speaks()

void nemesis_speaks ( void )
Prototyped in: include/extern.h
Calls: qt_pager(), rn2()
Called by: quest_talk()src/quest.c
References Variables: quest_statussrc/decl.c
  usrc/decl.c

Global Function ok_to_quest()

boolean ok_to_quest ( void )
Prototyped in: include/extern.h
Calls: is_pure()src/quest.c
Called by: down_gate()src/dokick.c
  goto_level()src/do.c
References Variables: quest_statussrc/decl.c

Global Function onquest()

void onquest ( void )
Prototyped in: include/extern.h
Calls: Is_special()src/dungeon.c
  on_goal()src/quest.c
  on_level()src/dungeon.c
  on_locate()src/quest.c
  on_start()src/quest.c
Called by: goto_level()src/do.c
References Variables: dungeon_topologysrc/decl.c
  usrc/decl.c

Global Function quest_chat()

void quest_chat ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: chat_with_guardian()src/quest.c
  chat_with_leader()src/quest.c
  chat_with_nemesis()src/quest.c
  impossible()src/pline.c
  mon_nam()src/do_name.c

Global Function quest_stat_check()

void quest_stat_check ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: monnear()src/mon.c
Called by: dochug()src/monmove.c
References Variables: quest_statussrc/decl.c
  usrc/decl.c

Global Function quest_talk()

void quest_talk ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: leader_speaks()src/quest.c
  nemesis_speaks()src/quest.c
  prisoner_speaks()src/quest.c
Called by: dochug()src/monmove.c

Local Function chat_with_guardian()

static void chat_with_guardian ( void )
Prototyped in: src/quest.c
Calls: qt_pager(), rn2()
Called by: quest_chat()src/quest.c

Local Function chat_with_leader()

static void chat_with_leader ( void )
Prototyped in: src/quest.c
Calls: exercise()src/attrib.c
  expulsion()src/quest.c
  finish_quest()src/quest.c
  is_pure()src/quest.c
  not_capable()src/quest.c
  on_level()src/dungeon.c
  is_quest_artifact(), qt_pager(), rn2()
Called by: leader_speaks()src/quest.c
  quest_chat()src/quest.c
References Variables: dungeon_topologysrc/decl.c
  inventsrc/decl.c
  quest_statussrc/decl.c
  usrc/decl.c

Local Function chat_with_nemesis()

static void chat_with_nemesis ( void )
Prototyped in: src/quest.c
Calls: qt_pager(), rn2()
Called by: quest_chat()src/quest.c
References Variables: quest_statussrc/decl.c

Local Function expulsion()

static void expulsion ( boolean seal )
Prototyped in: src/quest.c
Calls: dungeon_branch()src/dungeon.c
  impossible()src/pline.c
  schedule_goto()src/do.c
  deltrap()
Called by: chat_with_leader()src/quest.c
  leader_speaks()src/quest.c
References Variables: ftrapsrc/decl.c
  usrc/decl.c

Local Function is_pure()

static boolean is_pure ( boolean talk )
Prototyped in: src/quest.c
Calls: You()src/pline.c
  align_str()src/pline.c
Called by: chat_with_leader()src/quest.c
  ok_to_quest()src/quest.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  windowprocs

Local Function not_capable()

static boolean not_capable ( void )
Prototyped in: src/quest.c
Called by: chat_with_leader()src/quest.c
References Variables: usrc/decl.c

Local Function on_goal()

static void on_goal ( void )
Prototyped in: src/quest.c
Calls: qt_pager()
Called by: onquest()src/quest.c
References Variables: quest_statussrc/decl.c

Local Function on_locate()

static void on_locate ( void )
Prototyped in: src/quest.c
Calls: qt_pager()
Called by: onquest()src/quest.c
References Variables: quest_statussrc/decl.c
  usrc/decl.c

Local Function on_start()

static void on_start ( void )
Prototyped in: src/quest.c
Calls: qt_pager()
Called by: onquest()src/quest.c
References Variables: quest_statussrc/decl.c
  usrc/decl.c

Local Function prisoner_speaks()

static void prisoner_speaks ( struct monst* mtmp )
Prototyped in: src/quest.c
Calls: Monnam()src/do_name.c
  adjalign()src/attrib.c
  angry_guards()src/mon.c
  pline()src/pline.c
  verbalize()src/pline.c
  worm_known()
Called by: quest_talk()src/quest.c
References Variables: monssrc/monst.c
  usrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c