1 short get_prot_level(short pc_num
,short abil
) ;
2 void sort_pc_items(short pc_num
);
3 Boolean
give_to_pc(short pc_num
,item_record_type item
,short print_result
);
4 Boolean
give_to_party(item_record_type item
,short print_result
);
5 Boolean
forced_give(short item_num
,short abil
);
6 Boolean
GTP(short item_num
);
7 Boolean
silent_GTP(short item_num
);
8 void give_gold(short amount
,Boolean print_result
);
9 Boolean
take_gold(short amount
,Boolean print_result
);
10 short pc_has_abil_equip(short pc_num
,short abil
);
11 short pc_has_abil(short pc_num
,short abil
);
12 Boolean
party_has_abil(short abil
);
13 Boolean
party_take_abil(short abil
);
14 short item_weight(item_record_type item
);
15 short pc_carry_weight(short pc_num
);
16 short amount_pc_can_carry(short pc_num
);
17 void give_food(short amount
,Boolean print_result
);
18 short take_food(short amount
,Boolean print_result
);
19 short pc_has_space(short pc_num
);
20 short pc_ok_to_buy(short pc_num
,short cost
,item_record_type item
);
21 void take_item(short pc_num
,short which_item
);
22 void remove_charge(short pc_num
,short which_item
);
23 void enchant_weapon(short pc_num
,short item_hit
,short enchant_type
,short new_val
);
24 void equip_item(short pc_num
,short item_num
);
25 void drop_item(short pc_num
,short item_num
,location where_drop
);
26 Boolean
place_item(item_record_type item
,location where
,Boolean forced
);
27 void destroy_an_item();
28 void give_thing(short pc_num
, short item_num
);
29 void combine_things(short pc_num
);
30 short dist_from_party(location where
);
31 void set_item_flag(item_record_type
*item
);
32 short get_item(location place
,short pc_num
,Boolean check_container
);
33 void put_item_graphics();
35 void make_town_hostile();
36 void display_item_event_filter (short item_hit
);
37 short display_item(location from_loc
,short pc_num
,short mode
, Boolean check_container
);
38 void fancy_choice_dialog_event_filter (short item_hit
);
39 short fancy_choice_dialog(short which_dlog
,short parent
);
40 void select_pc_event_filter (short item_hit
);
41 short char_select_pc(short active_only
,short free_inv_only
,char *title
);
42 short select_pc(short active_only
,short free_inv_only
);
43 void get_num_of_items_event_filter (short item_hit
);
44 short get_num_of_items(short max_num
);
45 short choice_dialog(short pic
,short num
);
46 void create_modeless_dialog(short which_dlog
);
47 void make_cursor_watch() ;
48 void place_glands(location where
,unsigned char m_type
);
49 short party_total_level() ;
50 void reset_item_max();
51 short item_val(item_record_type item
);
52 void place_treasure(location where
,short level
,short loot
,short mode
);
54 item_record_type
return_treasure(short loot
,short level
,short mode
);
55 void frame_button(RECT button_rect
);
56 void refresh_store_items();
57 void get_text_response_event_filter (short item_hit
);
58 void get_text_response(short dlg
,char *str
,short parent_num
);
59 short custom_choice_dialog(char *strs
,short pic_num
,short buttons
[3]) ;
60 Boolean
party_check_class(short item_class
,short mode
);