00001 #ifndef PLAYER_EQUIP_H 00002 #define PLAYER_EQUIP_H 00003 00004 // Any code that equips or melds items should go through these, to 00005 // make sure equip/unequip effects are done the right amount of 00006 // times, and to make sure melded flags don't get out of sync. 00007 00008 // XXX: the msg flag isn't implemented in all cases. 00009 void equip_item(equipment_type slot, int item_slot, bool msg=true); 00010 bool unequip_item(equipment_type slot, bool msg=true); 00011 bool meld_slot(equipment_type slot, bool msg=true); 00012 bool unmeld_slot(equipment_type slot, bool msg=true); 00013 00014 #endif