summaryrefslogtreecommitdiff
path: root/include/item.h
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-11-02 16:37:00 -0700
committerGitHub <noreply@github.com>2021-11-02 16:37:00 -0700
commite29e61a4a1de2dff8ac4b7d0469794ba9ddf48f8 (patch)
treeaa9bf96f0d1d91f06220e670b660f5fcf829b945 /include/item.h
parentf99f00b180561afeeb4b9c9918135c2db607fd52 (diff)
parent3a1db3dfac99d017b592afa4e7e3fc7325e060cc (diff)
Merge pull request #68 from SethBarberee/sese_work
Moves and some friend_area_action_menu
Diffstat (limited to 'include/item.h')
-rw-r--r--include/item.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/include/item.h b/include/item.h
index 5f921e4..e73bafd 100644
--- a/include/item.h
+++ b/include/item.h
@@ -66,8 +66,16 @@ enum ItemFlag
void LoadItemParameters(void);
struct TeamInventory *GetMoneyItemsInfo(void);
void InitializeMoneyItems(void);
+s32 GetNumberOfFilledInventorySlots(void);
+bool8 IsThrowableItem(u8 itemIndex);
+void xxx_init_itemslot_8090A8C(struct ItemSlot *param_1,u8 itemIndex,u8 param_3);
+void xxx_init_helditem_8090B08(struct HeldItem *param_1,u8 itemIndex);
+void HeldItemToSlot(struct ItemSlot *param_1, struct HeldItem *param_2);
+void SlotToHeldItem(struct HeldItem *held,struct ItemSlot *slot);
u8 GetItemType(u8 index);
+s32 GetStackBuyValue(struct ItemSlot *param_1);
s32 GetStackSellValue(struct ItemSlot *param_1);
+s32 GetStackBuyPrice(struct ItemSlot *param_1);
s32 GetStackSellPrice(struct ItemSlot *param_1);
s32 GetItemBuyPrice(u8 itemIndex);
s32 GetItemSellPrice(u8 itemIndex);
@@ -77,12 +85,8 @@ u8 GetItemCategory(u8 itemIndex);
u32 GetItemUnkThrow(u8 itemIndex, u32 r1);
u8 *GetItemDescription(u8 itemIndex);
u32 GetItemAIFlags(u8 itemIndex, u32 r1);
-s32 GetNumberOfFilledInventorySlots(void);
-bool8 IsThrowableItem(u8 itemIndex);
-void xxx_init_itemslot_8090A8C(struct ItemSlot *param_1,u8 itemIndex,u8 param_3);
-void xxx_init_helditem_8090B08(struct HeldItem *param_1,u8 itemIndex);
-void HeldItemToSlot(struct ItemSlot *param_1, struct HeldItem *param_2);
void sub_8090DC4(void* param_1,u8 itemIndex, struct unkStruct_8090F58* param_3);
+void sub_8090E14(u8* ext_buffer, struct ItemSlot* slot, struct unkStruct_8090F58* a3);
bool8 AddItemToInventory(const struct ItemSlot* slot);
void ConvertMoneyItemToMoney();
void AddToTeamMoney(s32 amount);
@@ -97,8 +101,11 @@ s32 xxx_count_inv_unk230();
u32 xxx_count_non_empty_inv_unk250_8091A48();
void sub_8091BB4(u8);
void sub_8090F58(void*, u8 *, struct ItemSlot *, struct unkStruct_8090F58*);
-void sub_8090E14(u8* ext_buffer, struct ItemSlot* slot, struct unkStruct_8090F58* a3);
-void SlotToHeldItem(struct HeldItem *held,struct ItemSlot *slot);
+void ShiftItemsDownFrom(s32 start);
+void MoveToStorage(struct ItemSlot* slot);
+void FillInventoryGaps();
+bool8 sub_8091274(struct HeldItem* slot);
+
void RestoreHeldItem(struct unkStruct_8094924*, struct HeldItem*);
void SaveHeldItem(struct unkStruct_8094924*, struct HeldItem*);