#define IS_SHOP( x )
#define horiz( i )
#define vert( i )
#define GDIST( x, y )
| Visible in: | src/shk.c | |
| Used in: | shk_chat() | src/shk.c |
| Used in: | shk_move() |
no_money
static const char no_money[]
| Used in: | dopay() |
not_enough_money
static const char not_enough_money[]
| Used in: | dopay() |
repo_location
static coord repo_location
| Used in: | finish_paybill() |
| paybill() | |
| set_repo_loc() |
sell_response
static char sell_response
| Used in: | sellobj() |
| sellobj_state() |
sell_voluntarily
static boolean sell_voluntarily
| Used in: | sellobj() |
| sellobj_state() |
| Prototyped in: | include/extern.h | |
| Calls: | highc() | src/hacklib.c |
| shk_your() | src/shk.c | |
| Called by: | dodip() | src/potion.c |
| get_wet() | src/potion.c | |
| snuff_candle() | src/apply.c | |
| use_lamp() | src/apply.c | |
| Prototyped in: | include/extern.h | |
| Calls: | in_rooms() | src/hack.c |
| inhishop() | src/shk.c | |
| pline() | src/pline.c | |
| shkname() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| Called by: | domove() | src/hack.c |
| References Variables: | level | src/decl.c |
| mons | src/monst.c | |
| rooms | src/decl.c | |
| u | src/decl.c | |
| youmonst | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | carrying() | src/invent.c |
| in_rooms() | src/hack.c | |
| inhishop() | src/shk.c | |
| pline() | src/pline.c | |
| shkname() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| Called by: | domove() | src/hack.c |
| References Variables: | level | src/decl.c |
| mons | src/monst.c | |
| rooms | src/decl.c | |
| u | src/decl.c | |
| youmonst | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | cost_per_charge() | src/shk.c |
| exercise() | src/attrib.c | |
| inhishop() | src/shk.c | |
| rn2() | src/rnd.c | |
| shop_keeper() | src/shk.c | |
| verbalize() | src/pline.c | |
| Called by: | check_unpaid() | src/shk.c |
| dorub() | src/apply.c | |
| References Variables: | objects | src/objects.c |
| u | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | contained_cost() | src/shk.c |
| get_cost() | src/shk.c | |
| set_cost() | src/shk.c | |
| saleable() | ||
| Called by: | addtobill() | src/shk.c |
| contained_cost() | src/shk.c | |
| price_quote() | src/shk.c | |
| sellobj() | src/shk.c | |
| References Variables: | objects | src/objects.c |
| Prototyped in: | include/extern.h | |
| Calls: | contained_gold() | src/shk.c |
| Called by: | addtobill() | src/shk.c |
| contained_gold() | src/shk.c | |
| sellobj() | src/shk.c | |
| stolen_value() | src/shk.c | |
| Prototyped in: | include/extern.h | |
| Calls: | obfree() | src/shk.c |
| obj_extract_self() | src/mkobj.c | |
| Called by: | in_container() | src/pickup.c |
| obfree() | src/shk.c | |
| readobjnam() | src/objnam.c | |
| Prototyped in: | include/extern.h | |
| Calls: | bp_to_obj() | src/shk.c |
| impossible() | src/pline.c | |
| inhishop() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| xprname() | src/invent.c | |
| Called by: | dotypeinv() | src/invent.c |
| References Variables: | u | src/decl.c |
| windowprocs | ||
| Prototyped in: | include/extern.h | |
| Calls: | o_on() | src/invent.c |
| Called by: | bp_to_obj() | src/shk.c |
| relink_light_sources() | src/light.c | |
| References Variables: | invent | src/decl.c |
| level | src/decl.c | |
| migrating_mons | src/decl.c | |
| migrating_objs | src/decl.c | |
| mydogs | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | curse() | src/mkobj.c |
| obj_extract_self() | src/mkobj.c | |
| place_object() | src/mkobj.c | |
| rn2() | src/rnd.c | |
| Called by: | done() | src/end.c |
| References Variables: | invent | src/decl.c |
| repo_location | src/shk.c | |
| Prototyped in: | include/extern.h | |
| Calls: | kops_gone() | src/shk.c |
| mnearto() | src/mon.c | |
| pacify_guards() | src/mon.c | |
| Called by: | inherits() | src/shk.c |
| make_happy_shk() | src/shk.c | |
| pay_for_damage() | src/shk.c | |
| References Variables: | level | src/decl.c |
| Prototyped in: | include/extern.h | |
| Called by: | levl_follower() | src/mondata.c |
| Prototyped in: | include/extern.h | |
| Calls: | Monnam() | src/do_name.c |
| addupbill() | src/shk.c | |
| hot_pursuit() | src/shk.c | |
| pline() | src/pline.c | |
| setpaid() | src/shk.c | |
| Called by: | breakobj() | src/dothrow.c |
| kick_object() | src/dokick.c | |
| References Variables: | viz_array | src/decl.c |
| Prototyped in: | include/extern.h | |
| Calls: | inherits() | src/shk.c |
| inhishop() | src/shk.c | |
| mongone() | src/mon.c | |
| next_shkp() | src/shk.c | |
| on_level() | src/dungeon.c | |
| shop_keeper() | src/shk.c | |
| Called by: | done() | src/end.c |
| References Variables: | level | src/decl.c |
| repo_location | src/shk.c | |
| u | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | contained_cost() | src/shk.c |
| doname() | src/objnam.c | |
| get_cost() | src/shk.c | |
| inside_shop() | src/shk.c | |
| pline() | src/pline.c | |
| shk_embellish() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| sprintf(), strcpy() | ||
| References Variables: | u | src/decl.c |
| uball | src/decl.c | |
| uchain | src/decl.c | |
| windowprocs | ||
| Prototyped in: | include/extern.h | |
| Calls: | inside_shop() | src/shk.c |
| mksobj() | src/mkobj.c | |
| newsym() | src/display.c | |
| obfree() | src/shk.c | |
| obj_extract_self() | src/mkobj.c | |
| place_object() | src/mkobj.c | |
| placebc() | src/ball.c | |
| remove_object() | src/mkobj.c | |
| rn2() | src/rnd.c | |
| unplacebc() | src/ball.c | |
| verbalize() | src/pline.c | |
| weight() | src/mkobj.c | |
| block_point(), deltrap(), memset(), mpickobj(), t_at() | ||
| Called by: | remove_damage() | src/shk.c |
| restdamage() | src/restore.c | |
| References Variables: | level | src/decl.c |
| monstermoves | src/decl.c | |
| u | src/decl.c | |
| uball | src/decl.c | |
| uchain | src/decl.c | |
| viz_array | src/decl.c | |
| youmonst | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | inhishop() | src/shk.c |
| Called by: | replmon() | src/mon.c |
| References Variables: | rooms | src/decl.c |
| u | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | assign_level() | src/dungeon.c |
| pacify_shk() | src/shk.c | |
| strncmpi() | src/hacklib.c | |
| Called by: | restmonchn() | src/restore.c |
| References Variables: | plname | src/decl.c |
| u | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | impossible() | src/pline.c |
| next_shkp() | src/shk.c | |
| onbill() | src/shk.c | |
| Called by: | mergable() | src/invent.c |
| References Variables: | level | src/decl.c |
| Prototyped in: | include/extern.h | |
| Called by: | doddrop() | src/do.c |
| dodrop() | src/do.c | |
| in_container() | src/pickup.c | |
| References Variables: | sell_response | src/shk.c |
| sell_voluntarily | src/shk.c | |
| Prototyped in: | include/extern.h | |
| Calls: | on_level() | src/dungeon.c |
| Called by: | getlev() | src/restore.c |
| keepdogs() | src/dog.c | |
| migrate_to_level() | src/dog.c | |
| mon_arrive() | src/dog.c | |
| References Variables: | rooms | src/decl.c |
| u | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | Hello() | src/role.c |
| addupbill() | src/shk.c | |
| pline() | src/pline.c | |
| rn2() | src/rnd.c | |
| shkname() | src/shk.c | |
| verbalize() | src/pline.c | |
| strcmp(), strncmp() | ||
| References Variables: | Izchak_speaks | src/shk.c |
| he | src/decl.c | |
| him | src/decl.c | |
| plname | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | mon_owns() | src/shk.c |
| shk_owns() | src/shk.c | |
| strcpy() | ||
| Called by: | Shk_Your() | src/shk.c |
| light_cocktail() | src/apply.c | |
| use_trap() | src/apply.c | |
| yname() | src/objnam.c | |
| Prototyped in: | include/extern.h | |
| Calls: | Monnam() | src/do_name.c |
| dist2() | src/hacklib.c | |
| inhishop() | src/shk.c | |
| inside_shop() | src/shk.c | |
| map_invisible() | src/display.c | |
| mnearto() | src/mon.c | |
| pline() | src/pline.c | |
| shop_keeper() | src/shk.c | |
| subfrombill() | src/shk.c | |
| the() | src/objnam.c | |
| verbalize() | src/pline.c | |
| xname() | src/objnam.c | |
| mpickobj(), worm_known() | ||
| References Variables: | flags | src/decl.c |
| mons | src/monst.c | |
| u | src/decl.c | |
| ublindf | src/decl.c | |
| viz_array | src/decl.c | |
| youmonst | src/decl.c | |
| windowprocs | ||
| Prototyped in: | include/extern.h | |
| Calls: | on_level() | src/dungeon.c |
| remove_damage() | src/shk.c | |
| search_special() | src/mkroom.c | |
| setpaid() | src/shk.c | |
| Called by: | m_detach() | src/mon.c |
| References Variables: | level | src/decl.c |
| rooms | src/decl.c | |
| u | src/decl.c | |
| Prototyped in: | include/extern.h | |
| Calls: | costly_spot() | src/shk.c |
| in_rooms() | src/hack.c | |
| inhishop() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| References Variables: | level | src/decl.c |
| Prototyped in: | include/extern.h | |
| Calls: | You() | src/pline.c |
| inside_shop() | src/shk.c | |
| next_shkp() | src/shk.c | |
| s_suffix() | src/hacklib.c | |
| shkname() | src/shk.c | |
| shop_debt() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| Called by: | doprgold() | src/invent.c |
| References Variables: | level | src/decl.c |
| u | src/decl.c | |
| shtypes | ||
| Prototyped in: | include/extern.h | |
| Calls: | impossible() | src/pline.c |
| inhishop() | src/shk.c | |
| onbill() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| Called by: | splitobj() | src/mkobj.c |
| References Variables: | u | src/decl.c |
| Prototyped in: | include/extern.h | |
| Calls: | inhishop() | src/shk.c |
| Prototyped in: | include/extern.h | |
| Calls: | Hello() | src/role.c |
| carrying() | src/invent.c | |
| dochug() | src/monmove.c | |
| in_rooms() | src/hack.c | |
| inhishop() | src/shk.c | |
| inside_shop() | src/shk.c | |
| pacify_shk() | src/shk.c | |
| pline() | src/pline.c | |
| s_suffix() | src/hacklib.c | |
| shkname() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| sobj_at() | src/invent.c | |
| strncmpi() | src/hacklib.c | |
| verbalize() | src/pline.c | |
| y_monnam() | src/do_name.c | |
| strchr(), strcpy(), strncpy() | ||
| Called by: | check_special_room() | src/hack.c |
| References Variables: | mons | src/monst.c |
| plname | src/decl.c | |
| rooms | src/decl.c | |
| u | src/decl.c | |
| youmonst | src/decl.c | |
| shtypes | ||
| Prototyped in: | include/extern.h | |
| Calls: | impossible() | src/pline.c |
| next_shkp() | src/shk.c | |
| onbill() | src/shk.c | |
| Called by: | dounpaid() | src/invent.c |
| References Variables: | level | src/decl.c |
| Prototyped in: | src/shk.c | |
| Calls: | You() | src/pline.c |
| add_to_billobjs() | src/shk.c | |
| get_cost() | src/shk.c | |
| inhishop() | src/shk.c | |
| onbill() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| Called by: | addtobill() | src/shk.c |
| bill_box_content() | src/shk.c | |
| References Variables: | u | src/decl.c |
| Prototyped in: | src/shk.c | |
| Calls: | panic() | src/end.c |
| Called by: | add_one_tobill() | src/shk.c |
| obfree() | src/shk.c | |
| sub_one_frombill() | src/shk.c | |
| References Variables: | billobjs | src/decl.c |
| Prototyped in: | src/shk.c | |
| Called by: | inherits() | src/shk.c |
| make_angry_shk() | src/shk.c | |
| shk_chat() | src/shk.c | |
| u_left_shop() | src/shk.c | |
| Prototyped in: | src/shk.c | |
| Calls: | next_shkp() | src/shk.c |
| Called by: | make_happy_shk() | src/shk.c |
| References Variables: | level | src/decl.c |
| Prototyped in: | src/shk.c | |
| Calls: | add_one_tobill() | src/shk.c |
| bill_box_content() | src/shk.c | |
| Called by: | addtobill() | src/shk.c |
| bill_box_content() | src/shk.c | |
| Prototyped in: | src/shk.c | |
| Calls: | find_oid() | src/shk.c |
| o_on() | src/invent.c | |
| Called by: | doinvbill() | src/shk.c |
| dopay() | src/shk.c | |
| References Variables: | billobjs | src/decl.c |
| Prototyped in: | src/shk.c | |
| Calls: | angry_guards() | src/mon.c |
| makekops() | src/shk.c | |
| pline() | src/pline.c | |
| pline_The() | src/pline.c | |
| Called by: | u_left_shop() | src/shk.c |
| References Variables: | dnstair | src/decl.c |
| flags | src/decl.c | |
| mvitals | src/decl.c | |
| u | src/decl.c | |
| Prototyped in: | src/shk.c | |
| Called by: | dopay() | src/shk.c |
| Prototyped in: | src/shk.c | |
| Calls: | pline_The() | src/pline.c |
| Called by: | pay() | src/shk.c |
| pay_for_damage() | src/shk.c | |
| stolen_value() | src/shk.c | |
| Prototyped in: | src/shk.c | |
| Calls: | clear_unpaid() | src/shk.c |
| Called by: | clear_unpaid() | src/shk.c |
| setpaid() | src/shk.c | |
| Prototyped in: | src/shk.c | |
| Calls: | get_cost() | src/shk.c |
| inhishop() | src/shk.c | |
| Called by: | check_unpaid_usage() | src/shk.c |
| References Variables: | objects | src/objects.c |
| Prototyped in: | src/shk.c | |
| Calls: | Doname2() | src/objnam.c |
| You() | src/pline.c | |
| dealloc_obj() | src/mkobj.c | |
| doname() | src/objnam.c | |
| impossible() | src/pline.c | |
| obj_extract_self() | src/mkobj.c | |
| pay() | src/shk.c | |
| shk_names_obj() | src/shk.c | |
| verbalize() | src/pline.c | |
| xname() | src/objnam.c | |
| hidden_gold(), sprintf() | ||
| Called by: | dopay() | src/shk.c |
| References Variables: | u | src/decl.c |
| ynchars | src/decl.c | |
| windowprocs | ||
| Prototyped in: | src/shk.c | |
| Calls: | dropped_container() | src/shk.c |
| saleable() | ||
| Called by: | dropped_container() | src/shk.c |
| sellobj() | src/shk.c | |
| Prototyped in: | src/shk.c | |
| Called by: | get_cost() | src/shk.c |
| set_cost() | src/shk.c | |
| References Variables: | objects | src/objects.c |
| u | src/decl.c | |
| Prototyped in: | src/shk.c | |
| Calls: | Monnam() | src/do_name.c |
| addupbill() | src/shk.c | |
| dist2() | src/hacklib.c | |
| home_shk() | src/shk.c | |
| inhishop() | src/shk.c | |
| pacify_shk() | src/shk.c | |
| pline() | src/pline.c | |
| rn2() | src/rnd.c | |
| set_repo_loc() | src/shk.c | |
| setpaid() | src/shk.c | |
| shkname() | src/shk.c | |
| strncmp() | ||
| Called by: | paybill() | src/shk.c |
| References Variables: | flags | src/decl.c |
| invent | src/decl.c | |
| plname | src/decl.c | |
| u | src/decl.c | |
| viz_array | src/decl.c | |
| Prototyped in: | src/shk.c | |
| Calls: | dist2() | src/hacklib.c |
| mongone() | src/mon.c | |
| pline_The() | src/pline.c | |
| worm_known() | ||
| Called by: | home_shk() | src/shk.c |
| make_happy_shk() | src/shk.c | |
| References Variables: | flags | src/decl.c |
| level | src/decl.c | |
| mons | src/monst.c | |
| u | src/decl.c | |
| ublindf | src/decl.c | |
| viz_array | src/decl.c | |
| youmonst | src/decl.c | |
| Prototyped in: | src/shk.c | |
| Calls: | depth() | src/dungeon.c |
| makemon() | src/makemon.c | |
| rnd() | src/rnd.c | |
| abs(), enexto() | ||
| Called by: | call_kops() | src/shk.c |
| References Variables: | mons | src/monst.c |
| mvitals | src/decl.c | |
| u | src/decl.c | |
| Prototyped in: | src/shk.c | |
| Calls: | mon_nam() | src/do_name.c |
| s_suffix() | src/hacklib.c | |
| strcpy() | ||
| Called by: | shk_your() | src/shk.c |
| Prototyped in: | src/shk.c | |
| Called by: | inherits() | src/shk.c |
| make_happy_shk() | src/shk.c | |
| next_shkp() | src/shk.c | |
| pay_for_damage() | src/shk.c | |
| restshk() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| u_entered_shop() | src/shk.c | |
| Prototyped in: | src/shk.c | |
| Calls: | check_credit() | src/shk.c |
| Called by: | dopay() | src/shk.c |
| dopayobj() | src/shk.c | |
| sellobj() | src/shk.c | |
| References Variables: | flags | src/decl.c |
| u | src/decl.c | |
| Prototyped in: | src/shk.c | |
| Calls: | Norep() | src/pline.c |
| You_feel() | src/pline.c | |
| closed_door() | src/monmove.c | |
| in_rooms() | src/hack.c | |
| inside_shop() | src/shk.c | |
| picking_at() | src/lock.c | |
| pline() | src/pline.c | |
| pline_The() | src/pline.c | |
| repair_damage() | src/shk.c | |
| rn2() | src/rnd.c | |
| stop_occupation() | src/allmain.c | |
| free(), strchr(), strcpy() | ||
| Called by: | shk_move() | src/shk.c |
| shkgone() | src/shk.c | |
| References Variables: | flags | src/decl.c |
| level | src/decl.c | |
| u | src/decl.c | |
| viz_array | src/decl.c | |
| Prototyped in: | src/shk.c | |
| Called by: | hot_pursuit() | src/shk.c |
| next_shkp() | src/shk.c | |
| shk_move() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| shopdig() | src/shk.c | |
| Prototyped in: | src/shk.c | |
| Calls: | getprice() | src/shk.c |
| rn2() | src/rnd.c | |
| Called by: | contained_cost() | src/shk.c |
| sellobj() | src/shk.c | |
| References Variables: | objects | src/objects.c |
| u | src/decl.c | |
| uarm | src/decl.c | |
| uarmc | src/decl.c | |
| uarmh | src/decl.c | |
| uarmu | src/decl.c | |
| urole | src/role.c | |
| Prototyped in: | src/shk.c | |
| Calls: | sgn() | src/hacklib.c |
| Called by: | inherits() | src/shk.c |
| References Variables: | level | src/decl.c |
| repo_location | src/shk.c | |
| u | src/decl.c | |
| Prototyped in: | src/shk.c | |
| Calls: | clear_unpaid() | src/shk.c |
| dealloc_obj() | src/mkobj.c | |
| obj_extract_self() | src/mkobj.c | |
| Called by: | dopay() | src/shk.c |
| inherits() | src/shk.c | |
| make_angry_shk() | src/shk.c | |
| shkgone() | src/shk.c | |
| u_left_shop() | src/shk.c | |
| References Variables: | billobjs | src/decl.c |
| invent | src/decl.c | |
| level | src/decl.c | |
| migrating_mons | src/decl.c | |
| Prototyped in: | src/shk.c | |
| Calls: | rn2() | src/rnd.c |
| Called by: | price_quote() | src/shk.c |
| References Variables: | objects | src/objects.c |
| Prototyped in: | src/shk.c | |
| Calls: | You() | src/pline.c |
| discover_object() | src/o_init.c | |
| doname() | src/objnam.c | |
| highc() | src/hacklib.c | |
| pline() | src/pline.c | |
| saleable(), sprintf() | ||
| Called by: | dopayobj() | src/shk.c |
| sellobj() | src/shk.c | |
| References Variables: | objects | src/objects.c |
| Prototyped in: | src/shk.c | |
| Calls: | costly_spot() | src/shk.c |
| inside_shop() | src/shk.c | |
| s_suffix() | src/hacklib.c | |
| shkname() | src/shk.c | |
| shop_keeper() | src/shk.c | |
| get_obj_location(), strcpy() | ||
| Called by: | shk_your() | src/shk.c |
| Prototyped in: | src/shk.c | |
| Called by: | shopper_financial_report() | src/shk.c |
| Prototyped in: | src/shk.c | |
| Calls: | get_cost() | src/shk.c |
| stolen_container() | src/shk.c | |
| Called by: | stolen_container() | src/shk.c |
| stolen_value() | src/shk.c | |
| References Variables: | objects | src/objects.c |
| Prototyped in: | src/shk.c | |
| Calls: | add_to_billobjs() | src/shk.c |
| alloc() | src/alloc.c | |
| impossible() | src/pline.c | |
| onbill() | src/shk.c | |
| Called by: | sellobj() | src/shk.c |
| subfrombill() | src/shk.c | |
| References Variables: | flags | src/decl.c |