File src/dokick.c


Included Files


Preprocessor definitions

#define is_bigfoot( x )

#define martial

#define IS_SHOP( x )


External Variables

notonhead
extern boolean notonhead

Local Variables

maploc
static struct rm* maploc
Used in: dokick()
  kickstr()

gate_str
static const char* gate_str
Used in: down_gate()
  impact_drop()
  otransit_msg()

kickobj
static struct obj* kickobj
Used in: dokick()
  kick_object()
  kickstr()

kick_passes_thru
static const char kick_passes_thru[]
Used in: kick_monster()
  kickdmg()


Global Function dokick()

int dokick ( void )
Prototyped in: include/extern.h
Calls: Amonnam()src/do_name.c
  Monnam()src/do_name.c
  acurr()src/attrib.c
  acurrstr()src/attrib.c
  cvt_sdoor_to_door()src/detect.c
  exercise()src/attrib.c
  feel_location()src/display.c
  getdir()src/cmd.c
  hcolor()src/do_name.c
  is_drawbridge_wall()src/dbridge.c
  is_pool()src/dbridge.c
  isok()src/cmd.c
  kick_monster()src/dokick.c
  kick_object()src/dokick.c
  kickstr()src/dokick.c
  map_invisible()src/display.c
  mon_nam()src/do_name.c
  newsym()src/display.c
  set_wounded_legs()src/do.c
  unmap_object()src/display.c
  An(), Is_special(), You(), You_cant(), You_hear(), Your(), add_damage(), altar_wrath(), angry_guards(), b_trapped(), body_part(), dist2(), dunlev(), dunlevs_in_dungeon(), enexto(), fall_through(), hurtle(), in_rooms(), inv_weight(), kick_steed(), losehp(), makemon(), makeplural(), mkgold(), mkobj_at(), near_capacity(), on_level(), pay_for_damage(), pline(), pline_The(), poly_gender(), rn2(), rnd(), rnd_treefruit_at(), rnl(), rust_dmg(), scatter(), sobj_at(), u_wipe_engr(), unblock_point(), verbalize(), wake_nearby(), weight_cap(), worm_known(), xname()
Used in:  src/cmd.c
References Variables: WIN_MESSAGEsrc/decl.c
  c_color_namessrc/decl.c
  c_common_stringssrc/decl.c
  dungeon_topologysrc/decl.c
  flagssrc/decl.c
  kickobjsrc/dokick.c
  levelsrc/decl.c
  maplocsrc/dokick.c
  mvitalssrc/decl.c
  usrc/decl.c
  uarmfsrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  yncharssrc/decl.c
  youmonstsrc/decl.c
  mons, urole, windowprocs

Global Function down_gate()

schar down_gate ( xchar x, xchar y )
Prototyped in: include/extern.h
Calls: ok_to_quest(), on_level(), t_at()
Called by: impact_drop()src/dokick.c
  ship_object()src/dokick.c
References Variables: dnladdersrc/decl.c
  dnstairsrc/decl.c
  dungeon_topologysrc/decl.c
  gate_strsrc/dokick.c
  sstairssrc/decl.c
  usrc/decl.c

Global Function ghitm()

boolean ghitm ( struct monst* mtmp, struct obj* gold )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  acurr()src/attrib.c
  mon_nam()src/do_name.c
  You(), dealloc_obj(), make_happy_shk(), pline(), pline_The(), rn2(), setmangry(), verbalize(), wakeup(), worm_known()
Called by: kick_object()src/dokick.c
References Variables: hissrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c
  mons

Global Function impact_drop()

void impact_drop ( struct obj* missile, xchar x, xchar y, xchar dlev )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  down_gate()src/dokick.c
  drop_to()src/dokick.c
  You(), You_hear(), add_to_migration(), angry_guards(), costly_spot(), hot_pursuit(), in_rooms(), obj_extract_self(), picked_container(), pline(), rn2(), shop_keeper(), stolen_value(), strchr(), strncpy()
Called by: digactualhole()src/dig.c
  goto_level()src/do.c
  ship_object()src/dokick.c
References Variables: gate_strsrc/dokick.c
  levelsrc/decl.c
  plnamesrc/decl.c
  usrc/decl.c
  uballsrc/decl.c
  uchainsrc/decl.c
  viz_arraysrc/decl.c

Global Function obj_delivery()

void obj_delivery ( void )
Prototyped in: include/extern.h
Calls: obj_extract_self(), place_object(), rloco(), rnd(), scatter(), stackobj()
Called by: goto_level()src/do.c
References Variables: migrating_objssrc/decl.c
  sstairssrc/decl.c
  usrc/decl.c
  upladdersrc/decl.c
  upstairsrc/decl.c

Global Function ship_object()

boolean ship_object ( struct obj* otmp, xchar x, xchar y, boolean shop_floor_obj )
Prototyped in: include/extern.h
Calls: down_gate()src/dokick.c
  drop_to()src/dokick.c
  impact_drop()src/dokick.c
  newsym()src/display.c
  otransit_msg()src/dokick.c
  add_to_migration(), costly_spot(), count_unpaid(), in_rooms(), picked_container(), rn2(), shop_keeper(), stolen_value(), strchr(), subfrombill(), t_at()
Called by: dropx()src/do.c
References Variables: levelsrc/decl.c
  usrc/decl.c
  uballsrc/decl.c
  uchainsrc/decl.c
  viz_arraysrc/decl.c

Local Function drop_to()

static void drop_to ( coord* cc, schar loc )
Prototyped in: src/dokick.c
Calls: Is_botlevel(), on_level()
Called by: impact_drop()src/dokick.c
  ship_object()src/dokick.c
References Variables: dungeon_topologysrc/decl.c
  sstairssrc/decl.c
  usrc/decl.c

Local Function kick_monster()

static void kick_monster ( xchar x, xchar y )
Prototyped in: src/dokick.c
Calls: Monnam()src/do_name.c
  acurr()src/attrib.c
  exercise()src/attrib.c
  kickdmg()src/dokick.c
  mon_nam()src/do_name.c
  You(), Your(), attack_checks(), attacktype(), damageum(), find_roll_to_hit(), inv_weight(), missum(), mnexto(), passive(), pline(), rn2(), rnd(), setmangry(), weight_cap()
Called by: dokick()src/dokick.c
References Variables: bhitpossrc/decl.c
  kick_passes_thrusrc/dokick.c
  levelsrc/decl.c
  multisrc/decl.c
  usrc/decl.c
  uarmsrc/decl.c
  uarmfsrc/decl.c
  youmonstsrc/decl.c
  mons, objects, urole

Local Function kick_object()

static int kick_object ( xchar x, xchar y )
Prototyped in: src/dokick.c
Calls: acurr()src/attrib.c
  acurrstr()src/attrib.c
  find_trap()src/detect.c
  flooreffects()src/do.c
  ghitm()src/dokick.c
  is_ice()src/dbridge.c
  is_pool()src/dbridge.c
  mon_nam()src/do_name.c
  newsym()src/display.c
  snuff_candle()src/apply.c
  Doname2(), The(), You(), You_cant(), You_hear(), Your(), addtobill(), bhit(), body_part(), chest_trap(), closed_door(), costly_gold(), costly_spot(), distant_name(), dmgtype(), done(), hero_breaks(), in_rooms(), inside_shop(), make_angry_shk(), makeplural(), obfree(), obj_extract_self(), obj_resists(), place_object(), pline(), pline_The(), poly_when_stoned(), polymon(), rn2(), rnd(), shop_keeper(), splitobj(), sprintf(), stackobj(), stolen_value(), strchr(), surface(), t_at(), thitmonst(), useup()
Called by: dokick()src/dokick.c
References Functions: xname()
References Variables: bhitpossrc/decl.c
  c_common_stringssrc/decl.c
  kickobjsrc/dokick.c
  killersrc/decl.c
  killer_formatsrc/decl.c
  levelsrc/decl.c
  usrc/decl.c
  uarmfsrc/decl.c
  uballsrc/decl.c
  ublindfsrc/decl.c
  uchainsrc/decl.c
  youmonstsrc/decl.c
  mons, notonhead, objects, urole

Local Function kickdmg()

static void kickdmg ( struct monst* mon, boolean clumsy )
Prototyped in: src/dokick.c
Calls: Monnam()src/do_name.c
  abuse_dog()src/dog.c
  acurr()src/attrib.c
  acurrstr()src/attrib.c
  adjalign()src/attrib.c
  exercise()src/attrib.c
  newsym()src/display.c
  You_feel(), goodpos(), killed(), m_in_out_region(), passive(), place_monster(), pline(), pline_The(), rn2(), rnd(), seemimic(), set_apparxy(), use_skill()
Called by: kick_monster()src/dokick.c
References Variables: kick_passes_thrusrc/dokick.c
  levelsrc/decl.c
  usrc/decl.c
  uarmfsrc/decl.c
  youmonstsrc/decl.c
  mons, urole

Local Function kickstr()

static char* kickstr ( char* buf )
Prototyped in: src/dokick.c
Calls: distant_name(), strcat(), strcpy()
Called by: dokick()src/dokick.c
References Functions: doname()
References Variables: kickobjsrc/dokick.c
  levelsrc/decl.c
  maplocsrc/dokick.c

Local Function otransit_msg()

static void otransit_msg ( struct obj* otmp, boolean nodrop, long num )
Prototyped in: src/dokick.c
Calls: eos(), pline(), sprintf(), xname()
Called by: ship_object()src/dokick.c
References Variables: gate_strsrc/dokick.c
  mons