File src/explode.c


Included Files


Preprocessor definitions

#define ZT_SPELL_O_FIRE 11

Type struct scatter_chain

struct scatter_chain
struct scatter_chain 
   { 
     struct scatter_chain* next; 
     struct obj* obj; 
     xchar ox; 
     xchar oy; 
     schar dx; 
     schar dy; 
     int range; 
     boolean stopped; 
   } 

Local Variables

expl
static int expl[3][3]
Used in: explode()

Global Function explode()

void explode ( int x, int y, int type, int dam, char olet )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  curs_on_u()src/display.c
  done()src/end.c
  exercise()src/attrib.c
  isok()src/cmd.c
  map_invisible()src/display.c
  newsym()src/display.c
  show_glyph()src/display.c
  tmp_at()src/display.c
  unmap_object()src/display.c
  You(), You_hear(), abs(), burn_away_slime(), burnarmor(), destroy_item(), destroy_mitem(), dist2(), golemeffects(), impossible(), killed(), monkilled(), pay_for_damage(), pline(), resist(), resists_magm(), sprintf(), strcpy(), ugolemeffects(), worm_known(), zap_over_floor()
Called by: do_break_wand()src/apply.c
  splatter_burning_oil()src/explode.c
References Variables: explsrc/explode.c
  flagssrc/decl.c
  himsrc/decl.c
  hissrc/decl.c
  killersrc/decl.c
  killer_bufsrc/decl.c
  killer_formatsrc/decl.c
  levelsrc/decl.c
  shield_staticsrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c
  mons, urole, windowprocs

Global Function scatter()

void scatter ( int sx, int sy, int blastforce, unsigned int scflags, struct obj* obj )
Prototyped in: include/extern.h
Calls: alloc()src/alloc.c
  breaks()src/dothrow.c
  isok()src/cmd.c
  newsym()src/display.c
  stop_occupation()src/allmain.c
  The(), break_statue(), closed_door(), deltrap(), dmgval(), fracture_rock(), free(), nomul(), obj_extract_self(), ohitmon(), place_object(), pline(), rn2(), rnd(), splitobj(), stackobj(), t_at(), thitu(), xname()
Called by: dokick()src/dokick.c
  obj_delivery()src/dokick.c
References Variables: bhitpossrc/decl.c
  levelsrc/decl.c
  multisrc/decl.c
  usrc/decl.c
  xdirsrc/decl.c
  ydirsrc/decl.c
  youmonstsrc/decl.c
  objects

Global Function splatter_burning_oil()

void splatter_burning_oil ( int x, int y )
Prototyped in: include/extern.h
Calls: explode()src/explode.c
  d()
Called by: breakobj()src/dothrow.c