fireemblem8u/include/bmshop.h
2023-02-12 02:40:38 -05:00

97 lines
3.1 KiB
C

#ifndef GUARD_BMSHOP_H
#define GUARD_BMSHOP_H
enum {
SHOP_TYPE_ARMORY = 0,
SHOP_TYPE_VENDOR = 1,
SHOP_TYPE_SECRET_SHOP = 2
};
// ??? ShopProc_GetPortraitIndex(???);
// ??? StartShopDialogue(???);
// ??? StartDefaultArmoryScreen(???);
void StartArmoryScreenOrphaned(struct Unit* unit, u16* shopItems);
void StartArmoryScreen(struct Unit* unit, u16* shopItems, ProcPtr parent);
void StartVendorScreenOrphaned(struct Unit* unit, u16* shopItems);
void StartVendorScreen(struct Unit* unit, u16* shopItems, ProcPtr parent);
void StartSecretShopScreenOrphaned(struct Unit* unit, u16* shopItems);
void StartSecretShopScreen(struct Unit* unit, u16* shopItems, ProcPtr parent);
// ??? StartArmoryScreen2(???);
// ??? StartShopScreen(???);
// ??? UpdateShopItemCounts(???);
// ??? sub_80B42E8(???);
// ??? sub_80B4308(???);
// ??? sub_80B4328(???);
// ??? ShopProc_EnterShopDialogue(???);
// ??? ShopProc_HandleEntryPrompt(???);
// ??? ShopProc_BuyDialogue(???);
// ??? sub_80B43BC(???);
// ??? sub_80B4418(???);
// ??? ShopProc_InitBuyState(???);
// ??? ShopProc_Loop_BuyKeyHandler(???);
// ??? ShopProc_HandleBuyConfirmPrompt(???);
// ??? ShopProc_TryAddItemToInventory(???);
// ??? ShopProc_HandleSendToConvoyPrompt(???);
// ??? ShopProc_NoSendToConvoyDialogue(???);
// ??? ShopProc_AddItemToConvoy(???);
// ??? ShopProc_SendToConvoyDialogue(???);
// ??? ShopProc_CheckIfConvoyFull(???);
// ??? ShopProc_ConvoyFullDialogue(???);
// ??? ShopProc_AnythingElseDialogue(???);
// ??? ShopProc_SellDialogue(???);
// ??? ShopProc_InitSellState(???);
// ??? ShopProc_Loop_SellKeyHandler(???);
// ??? ShopProc_HandleSellConfirmPrompt(???);
// ??? ShopProc_SellAnythingElseDialogue(???);
// ??? ShopProc_AnythingElseRestartDialogue(???);
// ??? ShopProc_AnythingElseContinueDialogue(???);
// ??? ShopProc_ExitShopDialogue(???);
// ??? ShopProc_OnExit(???);
// ??? ShopProc_EnterPrepScreenShopDialogue(???);
// ??? ShopProc_Loop_UnkKeyHandler(???);
// ??? StartShopFadeIn(???);
// ??? StartShopFadeOut(???);
// ??? ShopProc_Init(???);
void StartUiGoldBox(ProcPtr);
// ??? InitGoldBoxText(???);
// ??? sub_80B4EB4(???);
void DisplayGoldBoxText(u16* tm);
// ??? sub_80B4F04(???);
// ??? sub_80B4F90(???);
// ??? sub_80B5040(???);
// ??? sub_80B505C(???);
// ??? sub_80B50C8(???);
// ??? sub_80B5148(???);
// ??? sub_80B5164(???);
// ??? DrawShopItemLine(???);
// ??? GetItemPurchasePrice(???);
u16 GetItemSellPrice(int);
// ??? IsItemSellable(???);
// ??? GoldBox_OnLoop(???);
void sub_80B52CC(void);
// ??? sub_80B5378(???);
// ??? DisplayShopUiArrows(???);
void UnpackUiVArrowGfx(int, int);
void DisplayUiVArrow(int, int, u16, int);
// ??? HandleShopBuyAction(???);
// ??? sub_80B5498(???);
// ??? sub_80B5528(???);
// ??? sub_80B5534(???);
// ??? sub_80B557C(???);
// ??? sub_80B55AC(???);
// ??? sub_80B5604(???);
// ??? sub_80B568C(???);
// ??? sub_80B5698(???);
// ??? sub_80B56A8(???);
// ??? sub_80B56B4(???);
// ??? sub_80B56C0(???);
// ??? sub_80B56CC(???);
// ??? ShouldDisplayUpArrow(???);
// ??? ShouldDisplayDownArrow(???);
extern struct ProcCmd CONST_DATA gProcScr_Shop[];
extern struct ProcCmd CONST_DATA gProcScr_GoldBox[];
#endif // GUARD_BMSHOP_H