Alchemy
Loading...
Searching...
No Matches

shop.h File Reference

Shops, inns and the cursors used by their screens. More...

Go to the source code of this file.

Functions

s32 Battle_ApplyPresetItemsAndFlagsFar (s32 unused)
s32 Shop_RunFar (s32 row, s32 keeper_id)
s32 Shop_ConfirmActFar (s32 unitId)
s32 Inn_CheckInFar (s32 mode, s32 objectId)
void ShopCursor_AdvanceFar (struct ShopCursor *cursor)
void ShopCursor_MoveTowardTargetFar (struct ShopCursor *cursor)
void Shop_SetCursorFar (struct ShopCursor *cursor, s32 targetX, s32 targetY, s32 kind)
void ShopCursor_SetPositionImmediateFar (struct ShopCursor *cursor, s32 x, s32 y)
void Shop_FillSelectorFar (s32 count, s32 selector, u8 *base)
void Shop_SaveAndTintFieldPaletteFar (s32 layer)
void Shop_RestoreFieldPaletteFar (void)
s32 Shop_PickUnitItemFar (s32 *selected_unit, s32 *selectedItem)
void AudioCommand_WaitForStateByteClearFar (void)
void Inn_PlaySleepFar (s32 room_price)

Detailed Description

Shops, inns and the cursors used by their screens.

Far-call interfaces; their ordered jump stubs live in games/tbs/src/system/far_call/SHOP.S.

Definition in file shop.h.

Function Documentation

◆ Battle_ApplyPresetItemsAndFlagsFar()

s32 Battle_ApplyPresetItemsAndFlagsFar ( s32 unused)

◆ Shop_RunFar()

s32 Shop_RunFar ( s32 row,
s32 keeper_id )

Referenced by Shop_RunFar().

◆ Shop_ConfirmActFar()

s32 Shop_ConfirmActFar ( s32 unitId)

Referenced by Shop_ConfirmActFar().

◆ Inn_CheckInFar()

s32 Inn_CheckInFar ( s32 mode,
s32 objectId )

Referenced by Inn_CheckInFar().

◆ ShopCursor_AdvanceFar()

◆ ShopCursor_MoveTowardTargetFar()

void ShopCursor_MoveTowardTargetFar ( struct ShopCursor * cursor)

◆ Shop_SetCursorFar()

◆ ShopCursor_SetPositionImmediateFar()

void ShopCursor_SetPositionImmediateFar ( struct ShopCursor * cursor,
s32 x,
s32 y )

◆ Shop_FillSelectorFar()

void Shop_FillSelectorFar ( s32 count,
s32 selector,
u8 * base )

◆ Shop_SaveAndTintFieldPaletteFar()

◆ Shop_RestoreFieldPaletteFar()

◆ Shop_PickUnitItemFar()

s32 Shop_PickUnitItemFar ( s32 * selected_unit,
s32 * selectedItem )

◆ AudioCommand_WaitForStateByteClearFar()

void AudioCommand_WaitForStateByteClearFar ( void )

◆ Inn_PlaySleepFar()

void Inn_PlaySleepFar ( s32 room_price)

Referenced by Inn_PlaySleepFar().