comparison Player.h @ 1382:132a6a0d5cef

Player::AddItem2, Player::CreateItemInInventory2 cleanup
author Grumpy7
date Tue, 16 Jul 2013 00:20:17 +0200
parents b691c96d8e06
children 0a4254e80036
comparison
equal deleted inserted replaced
1375:270134611caf 1382:132a6a0d5cef
541 char GetLearningPercent(); 541 char GetLearningPercent();
542 bool CanFitItem(unsigned int uSlot, unsigned int uItemID); 542 bool CanFitItem(unsigned int uSlot, unsigned int uItemID);
543 int FindFreeInventorySlot(); 543 int FindFreeInventorySlot();
544 int CreateItemInInventory(unsigned int uSlot, unsigned int uItemID); 544 int CreateItemInInventory(unsigned int uSlot, unsigned int uItemID);
545 int HasSkill(unsigned int uSkillType); 545 int HasSkill(unsigned int uSkillType);
546 int WearItem(unsigned int uItemID); 546 void WearItem(unsigned int uItemID);
547 int AddItem(int uSlot, unsigned int uItemID); 547 int AddItem(int uSlot, unsigned int uItemID);
548 int AddItem2(int uSlot, ItemGen *Src); 548 int AddItem2(int uSlot, ItemGen *Src);
549 int CreateItemInInventory2(unsigned int uSlot, ItemGen *Src); 549 int CreateItemInInventory2(unsigned int uSlot, ItemGen *Src);
550 int PutItemArInventoryIndex(ItemGen *item, int item_id, int uSlot); 550 int PutItemArInventoryIndex(ItemGen *item, int item_id, int uSlot);
551 void RemoveItemAtInventoryIndex(unsigned int uSlot); 551 void RemoveItemAtInventoryIndex(unsigned int uSlot);