- 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
18 lines
711 B
C
18 lines
711 B
C
cItemRec get_stored_item(short which);
|
|
cItemRec get_food();
|
|
cItemRec get_weapon(short loot);
|
|
cItemRec get_armor(short loot);
|
|
cItemRec get_helm(short loot);
|
|
cItemRec get_gloves(short loot);
|
|
cItemRec get_boots(short loot);
|
|
cItemRec get_shield(short loot);
|
|
cItemRec get_potion(short loot);
|
|
cItemRec get_scroll(short loot);
|
|
cItemRec get_missile(short loot);
|
|
cItemRec get_poison(short loot);
|
|
cItemRec get_wand(short loot);
|
|
cItemRec get_ring(short loot);
|
|
cItemRec get_necklace(short loot);
|
|
//item_record_type convert_item (short_item_record_type s_item);
|
|
cItemRec pull_item_of_type(unsigned int loot_max,short min_val,short max_val,eItemType t1, eItemType t2 = eItemType::NO_ITEM, eItemType t3 = eItemType::NO_ITEM);
|