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.
| Field | Declared as | |
|---|---|---|
padding000 | u8 padding000[0x0c] | |
window | struct UiWindow *window | the coins window: ShopRuntime's moneyWindow |
padding010 | u8 padding010[0x380] | |
resourceEntries | u16 resourceEntries[6] | ShopRuntime's six cursor icon slots; not named by TBS code. |
padding39c | u8 padding39c[8] | |
resourceId | u16 resourceId | The innkeeper's animation, which picks the portrait: ShopRuntime's keeperResource. |
padding3a6 | u8 padding3a6[3] | |
active | u8 active | ShopRuntime's shopType; the inn sets 1 when checking in |
padding3aa | u8 padding3aa[2] | |
specialActive | u8 specialActive | ShopRuntime's warriorShop; the inn sets 1 for inn 5. |
Used by Inn_CheckIn.