File src/do_wear.c


Included Files


Preprocessor definitions

#define MOREARM( x )

#define MOREACC( x )

#define DESTROY_ARM( o )


Local Variables

takeoff_mask
static long takeoff_mask
Used in: armoroff()
  doddoremarm()
  dowear()
  reset_remarm()
  select_off()
  take_off()

taking_off
static long taking_off
Used in: armoroff()
  do_takeoff()
  doddoremarm()
  dowear()
  reset_remarm()
  take_off()

todelay
static int todelay
Used in: take_off()

see_yourself
static const char see_yourself[]
Used in: Cloak_off()
  Cloak_on()

unknown_type
static const char unknown_type[]
Used in: Boots_off()
  Boots_on()
  Cloak_off()
  Cloak_on()
  Gloves_off()
  Gloves_on()
  Helmet_off()
  Helmet_on()

c_armor
static const char* c_armor
Used in: canwearobj()

c_suit
static const char* c_suit
Used in: canwearobj()

c_shirt
static const char* c_shirt
Used in: canwearobj()

c_cloak
static const char* c_cloak
Used in: Cloak_off()
  Cloak_on()
  canwearobj()

c_gloves
static const char* c_gloves
Used in: Gloves_off()
  Gloves_on()
  canwearobj()

c_boots
static const char* c_boots
Used in: Boots_off()
  Boots_on()
  canwearobj()

c_helmet
static const char* c_helmet
Used in: Helmet_off()
  Helmet_on()
  canwearobj()

c_shield
static const char* c_shield
Used in: canwearobj()

c_weapon
static const char* c_weapon
Used in: canwearobj()
  doremring()
  dotakeoff()

c_sword
static const char* c_sword
Used in: canwearobj()
  doremring()
  dotakeoff()
  glibr()

c_axe
static const char* c_axe
Used in: canwearobj()

c_that_
static const char* c_that_
Used in: already_wearing()
  canwearobj()
  doputon()

takeoff_order
static const long takeoff_order[]
Used in: take_off()

clothes
static const char clothes[]
Used in: dotakeoff()
  dowear()

accessories
static const char accessories[]
Used in: doputon()
  doremring()


Global Function Amulet_off()

void Amulet_off ( void )
Prototyped in: include/extern.h
Calls: see_monsters()src/display.c
  You(), drown(), setworn()
Called by: do_takeoff()src/do_wear.c
  doremring()src/do_wear.c
References Variables: usrc/decl.c
  uamulsrc/decl.c
  youmonstsrc/decl.c

Global Function Armor_gone()

int Armor_gone ( void )
Prototyped in: include/extern.h
Calls: setnotworn()
Called by: destroy_arm()src/do_wear.c
References Variables: uarmsrc/decl.c

Global Function Armor_off()

int Armor_off ( void )
Prototyped in: include/extern.h
Calls: setworn()
Called by: do_takeoff()src/do_wear.c
Used in: armoroff()src/do_wear.c
  donning()src/do_wear.c

Global Function Blindf_off()

void Blindf_off ( struct obj* otmp )
Prototyped in: include/extern.h
Calls: off_msg()src/do_wear.c
  see_monsters()src/display.c
  You(), setworn()
Called by: doapply()src/apply.c
  doremring()src/do_wear.c
  use_towel()src/apply.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  vision_full_recalcsrc/decl.c
  youmonstsrc/decl.c
  mons

Global Function Blindf_on()

void Blindf_on ( struct obj* otmp )
Prototyped in: include/extern.h
Calls: on_msg()src/do_wear.c
  see_monsters()src/display.c
  set_bc()src/ball.c
  You(), an(), body_part(), setuqwep(), setuswapwep(), setuwep(), setworn(), xname()
Called by: doapply()src/apply.c
  doputon()src/do_wear.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  uballsrc/decl.c
  uquiversrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c
  vision_full_recalcsrc/decl.c
  youmonstsrc/decl.c
  mons

Global Function Boots_off()

int Boots_off ( void )
Prototyped in: include/extern.h
Calls: is_pool()src/dbridge.c
  You(), You_feel(), discover_object(), float_down(), impossible(), setworn(), spoteffects()
Called by: destroy_arm()src/do_wear.c
  do_takeoff()src/do_wear.c
Used in: armoroff()src/do_wear.c
  donning()src/do_wear.c
References Variables: c_bootssrc/do_wear.c
  usrc/decl.c
  uarmfsrc/decl.c
  unknown_typesrc/do_wear.c
  youmonstsrc/decl.c
  objects

Global Function Cloak_off()

int Cloak_off ( void )
Prototyped in: include/extern.h
Calls: newsym()src/display.c
  You(), discover_object(), impossible(), pline(), setworn()
Called by: armoroff()src/do_wear.c
  destroy_arm()src/do_wear.c
  do_takeoff()src/do_wear.c
References Variables: c_cloaksrc/do_wear.c
  see_yourselfsrc/do_wear.c
  usrc/decl.c
  uarmcsrc/decl.c
  ublindfsrc/decl.c
  unknown_typesrc/do_wear.c
  youmonstsrc/decl.c
  mons, objects

Global Function Gloves_off()

int Gloves_off ( void )
Prototyped in: include/extern.h
Calls: adj_abon()src/do_wear.c
  You(), an(), body_part(), discover_object(), impossible(), instapetrify(), makeplural(), setworn(), sprintf(), uswapwepgone(), uwepgone()
Called by: destroy_arm()src/do_wear.c
  do_takeoff()src/do_wear.c
Used in: armoroff()src/do_wear.c
  donning()src/do_wear.c
References Variables: c_glovessrc/do_wear.c
  flagssrc/decl.c
  usrc/decl.c
  uarmgsrc/decl.c
  unknown_typesrc/do_wear.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c
  mons, objects

Global Function Helmet_off()

int Helmet_off ( void )
Prototyped in: include/extern.h
Calls: adj_abon()src/do_wear.c
  see_monsters()src/display.c
  impossible(), setworn()
Called by: destroy_arm()src/do_wear.c
  do_takeoff()src/do_wear.c
Used in: armoroff()src/do_wear.c
  donning()src/do_wear.c
References Variables: c_helmetsrc/do_wear.c
  flagssrc/decl.c
  usrc/decl.c
  uarmhsrc/decl.c
  unknown_typesrc/do_wear.c
  urole

Global Function Ring_gone()

void Ring_gone ( struct obj* obj )
Prototyped in: include/extern.h
Calls: Ring_off_or_gone()src/do_wear.c

Global Function Ring_off()

void Ring_off ( struct obj* obj )
Prototyped in: include/extern.h
Calls: Ring_off_or_gone()src/do_wear.c
Called by: do_takeoff()src/do_wear.c
  doremring()src/do_wear.c
  glibr()src/do_wear.c

Global Function Ring_on()

void Ring_on ( struct obj* obj )
Prototyped in: include/extern.h
Calls: acurr()src/attrib.c
  newsym()src/display.c
  see_monsters()src/display.c
  set_mimic_blocking()src/display.c
  discover_object(), float_up(), pline(), rescham(), self_invis_message(), setuqwep(), setuswapwep(), setuwep()
Called by: doputon()src/do_wear.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  uquiversrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c
  youmonstsrc/decl.c
  mons, objects

Global Function Shield_off()

int Shield_off ( void )
Prototyped in: include/extern.h
Calls: setworn()
Called by: armoroff()src/do_wear.c
  destroy_arm()src/do_wear.c
  do_takeoff()src/do_wear.c

Global Function adj_abon()

void adj_abon ( struct obj* otmp, schar delta )
Prototyped in: include/extern.h
Calls: discover_object()
Called by: Gloves_off()src/do_wear.c
  Gloves_on()src/do_wear.c
  Helmet_off()src/do_wear.c
  Helmet_on()src/do_wear.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c

Global Function armoroff()

int armoroff ( struct obj* otmp )
Prototyped in: include/extern.h
Calls: Cloak_off()src/do_wear.c
  Shield_off()src/do_wear.c
  cursed()src/do_wear.c
  off_msg()src/do_wear.c
  nomul(), setworn()
Called by: dotakeoff()src/do_wear.c
References Functions: Armor_off()src/do_wear.c
  Boots_off()src/do_wear.c
  Gloves_off()src/do_wear.c
  Helmet_off()src/do_wear.c
References Variables: afternmvsrc/decl.c
  nomovemsgsrc/decl.c
  takeoff_masksrc/do_wear.c
  taking_offsrc/do_wear.c
  objects

Global Function cancel_don()

void cancel_don ( void )
Prototyped in: include/extern.h
Called by: destroy_arm()src/do_wear.c
References Variables: afternmvsrc/decl.c
  multisrc/decl.c
  nomovemsgsrc/decl.c

Global Function canwearobj()

int canwearobj ( struct obj* otmp, long* mask, boolean noisy )
Prototyped in: include/extern.h
Calls: already_wearing()src/do_wear.c
  You(), You_cant(), Your(), an(), body_part(), breakarm(), makeplural(), pline(), pline_The(), sliparm(), surface(), welded()
Called by: dowear()src/do_wear.c
References Variables: c_armorsrc/do_wear.c
  c_axesrc/do_wear.c
  c_bootssrc/do_wear.c
  c_cloaksrc/do_wear.c
  c_common_stringssrc/decl.c
  c_glovessrc/do_wear.c
  c_helmetsrc/do_wear.c
  c_shieldsrc/do_wear.c
  c_shirtsrc/do_wear.c
  c_suitsrc/do_wear.c
  c_swordsrc/do_wear.c
  c_that_src/do_wear.c
  c_weaponsrc/do_wear.c
  usrc/decl.c
  uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c
  uwepsrc/decl.c
  youmonstsrc/decl.c
  objects

Global Function cursed()

int cursed ( struct obj* otmp )
Prototyped in: include/extern.h
Calls: You(), welded()
Called by: armoroff()src/do_wear.c
  do_takeoff()src/do_wear.c
  doapply()src/apply.c
  doremring()src/do_wear.c
  select_off()src/do_wear.c
References Variables: uwepsrc/decl.c
  objects

Global Function destroy_arm()

int destroy_arm ( struct obj* atmp )
Prototyped in: include/extern.h
Calls: Armor_gone()src/do_wear.c
  Boots_off()src/do_wear.c
  Cloak_off()src/do_wear.c
  Gloves_off()src/do_wear.c
  Helmet_off()src/do_wear.c
  Shield_off()src/do_wear.c
  cancel_don()src/do_wear.c
  donning()src/do_wear.c
  Your(), obj_resists(), selftouch(), surface(), useup()
References Variables: usrc/decl.c
  uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c

Global Function doddoremarm()

int doddoremarm ( void )
Prototyped in: include/extern.h
Calls: menu_remarm()src/do_wear.c
  set_occupation()src/cmd.c
  take_off()src/do_wear.c
  You(), add_valid_menu_class(), ggetobj(), wearing_armor()
Used in:  src/cmd.c
References Functions: select_off()src/do_wear.c
  take_off()src/do_wear.c
References Variables: flagssrc/decl.c
  takeoff_masksrc/do_wear.c
  taking_offsrc/do_wear.c
  uamulsrc/decl.c
  ublindfsrc/decl.c
  uleftsrc/decl.c
  uquiversrc/decl.c
  urightsrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c

Global Function donning()

boolean donning ( struct obj* otmp )
Prototyped in: include/extern.h
Called by: destroy_arm()src/do_wear.c
References Functions: Armor_off()src/do_wear.c
  Armor_on()src/do_wear.c
  Boots_off()src/do_wear.c
  Boots_on()src/do_wear.c
  Gloves_off()src/do_wear.c
  Gloves_on()src/do_wear.c
  Helmet_off()src/do_wear.c
  Helmet_on()src/do_wear.c
References Variables: afternmvsrc/decl.c
  uarmsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c

Global Function doputon()

int doputon ( void )
Prototyped in: include/extern.h
Calls: Amulet_on()src/do_wear.c
  Blindf_on()src/do_wear.c
  Ring_on()src/do_wear.c
  already_wearing()src/do_wear.c
  already_wearing2()src/do_wear.c
  There(), You(), You_cant(), Your(), body_part(), getobj(), makeplural(), prinv(), setuwep(), setworn(), sprintf(), welded(), weldmsg()
Used in:  src/cmd.c
References Variables: accessoriessrc/do_wear.c
  c_common_stringssrc/decl.c
  c_that_src/do_wear.c
  uamulsrc/decl.c
  uarmgsrc/decl.c
  ublindfsrc/decl.c
  uleftsrc/decl.c
  urightsrc/decl.c
  uwepsrc/decl.c
  youmonstsrc/decl.c
  objects, windowprocs

Global Function doremring()

int doremring ( void )
Prototyped in: include/extern.h
Calls: Amulet_off()src/do_wear.c
  Blindf_off()src/do_wear.c
  Ring_off()src/do_wear.c
  cursed()src/do_wear.c
  off_msg()src/do_wear.c
  You(), getobj(), pline(), welded()
Used in:  src/cmd.c
References Variables: accessoriessrc/do_wear.c
  c_swordsrc/do_wear.c
  c_weaponsrc/do_wear.c
  uamulsrc/decl.c
  uarmgsrc/decl.c
  ublindfsrc/decl.c
  uleftsrc/decl.c
  urightsrc/decl.c
  uwepsrc/decl.c
  youmonstsrc/decl.c
  objects

Global Function dotakeoff()

int dotakeoff ( void )
Prototyped in: include/extern.h
Calls: armoroff()src/do_wear.c
  reset_remarm()src/do_wear.c
  You(), You_cant(), body_part(), getobj(), makeplural(), pline(), pline_The(), surface(), welded()
Used in:  src/cmd.c
References Variables: c_swordsrc/do_wear.c
  c_weaponsrc/do_wear.c
  clothessrc/do_wear.c
  usrc/decl.c
  uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c
  uskinsrc/decl.c
  uwepsrc/decl.c
  objects

Global Function dowear()

int dowear ( void )
Prototyped in: include/extern.h
Calls: Cloak_on()src/do_wear.c
  canwearobj()src/do_wear.c
  on_msg()src/do_wear.c
  touch_artifact()src/artifact.c
  You(), discover_object(), getobj(), nomul(), pline(), setuqwep(), setuswapwep(), setuwep(), setworn()
Used in:  src/cmd.c
References Functions: Armor_on()src/do_wear.c
  Boots_on()src/do_wear.c
  Gloves_on()src/do_wear.c
  Helmet_on()src/do_wear.c
References Variables: afternmvsrc/decl.c
  clothessrc/do_wear.c
  dungeon_topologysrc/decl.c
  flagssrc/decl.c
  nomovemsgsrc/decl.c
  takeoff_masksrc/do_wear.c
  taking_offsrc/do_wear.c
  usrc/decl.c
  uarmsrc/decl.c
  uquiversrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c
  youmonstsrc/decl.c
  objects

Global Function erode_armor()

void erode_armor ( struct monst* victim, boolean acid_dmg )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  some_armor()src/do_wear.c
  Your(), aobjnam(), grease_protect(), pline(), worm_known()
References Variables: flagssrc/decl.c
  usrc/decl.c
  uarmfsrc/decl.c
  ublindfsrc/decl.c
  viz_arraysrc/decl.c
  youmonstsrc/decl.c
  objects

Global Function find_ac()

void find_ac ( void )
Prototyped in: include/extern.h
Called by: moveloop()src/allmain.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c
  uleftsrc/decl.c
  urightsrc/decl.c
  mons, objects

Global Function glibr()

void glibr ( void )
Prototyped in: include/extern.h
Calls: Ring_off()src/do_wear.c
  dropx()src/do.c
  Your(), body_part(), makeplural(), makesingular(), setuswapwep(), setuwep(), welded()
Called by: moveloop()src/allmain.c
References Variables: c_swordsrc/do_wear.c
  usrc/decl.c
  uarmgsrc/decl.c
  uleftsrc/decl.c
  urightsrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c
  youmonstsrc/decl.c
  objects, oclass_names

Global Function off_msg()

void off_msg ( struct obj* otmp )
Prototyped in: include/extern.h
Calls: You(), doname()
Called by: Blindf_off()src/do_wear.c
  armoroff()src/do_wear.c
  doremring()src/do_wear.c
  take_off()src/do_wear.c
References Variables: flagssrc/decl.c

Global Function reset_remarm()

void reset_remarm ( void )
Prototyped in: include/extern.h
Called by: dotakeoff()src/do_wear.c
  reset_occupations()src/cmd.c
References Variables: takeoff_masksrc/do_wear.c
  taking_offsrc/do_wear.c

Global Function set_wear()

void set_wear ( void )
Prototyped in: include/extern.h
Calls: Armor_on()src/do_wear.c
  Boots_on()src/do_wear.c
  Cloak_on()src/do_wear.c
  Gloves_on()src/do_wear.c
  Helmet_on()src/do_wear.c
References Variables: uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c

Global Function some_armor()

struct obj* some_armor ( struct monst* victim )
Prototyped in: include/extern.h
Calls: rn2(), which_armor()
Called by: erode_armor()src/do_wear.c
References Variables: uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c
  youmonstsrc/decl.c

Local Function Amulet_on()

static void Amulet_on ( void )
Prototyped in: src/do_wear.c
Calls: You(), change_sex(), discover_object(), pline(), pline_The(), poly_gender(), rnd(), useup()
Called by: doputon()src/do_wear.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  uamulsrc/decl.c

Local Function Armor_on()

static int Armor_on ( void )
Prototyped in: src/do_wear.c
Called by: set_wear()src/do_wear.c
Used in: donning()src/do_wear.c
  dowear()src/do_wear.c

Local Function Boots_on()

static int Boots_on ( void )
Prototyped in: src/do_wear.c
Calls: You(), You_feel(), discover_object(), float_up(), impossible(), incr_itimeout(), rnd(), spoteffects()
Called by: set_wear()src/do_wear.c
Used in: donning()src/do_wear.c
  dowear()src/do_wear.c
References Variables: c_bootssrc/do_wear.c
  usrc/decl.c
  uarmfsrc/decl.c
  unknown_typesrc/do_wear.c
  objects

Local Function Cloak_on()

static int Cloak_on ( void )
Prototyped in: src/do_wear.c
Calls: newsym()src/display.c
  The(), You(), discover_object(), impossible(), pline(), xname()
Called by: dowear()src/do_wear.c
  set_wear()src/do_wear.c
References Variables: c_cloaksrc/do_wear.c
  see_yourselfsrc/do_wear.c
  usrc/decl.c
  uarmcsrc/decl.c
  ublindfsrc/decl.c
  unknown_typesrc/do_wear.c
  youmonstsrc/decl.c
  mons, objects

Local Function Gloves_on()

static int Gloves_on ( void )
Prototyped in: src/do_wear.c
Calls: adj_abon()src/do_wear.c
  discover_object(), impossible(), incr_itimeout(), rnd()
Called by: set_wear()src/do_wear.c
Used in: donning()src/do_wear.c
  dowear()src/do_wear.c
References Variables: c_glovessrc/do_wear.c
  flagssrc/decl.c
  usrc/decl.c
  uarmgsrc/decl.c
  unknown_typesrc/do_wear.c
  objects

Local Function Helmet_on()

static int Helmet_on ( void )
Prototyped in: src/do_wear.c
Calls: acurr()src/attrib.c
  adj_abon()src/do_wear.c
  hcolor()src/do_name.c
  The(), You_feel(), Your(), curse(), discover_object(), dmgtype(), impossible(), pline(), rn2(), xname()
Called by: set_wear()src/do_wear.c
Used in: donning()src/do_wear.c
  dowear()src/do_wear.c
References Variables: c_color_namessrc/decl.c
  c_helmetsrc/do_wear.c
  flagssrc/decl.c
  usrc/decl.c
  uarmhsrc/decl.c
  ublindfsrc/decl.c
  unknown_typesrc/do_wear.c
  youmonstsrc/decl.c
  urole

Local Function Ring_off_or_gone()

static void Ring_off_or_gone ( struct obj* obj, boolean gone )
Prototyped in: src/do_wear.c
Calls: acurr()src/attrib.c
  newsym()src/display.c
  see_monsters()src/display.c
  set_mimic_blocking()src/display.c
  Your(), discover_object(), float_down(), impossible(), pline(), restartcham(), setnotworn(), setworn()
Called by: Ring_gone()src/do_wear.c
  Ring_off()src/do_wear.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  youmonstsrc/decl.c
  mons, objects

Local Function already_wearing()

static void already_wearing ( const char* cc )
Prototyped in: src/do_wear.c
Calls: You()
Called by: canwearobj()src/do_wear.c
  doputon()src/do_wear.c
References Variables: c_that_src/do_wear.c

Local Function already_wearing2()

static void already_wearing2 ( const char* cc1, const char* cc2 )
Prototyped in: src/do_wear.c
Calls: You_cant()
Called by: doputon()src/do_wear.c

Local Function do_takeoff()

static struct obj* do_takeoff ( void )
Prototyped in: src/do_wear.c
Calls: Amulet_off()src/do_wear.c
  Armor_off()src/do_wear.c
  Boots_off()src/do_wear.c
  Cloak_off()src/do_wear.c
  Gloves_off()src/do_wear.c
  Helmet_off()src/do_wear.c
  Ring_off()src/do_wear.c
  Shield_off()src/do_wear.c
  cursed()src/do_wear.c
  You(), body_part(), impossible(), make_blinded(), setuqwep(), setuswapwep(), setuwep(), setworn()
Called by: take_off()src/do_wear.c
References Variables: taking_offsrc/do_wear.c
  usrc/decl.c
  uamulsrc/decl.c
  uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c
  ublindfsrc/decl.c
  uleftsrc/decl.c
  urightsrc/decl.c
  uwepsrc/decl.c

Local Function menu_remarm()

static int menu_remarm ( int retry )
Prototyped in: src/do_wear.c
Calls: select_off()src/do_wear.c
  There(), add_valid_menu_class(), free(), ggetobj(), query_category(), query_objlist()
Called by: doddoremarm()src/do_wear.c
References Functions: select_off()src/do_wear.c
  is_worn(), is_worn_by_type()
References Variables: flagssrc/decl.c
  inventsrc/decl.c

Local Function on_msg()

static void on_msg ( struct obj* otmp )
Prototyped in: src/do_wear.c
Calls: You(), an(), obj_is_pname(), the(), xname()
Called by: Blindf_on()src/do_wear.c
  dowear()src/do_wear.c
References Variables: flagssrc/decl.c

Local Function select_off()

static int select_off ( struct obj* otmp )
Prototyped in: src/do_wear.c
Calls: cursed()src/do_wear.c
  doname(), impossible(), welded()
Called by: menu_remarm()src/do_wear.c
Used in: doddoremarm()src/do_wear.c
  menu_remarm()src/do_wear.c
References Variables: takeoff_masksrc/do_wear.c
  usrc/decl.c
  uamulsrc/decl.c
  uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c
  ublindfsrc/decl.c
  uleftsrc/decl.c
  uquiversrc/decl.c
  urightsrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c
  youmonstsrc/decl.c
  objects

Local Function take_off()

static int take_off ( void )
Prototyped in: src/do_wear.c
Calls: do_takeoff()src/do_wear.c
  off_msg()src/do_wear.c
  set_occupation()src/cmd.c
  You(), impossible()
Called by: doddoremarm()src/do_wear.c
Used in: doddoremarm()src/do_wear.c
  take_off()src/do_wear.c
References Functions: take_off()src/do_wear.c
References Variables: takeoff_masksrc/do_wear.c
  takeoff_ordersrc/do_wear.c
  taking_offsrc/do_wear.c
  todelaysrc/do_wear.c
  uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c
  objects