File src/invent.c


Included Files


Preprocessor definitions

#define NOINVSYM '#'

#define CONTAINED_SYM '>'

#define inv_rank( o )


Global Variable fn

int (*fn)(struct obj*)
Visible in:  src/cmd.c
   src/invent.c

Global Variable mx

int mx
Visible in:  src/invent.c

Global Variable combo

boolean combo
Visible in:  src/invent.c

Global Variable ckfn

int (*ckfn)(struct obj*)
Visible in:  src/invent.c

Local Variables

lastinvnr
static int lastinvnr
Used in: assigninvlet()
  reassign()

venom_inv
static char venom_inv[]
Used in: display_inventory()

removeables
static const char removeables[]
Used in: ggetobj()

this_type
static int this_type
Used in: dotypeinv()
  this_type_only()

names
static const char* names[]
Used in: let_to_name()

oth_symbols
static const char oth_symbols[]
Used in: let_to_name()

oth_names
static const char* oth_names[]
Used in: let_to_name()

invbuf
static char* invbuf
Used in: free_invbuf()
  let_to_name()

invbufsiz
static unsigned invbufsiz
Used in: free_invbuf()
  let_to_name()

only
static coord only
Used in: display_binventory()
  only_here()


Global Function addinv()

struct obj* addinv ( struct obj* obj )
Prototyped in: include/extern.h
Calls: addinv_core1()src/invent.c
  addinv_core2()src/invent.c
  assigninvlet()src/invent.c
  carry_obj_effects()src/invent.c
  merged()src/invent.c
  panic()src/end.c
  reorder_invent()src/invent.c
Called by: hold_another_object()src/invent.c
  light_cocktail()src/apply.c
  thitmonst()src/dothrow.c
  throwit()src/dothrow.c
  touchfood()src/eat.c
References Variables: flagssrc/decl.c
  inventsrc/decl.c
  windowprocs

Global Function addinv_core1()

void addinv_core1 ( struct obj* obj )
Prototyped in: include/extern.h
Calls: set_artifact_intrinsic()src/artifact.c
  artitouch(), impossible(), is_quest_artifact()
Called by: addinv()src/invent.c
References Variables: flagssrc/decl.c
  usrc/decl.c

Global Function addinv_core2()

void addinv_core2 ( struct obj* obj )
Prototyped in: include/extern.h
Calls: set_moreluck()src/attrib.c
  spec_ability()src/artifact.c
Called by: addinv()src/invent.c

Global Function assigninvlet()

void assigninvlet ( struct obj* otmp )
Prototyped in: include/extern.h
Called by: addinv()src/invent.c
  menu_drop()src/do.c
References Variables: inventsrc/decl.c
  lastinvnrsrc/invent.c

Global Function carry_obj_effects()

void carry_obj_effects ( struct obj* obj )
Prototyped in: include/extern.h
Calls: attach_fig_transform_timeout(), dead_species()
Called by: addinv()src/invent.c

Global Function carrying()

struct obj* carrying ( int type )
Prototyped in: include/extern.h
Called by: doapply()src/apply.c
  done()src/end.c
  enlightenment()src/cmd.c
  invocation_message()src/hack.c
  set_moreluck()src/attrib.c
  use_candle()src/apply.c
References Variables: inventsrc/decl.c

Global Function ckfn()

int askchain ( )
Calls: is_worn()src/invent.c
  xprname()src/invent.c
  doname(), impossible(), not_fully_identified(), pline(), setuqwep(), setuswapwep(), setuwep(), splitobj(), strcat(), strcmp(), strcpy(), welded()
References Variables: inventsrc/decl.c
  uquiversrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c
  ynNaqcharssrc/decl.c
  yn_numbersrc/decl.c
  ynaqcharssrc/decl.c
  windowprocs

Global Function count_unpaid()

int count_unpaid ( struct obj* list )
Prototyped in: include/extern.h
Calls: count_unpaid()src/invent.c
Called by: count_unpaid()src/invent.c
  dotypeinv()src/invent.c
  dounpaid()src/invent.c
  ggetobj()src/invent.c
  ship_object()src/dokick.c

Global Function ddoinv()

int ddoinv ( void )
Prototyped in: include/extern.h
Calls: display_inventory()src/invent.c
Called by: rhack()src/cmd.c
Used in:  src/cmd.c

Global Function delallobj()

void delallobj ( int x, int y )
Prototyped in: include/extern.h
Calls: delobj()src/invent.c
  unpunish()
Called by: close_drawbridge()src/dbridge.c
  open_drawbridge()src/dbridge.c
References Variables: levelsrc/decl.c
  uballsrc/decl.c
  uchainsrc/decl.c

Global Function delobj()

void delobj ( struct obj* obj )
Prototyped in: include/extern.h
Calls: newsym()src/display.c
  obfree(), obj_extract_self()
Called by: boulder_hits_pool()src/do.c
  breakobj()src/dothrow.c
  delallobj()src/invent.c
  dighole()src/dig.c
  do_break_wand()src/apply.c
  dog_eat()src/dogmove.c
  dosinkring()src/do.c
  moverock()src/hack.c
  still_chewing()src/hack.c
  useupf()src/invent.c

Global Function dfeature_at()

const char* dfeature_at ( int x, int y, char* buf )
Prototyped in: include/extern.h
Calls: is_drawbridge_wall()src/dbridge.c
  is_ice()src/dbridge.c
  is_lava()src/dbridge.c
  is_pool()src/dbridge.c
  a_gname(), align_str(), sprintf(), strcpy()
Called by: look_here()src/invent.c
References Variables: defsymssrc/drawing.c
  dnladdersrc/decl.c
  dnstairsrc/decl.c
  levelsrc/decl.c
  sstairssrc/decl.c
  upladdersrc/decl.c
  upstairsrc/decl.c

Global Function display_binventory()

int display_binventory ( int x, int y, boolean as_if_seen )
Prototyped in: include/extern.h
Calls: free(), query_objlist()
References Functions: only_here()src/invent.c
References Variables: levelsrc/decl.c
  onlysrc/invent.c

Global Function display_cinventory()

struct obj* display_cinventory ( struct obj* obj )
Prototyped in: include/extern.h
Calls: invdisp_nothing()src/invent.c
  doname(), free(), query_objlist(), sprintf()
References Functions: allow_all()

Global Function display_inventory()

char display_inventory ( const char* lets, boolean want_reply )
Prototyped in: include/extern.h
Calls: let_to_name()src/invent.c
  reassign()src/invent.c
  xprname()src/invent.c
  dmgtype(), doname(), free(), pline(), rn2(), strchr(), strlen()
Called by: ddoinv()src/invent.c
  disclose()src/end.c
  doprarm()src/invent.c
  doprinuse()src/invent.c
  doprring()src/invent.c
  doprtool()src/invent.c
  getobj()src/invent.c
  ggetobj()src/invent.c
References Variables: WIN_INVENsrc/decl.c
  flagssrc/decl.c
  inventsrc/decl.c
  otg_tempsrc/decl.c
  usrc/decl.c
  venom_invsrc/invent.c
  youmonstsrc/decl.c
  windowprocs

Global Function display_minventory()

struct obj* display_minventory ( struct monst* mon, int dflags )
Prototyped in: include/extern.h
Calls: invdisp_nothing()src/invent.c
  noit_Monnam()src/do_name.c
  panic()src/end.c
  s_suffix()src/hacklib.c
  add_to_minv(), free(), obj_extract_self(), query_objlist(), set_uasmon(), sprintf()
References Functions: worn_wield_only()src/invent.c
  allow_all()
References Variables: youmonstsrc/decl.c
  zeroobjsrc/decl.c

Global Function dolook()

int dolook ( void )
Prototyped in: include/extern.h
Calls: look_here()src/invent.c
Used in:  src/cmd.c

Global Function doorganize()

int doorganize ( void )
Prototyped in: include/extern.h
Calls: compactify()src/invent.c
  getobj()src/invent.c
  letter()src/hacklib.c
  mergable()src/invent.c
  merged()src/invent.c
  prinv()src/invent.c
  reassign()src/invent.c
  reorder_invent()src/invent.c
  extract_nobj(), pline(), sprintf(), strchr()
Used in:  src/cmd.c
References Variables: c_common_stringssrc/decl.c
  flagssrc/decl.c
  inventsrc/decl.c
  quitcharssrc/decl.c
  windowprocs

Global Function dopramulet()

int dopramulet ( void )
Prototyped in: include/extern.h
Calls: prinv()src/invent.c
  You()
Used in:  src/cmd.c
References Variables: uamulsrc/decl.c

Global Function doprarm()

int doprarm ( void )
Prototyped in: include/extern.h
Calls: display_inventory()src/invent.c
  obj_to_let()src/invent.c
  wearing_armor()src/invent.c
  You()
Used in:  src/cmd.c
References Variables: uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c

Global Function doprgold()

int doprgold ( void )
Prototyped in: include/extern.h
Calls: Your(), shopper_financial_report()
Called by: dotypeinv()src/invent.c
Used in:  src/cmd.c
References Variables: usrc/decl.c

Global Function doprinuse()

int doprinuse ( void )
Prototyped in: include/extern.h
Calls: display_inventory()src/invent.c
  is_worn()src/invent.c
  obj_to_let()src/invent.c
  tool_in_use()src/invent.c
  You()
Used in:  src/cmd.c
References Variables: inventsrc/decl.c

Global Function doprring()

int doprring ( void )
Prototyped in: include/extern.h
Calls: display_inventory()src/invent.c
  obj_to_let()src/invent.c
  You()
Used in:  src/cmd.c
References Variables: uleftsrc/decl.c
  urightsrc/decl.c

Global Function doprtool()

int doprtool ( void )
Prototyped in: include/extern.h
Calls: display_inventory()src/invent.c
  obj_to_let()src/invent.c
  tool_in_use()src/invent.c
  You()
Used in:  src/cmd.c
References Variables: inventsrc/decl.c

Global Function doprwep()

int doprwep ( void )
Prototyped in: include/extern.h
Calls: prinv()src/invent.c
  You(), body_part()
Used in:  src/cmd.c
References Variables: usrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c

Global Function dotypeinv()

int dotypeinv ( void )
Prototyped in: include/extern.h
Calls: count_unpaid()src/invent.c
  def_char_to_objclass()src/drawing.c
  doprgold()src/invent.c
  dounpaid()src/invent.c
  eos()src/hacklib.c
  savech()src/cmd.c
  You(), collect_obj_classes(), doinvbill(), free(), pline(), query_category(), query_objlist(), strcat(), strchr()
Used in:  src/cmd.c
References Functions: this_type_only()src/invent.c
References Variables: WIN_MESSAGEsrc/decl.c
  def_oc_symssrc/drawing.c
  flagssrc/decl.c
  inventsrc/decl.c
  this_typesrc/invent.c
  usrc/decl.c
  windowprocs

Global Function feel_cockatrice()

void feel_cockatrice ( struct obj* otmp, boolean force_touch )
Prototyped in: include/extern.h
Calls: You(), an(), body_part(), instapetrify(), makeplural(), pline(), poly_when_stoned(), sprintf()
Called by: look_here()src/invent.c
References Variables: usrc/decl.c
  uarmgsrc/decl.c
  ublindfsrc/decl.c
  youmonstsrc/decl.c
  mons

Global Function free_invbuf()

void free_invbuf ( void )
Prototyped in: include/extern.h
Calls: free()
References Variables: invbufsrc/invent.c
  invbufsizsrc/invent.c

Global Function freeinv()

void freeinv ( struct obj* obj )
Prototyped in: include/extern.h
Calls: freeinv_core()src/invent.c
  extract_nobj()
Called by: ballfall()src/ball.c
  canletgo()src/do.c
  do_break_wand()src/apply.c
  doeat()src/eat.c
  drop()src/do.c
  dropx()src/do.c
  goto_level()src/do.c
  light_cocktail()src/apply.c
  throw_obj()src/dothrow.c
  touchfood()src/eat.c
  use_mirror()src/apply.c
  useupall()src/invent.c
References Variables: inventsrc/decl.c
  windowprocs

Global Function freeinv_core()

void freeinv_core ( struct obj* obj )
Prototyped in: include/extern.h
Calls: set_artifact_intrinsic()src/artifact.c
  set_moreluck()src/attrib.c
  spec_ability()src/artifact.c
  curse(), impossible(), is_quest_artifact(), stop_timer()
Called by: freeinv()src/invent.c
References Variables: flagssrc/decl.c
  usrc/decl.c

Global Function fully_identify_obj()

void fully_identify_obj ( struct obj* otmp )
Prototyped in: include/extern.h
Calls: discover_artifact()src/artifact.c
  discover_object(), learn_egg_type()
Called by: identify()src/invent.c

Global Function g_at()

struct obj* g_at ( int x, int y )
Prototyped in: include/extern.h
Called by: floorfood()src/eat.c
References Variables: levelsrc/decl.c

Global Function getobj()

struct obj* getobj ( const char* let, const char* word )
Prototyped in: include/extern.h
Calls: canwearobj()src/do_wear.c
  compactify()src/invent.c
  digit()src/hacklib.c
  display_inventory()src/invent.c
  is_edible()src/eat.c
  mkgoldobj()src/invent.c
  readchar()src/cmd.c
  savech()src/cmd.c
  tinnable()src/apply.c
  You(), is_chargeable(), pline(), pline_The(), setuqwep(), setuswapwep(), setuwep(), splitobj(), sprintf(), strchr(), strcmp(), strcpy()
Called by: arti_invoke()src/artifact.c
  ddocall()src/do_name.c
  doapply()src/apply.c
  dodrop()src/do.c
  doengrave()src/engrave.c
  doinvoke()src/artifact.c
  doorganize()src/invent.c
  doputon()src/do_wear.c
  doremring()src/do_wear.c
  dorub()src/apply.c
  dotakeoff()src/do_wear.c
  dothrow()src/dothrow.c
  dowear()src/do_wear.c
  floorfood()src/eat.c
  use_grease()src/apply.c
References Variables: c_common_stringssrc/decl.c
  def_oc_symssrc/drawing.c
  flagssrc/decl.c
  in_doagainsrc/decl.c
  inventsrc/decl.c
  quitcharssrc/decl.c
  usrc/decl.c
  uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmusrc/decl.c
  uquiversrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c
  youmonstsrc/decl.c
  zeroobjsrc/decl.c
  objects, windowprocs

Global Function ggetobj()

int ggetobj ( const char* word, int fn, int mx, int combo )
Prototyped in: include/extern.h
Calls: count_unpaid()src/invent.c
  def_char_to_objclass()src/drawing.c
  display_inventory()src/invent.c
  mkgoldobj()src/invent.c
  wearing_armor()src/invent.c
  You(), add_valid_menu_class(), askchain(), collect_obj_classes(), pline(), sprintf(), strchr(), strcmp()
Called by: doddoremarm()src/do_wear.c
  doddrop()src/do.c
  identify_pack()src/invent.c
  menu_drop()src/do.c
  menu_remarm()src/do_wear.c
References Functions: ckunpaid()src/invent.c
  is_worn()src/invent.c
  not_fully_identified()
References Variables: flagssrc/decl.c
  inventsrc/decl.c
  removeablessrc/invent.c
  usrc/decl.c
  uamulsrc/decl.c
  ublindfsrc/decl.c
  uleftsrc/decl.c
  uquiversrc/decl.c
  urightsrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c
  windowprocs

Global Function have_lizard()

boolean have_lizard ( void )
Prototyped in: include/extern.h
References Variables: inventsrc/decl.c

Global Function hold_another_object()

struct obj* hold_another_object ( struct obj* obj, const char* drop_fmt, const char* drop_arg, const char* hold_msg )
Prototyped in: include/extern.h
Calls: addinv()src/invent.c
  dropx()src/do.c
  dropy()src/do.c
  inv_cnt()src/hack.c
  near_capacity()src/hack.c
  prinv()src/invent.c
  pline(), setuqwep(), setworn(), splitobj(), strcpy()
Called by: arti_invoke()src/artifact.c
  doapply()src/apply.c
  light_cocktail()src/apply.c
  use_tinning_kit()src/apply.c
  use_whip()src/apply.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  uquiversrc/decl.c
  uwepsrc/decl.c
  youmonstsrc/decl.c
  objects

Global Function identify()

int identify ( struct obj* otmp )
Prototyped in: include/extern.h
Calls: fully_identify_obj()src/invent.c
  prinv()src/invent.c
Called by: identify_pack()src/invent.c
  menu_identify()src/invent.c
Used in: identify_pack()src/invent.c

Global Function identify_pack()

void identify_pack ( int id_limit )
Prototyped in: include/extern.h
Calls: ggetobj()src/invent.c
  identify()src/invent.c
  menu_identify()src/invent.c
  You(), not_fully_identified()
Called by: wiz_identify()src/cmd.c
References Functions: identify()src/invent.c
References Variables: flagssrc/decl.c
  inventsrc/decl.c
  windowprocs

Global Function is_worn()

boolean is_worn ( struct obj* otmp )
Prototyped in: include/extern.h
Called by: ckfn()src/invent.c
  doprinuse()src/invent.c
Used in: ggetobj()src/invent.c
  menu_remarm()src/do_wear.c

Global Function let_to_name()

char* let_to_name ( char let, boolean unpaid )
Prototyped in: include/extern.h
Calls: alloc()src/alloc.c
  free(), strcat(), strchr(), strcpy(), strlen()
Called by: display_inventory()src/invent.c
  dounpaid()src/invent.c
References Variables: invbufsrc/invent.c
  invbufsizsrc/invent.c
  namessrc/invent.c
  oth_namessrc/invent.c
  oth_symbolssrc/invent.c

Global Function look_here()

int look_here ( int obj_cnt, boolean picked_some )
Prototyped in: include/extern.h
Calls: can_reach_floor()src/engrave.c
  dfeature_at()src/invent.c
  feel_cockatrice()src/invent.c
  is_lava()src/dbridge.c
  is_pool()src/dbridge.c
  on_level()src/dungeon.c
  read_engr_at()src/engrave.c
  surface()src/engrave.c
  There(), You(), an(), doname(), pline(), sprintf(), strcmp(), t_at()
Called by: dolook()src/invent.c
References Variables: WIN_MESSAGEsrc/decl.c
  defsymssrc/drawing.c
  dungeon_topologysrc/decl.c
  levelsrc/decl.c
  usrc/decl.c
  ublindfsrc/decl.c
  youmonstsrc/decl.c
  windowprocs

Global Function merge_choice()

struct obj* merge_choice ( struct obj* objlist, struct obj* obj )
Prototyped in: include/extern.h
Calls: mergable()src/invent.c
  inhishop(), inside_shop(), shop_keeper()
Called by: touchfood()src/eat.c
References Variables: inventsrc/decl.c

Global Function merged()

int merged ( struct obj** potmp, struct obj** pobj )
Prototyped in: include/extern.h
Calls: mergable()src/invent.c
  oname()src/do_name.c
  obfree(), obj_extract_self(), obj_merge_light_sources(), obj_stop_timers(), setworn()
Called by: addinv()src/invent.c
  doorganize()src/invent.c
  stackobj()src/invent.c

Global Function mkgoldobj()

struct obj* mkgoldobj ( long q )
Prototyped in: include/extern.h
Calls: mksobj(), weight()
Called by: drop_upon_death()src/bones.c
  getobj()src/invent.c
  ggetobj()src/invent.c
  menu_drop()src/do.c
References Variables: flagssrc/decl.c
  usrc/decl.c

Global Function o_on()

struct obj* o_on ( unsigned int id, struct obj* objchn )
Prototyped in: include/extern.h
Calls: o_on()src/invent.c
Called by: o_on()src/invent.c

Global Function obj_here()

boolean obj_here ( struct obj* obj, int x, int y )
Prototyped in: include/extern.h
Called by: eatfood()src/eat.c
  opentin()src/eat.c
References Variables: levelsrc/decl.c

Global Function prinv()

void prinv ( const char* prefix, struct obj* obj, long quan )
Prototyped in: include/extern.h
Calls: obj_to_let()src/invent.c
  xprname()src/invent.c
  pline()
Called by: dofire()src/dothrow.c
  doorganize()src/invent.c
  dopramulet()src/invent.c
  doprwep()src/invent.c
  doputon()src/do_wear.c
  hold_another_object()src/invent.c
  identify()src/invent.c

Global Function reassign()

void reassign ( void )
Prototyped in: include/extern.h
Called by: display_inventory()src/invent.c
  doorganize()src/invent.c
  dounpaid()src/invent.c
  obj_to_let()src/invent.c
References Variables: inventsrc/decl.c
  lastinvnrsrc/invent.c

Global Function sobj_at()

struct obj* sobj_at ( int n, int x, int y )
Prototyped in: include/extern.h
Called by: bad_rock()src/hack.c
  destroy_drawbridge()src/dbridge.c
  dig()src/dig.c
  dig_check()src/dig.c
  dig_typ()src/dig.c
  dighole()src/dig.c
  dokick()src/dokick.c
  domove()src/hack.c
  feel_location()src/display.c
  figurine_location_checks()src/apply.c
  gush()src/fountain.c
  hurtle_step()src/dothrow.c
  its_dead()src/apply.c
  mdig_tunnel()src/dig.c
  moverock()src/hack.c
  still_chewing()src/hack.c
  use_whip()src/apply.c
References Variables: levelsrc/decl.c

Global Function stackobj()

void stackobj ( struct obj* obj )
Prototyped in: include/extern.h
Calls: merged()src/invent.c
Called by: doeat()src/eat.c
  dropy()src/do.c
  kick_object()src/dokick.c
  obj_delivery()src/dokick.c
  scatter()src/explode.c
  start_tin()src/eat.c
  throw_gold()src/dothrow.c
  throwit()src/dothrow.c
  unearth_objs()src/dig.c
  use_whip()src/apply.c
  zap_dig()src/dig.c
References Variables: levelsrc/decl.c

Global Function useup()

void useup ( struct obj* obj )
Prototyped in: include/extern.h
Calls: useupall()src/invent.c
  weight()
Called by: Amulet_on()src/do_wear.c
  destroy_arm()src/do_wear.c
  dipfountain()src/fountain.c
  doengrave()src/engrave.c
  done()src/end.c
  done_eating()src/eat.c
  dosinkring()src/do.c
  eatcorpse()src/eat.c
  eatspecial()src/eat.c
  kick_object()src/dokick.c
  opentin()src/eat.c
  set_trap()src/apply.c
  use_bell()src/apply.c
  use_crystal_ball()src/detect.c
  use_figurine()src/apply.c
  use_tinning_kit()src/apply.c
References Variables: windowprocs

Global Function useupall()

void useupall ( struct obj* obj )
Prototyped in: include/extern.h
Calls: freeinv()src/invent.c
  obfree(), setnotworn()
Called by: use_candle()src/apply.c
  useup()src/invent.c

Global Function useupf()

void useupf ( struct obj* obj, long numused )
Prototyped in: include/extern.h
Calls: delobj()src/invent.c
  in_rooms()src/hack.c
  addtobill(), costly_spot(), splitobj(), stolen_value(), strchr()
Called by: done_eating()src/eat.c
  eatcorpse()src/eat.c
  eatspecial()src/eat.c
  opentin()src/eat.c
  use_tinning_kit()src/apply.c
References Variables: usrc/decl.c

Global Function wearing_armor()

boolean wearing_armor ( void )
Prototyped in: include/extern.h
Called by: doddoremarm()src/do_wear.c
  doprarm()src/invent.c
  ggetobj()src/invent.c
References Variables: uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c

Global Function xprname()

char* xprname ( struct obj* obj, const char* txt, char let, boolean dot, long cost )
Prototyped in: include/extern.h
Calls: doname(), sprintf()
Called by: ckfn()src/invent.c
  display_inventory()src/invent.c
  dounpaid()src/invent.c
  prinv()src/invent.c
References Variables: flagssrc/decl.c

Local Function ckunpaid()

static int ckunpaid ( struct obj* otmp )
Prototyped in: src/invent.c
Used in: ggetobj()src/invent.c

Local Function compactify()

static void compactify ( char* buf )
Prototyped in: src/invent.c
Called by: doorganize()src/invent.c
  getobj()src/invent.c

Local Function dounpaid()

static void dounpaid ( void )
Prototyped in: src/invent.c
Calls: count_unpaid()src/invent.c
  find_unpaid()src/invent.c
  let_to_name()src/invent.c
  reassign()src/invent.c
  xprname()src/invent.c
  distant_name(), pline(), unpaid_cost()
Called by: dotypeinv()src/invent.c
References Functions: doname()
References Variables: flagssrc/decl.c
  inventsrc/decl.c
  windowprocs

Local Function find_unpaid()

static struct obj* find_unpaid ( struct obj* list, struct obj** last_found )
Prototyped in: src/invent.c
Calls: find_unpaid()src/invent.c
Called by: dounpaid()src/invent.c
  find_unpaid()src/invent.c

Local Function invdisp_nothing()

static void invdisp_nothing ( const char* hdr, const char* txt )
Prototyped in: src/invent.c
Calls: free()
Called by: display_cinventory()src/invent.c
  display_minventory()src/invent.c
References Variables: windowprocs

Local Function menu_identify()

static void menu_identify ( int id_limit )
Prototyped in: src/invent.c
Calls: identify()src/invent.c
  free(), pline(), query_objlist(), sprintf()
Called by: identify_pack()src/invent.c
References Functions: not_fully_identified()
References Variables: inventsrc/decl.c
  windowprocs

Local Function mergable()

static boolean mergable ( struct obj* otmp, struct obj* obj )
Prototyped in: src/invent.c
Calls: same_price(), strncmp()
Called by: doorganize()src/invent.c
  merge_choice()src/invent.c
  merged()src/invent.c
References Variables: mons, objects, urole

Local Function obj_to_let()

static char obj_to_let ( struct obj* obj )
Prototyped in: src/invent.c
Calls: reassign()src/invent.c
Called by: doprarm()src/invent.c
  doprinuse()src/invent.c
  doprring()src/invent.c
  doprtool()src/invent.c
  prinv()src/invent.c
References Variables: flagssrc/decl.c

Local Function only_here()

static boolean only_here ( struct obj* obj )
Prototyped in: src/invent.c
Used in: display_binventory()src/invent.c
References Variables: onlysrc/invent.c

Local Function reorder_invent()

static void reorder_invent ( void )
Prototyped in: src/invent.c
Called by: addinv()src/invent.c
  doorganize()src/invent.c
References Variables: inventsrc/decl.c

Local Function this_type_only()

static boolean this_type_only ( struct obj* obj )
Prototyped in: src/invent.c
Used in: dotypeinv()src/invent.c
References Variables: this_typesrc/invent.c

Local Function tool_in_use()

static boolean tool_in_use ( struct obj* obj )
Prototyped in: src/invent.c
Called by: doprinuse()src/invent.c
  doprtool()src/invent.c
References Variables: uwepsrc/decl.c

Local Function worn_wield_only()

static boolean worn_wield_only ( struct obj* obj )
Prototyped in: src/invent.c
Used in: display_minventory()src/invent.c