Searched refs:ubSlotLimit (Results 1 – 2 of 2) sorted by relevance
838 UINT8 ubNumberToDrop, ubSlotLimit, ubLoop; in PlaceObjectInInventoryStash() local842 ubSlotLimit = GCM->getItem(pItemPtr -> usItem)->getPerPocket(); in PlaceObjectInInventoryStash()849 if (ubNumberToDrop > ubSlotLimit && ubSlotLimit != 0) in PlaceObjectInInventoryStash()852 ubNumberToDrop = ubSlotLimit; in PlaceObjectInInventoryStash()890 else if (ubSlotLimit < 2) in PlaceObjectInInventoryStash()898 if( ubNumberToDrop > ubSlotLimit - pInventorySlot -> ubNumberOfObjects ) in PlaceObjectInInventoryStash()900 ubNumberToDrop = ubSlotLimit - pInventorySlot -> ubNumberOfObjects; in PlaceObjectInInventoryStash()918 UINT8 ubNumberToDrop, ubSlotLimit, ubLoop; in AutoPlaceObjectInInventoryStash() local928 ubSlotLimit = ItemSlotLimit( pItemPtr->usItem, BIGPOCK1POS ); in AutoPlaceObjectInInventoryStash()930 if (ubNumberToDrop > ubSlotLimit && ubSlotLimit != 0) in AutoPlaceObjectInInventoryStash()[all …]
305 UINT8 ubSlotLimit; in ItemSlotLimit() local313 ubSlotLimit = GCM->getItem(usItem)->getPerPocket(); in ItemSlotLimit()314 if (bSlot >= SMALLPOCK1POS && ubSlotLimit > 1) in ItemSlotLimit()316 ubSlotLimit /= 2; in ItemSlotLimit()318 return( ubSlotLimit ); in ItemSlotLimit()1779 UINT8 ubSlotLimit; in CanItemFitInPosition() local1861 if (ubSlotLimit == 0 && bPos >= SMALLPOCK1POS ) in CanItemFitInPosition()1903 UINT8 ubSlotLimit, ubNumberToDrop, ubLoop; in PlaceObject() local1949 if (ubNumberToDrop > __max( ubSlotLimit, 1 ) ) in PlaceObject()1952 ubNumberToDrop = __max( ubSlotLimit, 1 ); in PlaceObject()[all …]