Go to the source code of this file.
Enumerations | |
enum | PurchaseDialogState { PURCHASE_DIALOG_STATE_INIT = 0 , PURCHASE_DIALOG_STATE_NOT_ENOUGH_COINS = 1 , PURCHASE_DIALOG_STATE_NOT_ENOUGH_ROOM = 4 , PURCHASE_DIALOG_STATE_ACCEPTED = 5 , PURCHASE_DIALOG_STATE_CANCEL = 6 , PURCHASE_DIALOG_STATE_EXEC_CALLBACK = 10 , PURCHASE_DIALOG_STATE_AWAIT_CALLBACK = 11 , PURCHASE_DIALOG_STATE_WAIT_FOR_SPEECH = 100 } |
enum | { ITEM_POPUP_SELL = 0 , ITEM_POPUP_CHECK = 1 , ITEM_POPUP_CLAIM = 2 } |
Functions | |
void | create_shop_popup_menu (PopupMenu *popup) |
s32 | shop_get_sell_price (s32 itemID) |
s32 | shop_owner_begin_speech (s32 messageIndex) |
s32 | shop_owner_buy_dialog (s32 messageIndex, s32 itemName, s32 coinCost, s32 bpCost) |
s32 | shop_owner_continue_speech (s32 messageIndex) |
s32 | shop_owner_continue_speech_with_quantity (s32 messageIndex, s32 amount) |
s32 | shop_owner_reset_speech (s32 messageIndex) |
s32 | shop_owner_end_speech (void) |
void | shop_open_item_select_popup (s32 mode) |
s32 | shop_update_item_select_popup (s32 *selectedIndex) |
void | shop_close_item_select_popup (void) |
void | shop_draw_item_name (s32 arg0, s32 posX, s32 posY) |
void | shop_draw_item_desc (s32 arg0, s32 posX, s32 posY) |
void | draw_shop_items (void) |
enum PurchaseDialogState |
Definition at line 246 of file shops.c.
anonymous enum |
Enumerator | |
---|---|
ITEM_POPUP_SELL | |
ITEM_POPUP_CHECK | |
ITEM_POPUP_CLAIM |
void create_shop_popup_menu | ( | PopupMenu * | popup | ) |
Definition at line 2279 of file 8a860_len_3f30.c.
Referenced by shop_open_item_select_popup().
s32 shop_get_sell_price | ( | s32 | itemID | ) |
Definition at line 463 of file shops.c.
Referenced by shop_open_item_select_popup().
s32 shop_owner_begin_speech | ( | s32 | messageIndex | ) |
Definition at line 82 of file shops.c.
s32 shop_owner_buy_dialog | ( | s32 | messageIndex, |
s32 | itemName, | ||
s32 | coinCost, | ||
s32 | bpCost ) |
Definition at line 95 of file shops.c.
s32 shop_owner_continue_speech | ( | s32 | messageIndex | ) |
s32 shop_owner_continue_speech_with_quantity | ( | s32 | messageIndex, |
s32 | amount ) |
Definition at line 139 of file shops.c.
s32 shop_owner_reset_speech | ( | s32 | messageIndex | ) |
void shop_open_item_select_popup | ( | s32 | mode | ) |
Definition at line 382 of file shops.c.
s32 shop_update_item_select_popup | ( | s32 * | selectedIndex | ) |
Definition at line 436 of file shops.c.
void shop_close_item_select_popup | ( | void | ) |
void shop_draw_item_name | ( | s32 | arg0, |
s32 | posX, | ||
s32 | posY ) |
Definition at line 776 of file shops.c.
void shop_draw_item_desc | ( | s32 | arg0, |
s32 | posX, | ||
s32 | posY ) |
void draw_shop_items | ( | void | ) |
Definition at line 791 of file shops.c.
|
extern |
Definition at line 42 of file msg.c.
Referenced by shop_owner_buy_dialog(), and shop_owner_continue_speech_with_quantity().
|
extern |
Definition at line 48 of file msg.c.
Referenced by shop_owner_buy_dialog(), and shop_owner_continue_speech_with_quantity().
|
extern |
EvtScript EVS_ShopBeginSpeech |
Definition at line 23 of file shops.c.
Referenced by shop_owner_begin_speech(), and shop_owner_buy_dialog().
EvtScript EVS_ShopContinueSpeech |
Definition at line 29 of file shops.c.
Referenced by shop_owner_continue_speech(), and shop_owner_continue_speech_with_quantity().
EvtScript EVS_ShopResetSpeech |
Definition at line 35 of file shops.c.
Referenced by shop_owner_reset_speech().
EvtScript EVS_ShopEndSpeech |
EvtScript EVS_ShopItemInteract |
EvtScript EVS_ShopPurchaseDialog |