- Warnings completely suppressed for the included TinyXML and gzstream libraries - Parentheses warnings are now errors, since there were several that looked like bugs - Ditto for dangling else warnings Some of these warnings were actually bugs: - Town wandering monsters would have never spawned, because the code to do so was accidentally nested within a check for overall_mode == MODE_OUTDOORS ---> boe.monster.cpp, lines 105-137 - Monster's behaviour with respect to elemental fields did not correctly depend on their immunities (this is the same precedence issue Sylae messed up fixing in the Windows code) ---> boe.monsters.cpp, lines 345-359 - Display of damage blocked by armour appeared to be incorrect (needs verification) ---> boe.newgraph.cpp, line 1079 - Three-choice dialogs probably weren't dealing with unusual button types correctly, though that's a minor point since they aren't expected to use such buttons
15 lines
558 B
C
15 lines
558 B
C
|
|
|
|
bool give_to_pc(short pc_num,cItemRec item, short print_result);
|
|
bool give_to_party(cItemRec item,short print_result);
|
|
void give_gold(short amount,bool print_result);
|
|
bool take_gold(short amount,bool print_result);
|
|
short pc_has_space(short pc_num);
|
|
void take_item(short pc_num,short which_item);
|
|
short char_select_pc(short active_only,short free_inv_only,const char *title);
|
|
short select_pc(short active_only,short free_inv_only);
|
|
void give_spec_items();
|
|
void pick_race_abil(cPlayer *pc,short mode);
|
|
void reset_boats();
|
|
void combine_things(short pc_num);
|