Alchemy
Loading...
Searching...
No Matches

shop.h

Go to the documentation of this file.
1/// @file
2/// Shops, inns and the cursors used by their screens.
3/// Far-call interfaces; their ordered jump stubs live in
4/// games/tbs/src/system/far_call/SHOP.S.
5
7s32 Shop_RunFar(s32 row, s32 keeper_id);
9s32 Inn_CheckInFar(s32 mode, s32 objectId);
10void ShopCursor_AdvanceFar(struct ShopCursor *cursor);
12void Shop_SetCursorFar(struct ShopCursor *cursor, s32 targetX, s32 targetY,
13 s32 kind);
15 s32 y);
16void Shop_FillSelectorFar(s32 count, s32 selector, u8 *base);
19s32 Shop_PickUnitItemFar(s32 *selected_unit, s32 *selectedItem);
21void Inn_PlaySleepFar(s32 room_price);
void Shop_SetCursorFar(struct ShopCursor *cursor, s32 targetX, s32 targetY, s32 kind)
s32 Shop_ConfirmActFar(s32 unitId)
void ShopCursor_SetPositionImmediateFar(struct ShopCursor *cursor, s32 x, s32 y)
void Inn_PlaySleepFar(s32 room_price)
void Shop_RestoreFieldPaletteFar(void)
void ShopCursor_AdvanceFar(struct ShopCursor *cursor)
s32 Shop_PickUnitItemFar(s32 *selected_unit, s32 *selectedItem)
void ShopCursor_MoveTowardTargetFar(struct ShopCursor *cursor)
void AudioCommand_WaitForStateByteClearFar(void)
void Shop_SaveAndTintFieldPaletteFar(s32 layer)
s32 Battle_ApplyPresetItemsAndFlagsFar(s32 unused)
void Shop_FillSelectorFar(s32 count, s32 selector, u8 *base)
s32 Inn_CheckInFar(s32 mode, s32 objectId)
s32 Shop_RunFar(s32 row, s32 keeper_id)
Cursor that approaches its target, shared by shop, name entry and settings.
Definition cursor.h:13
signed int s32
Definition types.h:14
unsigned char u8
Definition types.h:11