File src/mthrowu.c


Included Files


Preprocessor definitions

#define URETREATING( x, y )

#define POLE_LIM 5


Local Variables

breathwep
static const char* breathwep[]
Used in: breamu()

Global Function breamu()

int breamu ( struct monst* mtmp, struct attack* mattk )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  lined_up()src/mthrowu.c
  nomul()src/hack.c
  sgn()src/hacklib.c
  You_hear(), buzz(), impossible(), pline(), rn2(), rnd(), worm_known()
Called by: mattacku()src/mhitu.c
References Variables: breathwepsrc/mthrowu.c
  flagssrc/decl.c
  tbxsrc/decl.c
  tbysrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c

Global Function lined_up()

boolean lined_up ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: linedup()src/mthrowu.c
Called by: breamu()src/mthrowu.c
  buzzmu()src/mcastu.c
  m_move()src/monmove.c
  spitmu()src/mthrowu.c
  thrwmu()src/mthrowu.c

Global Function linedup()

boolean linedup ( xchar ax, xchar ay, xchar bx, xchar by )
Prototyped in: include/extern.h
Calls: distmin()src/hacklib.c
  abs(), clear_path()
Called by: lined_up()src/mthrowu.c
References Variables: tbxsrc/decl.c
  tbysrc/decl.c
  usrc/decl.c
  viz_arraysrc/decl.c

Global Function m_carrying()

struct obj* m_carrying ( struct monst* mtmp, int type )
Prototyped in: include/extern.h
Called by: dog_move()src/dogmove.c
  m_move()src/monmove.c

Global Function m_throw()

void m_throw ( struct monst* mon, int x, int y, int dx, int dy, int range, struct obj* obj )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  distmin()src/hacklib.c
  dmgtype()src/mondata.c
  drop_throw()src/mthrowu.c
  dropy()src/do.c
  hold_another_object()src/invent.c
  isok()src/cmd.c
  mon_nam()src/do_name.c
  nomul()src/hack.c
  obj_extract_self()src/mkobj.c
  ohitmon()src/mthrowu.c
  poisoned()src/mon.c
  poly_when_stoned()src/mondata.c
  s_suffix()src/hacklib.c
  splitobj()src/mkobj.c
  stop_occupation()src/allmain.c
  thitu()src/mthrowu.c
  tmp_at()src/display.c
  The(), You(), Your(), body_part(), discover_object(), dmgval(), impossible(), make_blinded(), makeplural(), pline(), pline_The(), polymon(), potionhit(), rn2(), rnd(), strcpy(), worm_known(), xname()
Called by: spitmu()src/mthrowu.c
  thrwmu()src/mthrowu.c
References Variables: bhitpossrc/decl.c
  c_common_stringssrc/decl.c
  flagssrc/decl.c
  killersrc/decl.c
  levelsrc/decl.c
  monssrc/monst.c
  multisrc/decl.c
  otg_tempsrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c
  objects, windowprocs

Global Function m_useup()

void m_useup ( struct monst* mon, struct obj* obj )
Prototyped in: include/extern.h
Calls: dealloc_obj()src/mkobj.c
  obj_extract_self()src/mkobj.c
  possibly_unwield(), update_mon_intrinsics()
Called by: lifesaved_monster()src/mon.c
  mdamagem()src/mhitm.c

Global Function ohitmon()

int ohitmon ( struct monst* mtmp, struct obj* otmp, int range, boolean verbose )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  can_blnd()src/mondata.c
  drop_throw()src/mthrowu.c
  hates_silver()src/mondata.c
  mon_nam()src/do_name.c
  mondied()src/mon.c
  obj_extract_self()src/mkobj.c
  omon_adj()src/dothrow.c
  s_suffix()src/hacklib.c
  seemimic()src/mon.c
  distant_name(), dmgval(), exclam(), find_mac(), hit(), miss(), pline(), pline_The(), potionhit(), rn2(), rnd(), the(), xname()
Called by: m_throw()src/mthrowu.c
  scatter()src/explode.c
References Functions: xname()
References Variables: bhitpossrc/decl.c
  viz_arraysrc/decl.c
  objects

Global Function spitmu()

int spitmu ( struct monst* mtmp, struct attack* mattk )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  distmin()src/hacklib.c
  lined_up()src/mthrowu.c
  m_throw()src/mthrowu.c
  mksobj()src/mkobj.c
  mon_nam()src/do_name.c
  nomul()src/hack.c
  s_suffix()src/hacklib.c
  sgn()src/hacklib.c
  impossible(), pline(), rn2(), worm_known()
Called by: mattacku()src/mhitu.c
References Variables: flagssrc/decl.c
  tbxsrc/decl.c
  tbysrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c

Global Function thitu()

int thitu ( int tlev, int dam, struct obj* obj, const char* name )
Prototyped in: include/extern.h
Calls: exercise()src/attrib.c
  hates_silver()src/mondata.c
  losehp()src/hack.c
  panic()src/end.c
  You(), an(), doname(), obj_is_pname(), pline(), pline_The(), rnd(), strcpy(), the(), xname()
Called by: m_throw()src/mthrowu.c
  scatter()src/explode.c
  thrwmu()src/mthrowu.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  youmonstsrc/decl.c
  objects

Global Function thrwmu()

void thrwmu ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  dist2()src/hacklib.c
  distmin()src/hacklib.c
  lined_up()src/mthrowu.c
  m_throw()src/mthrowu.c
  monsndx()src/mondata.c
  nomul()src/hack.c
  sgn()src/hacklib.c
  thitu()src/mthrowu.c
  an(), dmgval(), mon_wield_item(), obj_is_pname(), pline(), rn2(), rnd(), select_rwep(), singular(), the(), worm_known()
Called by: mattacku()src/mhitu.c
References Functions: xname()
References Variables: tbxsrc/decl.c
  tbysrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c
  objects

Local Function drop_throw()

static int drop_throw ( struct obj* obj, boolean ohit, int x, int y )
Prototyped in: src/mthrowu.c
Calls: down_gate()src/dokick.c
  flooreffects()src/do.c
  place_object()src/mkobj.c
  ship_object()src/dokick.c
  stackobj()src/invent.c
  obfree(), rn2(), t_at()
Called by: m_throw()src/mthrowu.c
  ohitmon()src/mthrowu.c
References Variables: levelsrc/decl.c
  objects