Alchemy

inn_runtime.h

games/tbs/include/inn_runtime.h on GitHub

Structures

InnRuntimeState

struct InnRuntimeState

An inn's work, in the menu work: the coins window and the innkeeper's portrait.

FieldDeclared as
padding000u8 padding000[0x0c]
windowstruct UiWindow *windowthe coins window: ShopRuntime's moneyWindow
padding010u8 padding010[0x380]
resourceEntriesu16 resourceEntries[6]ShopRuntime's six cursor icon slots; not named by TBS code.
padding39cu8 padding39c[8]
resourceIdu16 resourceIdThe innkeeper's animation, which picks the portrait: ShopRuntime's keeperResource.
padding3a6u8 padding3a6[3]
activeu8 activeShopRuntime's shopType; the inn sets 1 when checking in
padding3aau8 padding3aa[2]
specialActiveu8 specialActiveShopRuntime's warriorShop; the inn sets 1 for inn 5.

Used by Inn_CheckIn.

Line 13

On this page