What every part of the shop object shares: its includes, the shop actions and sanctum services, and the values that differ by edition. More...
Go to the source code of this file.
Macros | |
| #define | SHOP_CANNOT_REMOVE_STATUS(discardStatus, selectionResult) |
| #define | SHOP_CONFIRM_MENU_X 7 |
| #define | SHOP_PRICE_NUMBER_X 0x20 |
| #define | SHOP_PRICE_LABEL_X 0x48 |
| #define | SHOP_EMPTY_GRID_X 8 |
| #define | SHOP_EMPTY_GRID_Y 20 |
| #define | SHOP_MONEY_WINDOW_WIDTH 12 |
| #define | SHOP_DRAW_MESSAGE UiText_DrawCharacterAtOffsetFar |
| #define | SANCTUM_PRICE_WINDOW_X 1 |
| #define | SANCTUM_PRICE_WINDOW_WIDTH 23 |
| #define | SHOP_USE_WINDOW_X 14 |
| #define | SHOP_USE_WINDOW_WIDTH 16 |
| #define | SHOP_ITEM_NOTE_X 0 |
| #define | SHOP_QUANTITY_CURSOR_X 128 |
Enumerations | |
| enum | ShopAction { SHOP_ACTION_BUY , SHOP_ACTION_SELL , SHOP_ACTION_ARTIFACTS , SHOP_ACTION_REPAIR } |
| English menu entries 48..51 establish the four shop actions. More... | |
| enum | SanctumService { SANCTUM_SERVICE_REVIVE , SANCTUM_SERVICE_CURE_POISON , SANCTUM_SERVICE_EXORCISE , SANCTUM_SERVICE_REMOVE_CURSE } |
| These service kinds select the existing condition, fee and cure branches. More... | |
| enum | { SHOP_INVENTORY_COLUMNS = 5 , SHOP_STOCK_PAGE_ITEMS = 7 } |
What every part of the shop object shares: its includes, the shop actions and sanctum services, and the values that differ by edition.
shop.c includes it before the parts, and each part includes it too, so that a part read on its own still resolves.
Definition in file shop_internal.h.
| #define SHOP_CANNOT_REMOVE_STATUS | ( | discardStatus, | |
| selectionResult ) |
Definition at line 79 of file shop_internal.h.
Referenced by Shop_SelectUse().
| #define SHOP_CONFIRM_MENU_X 7 |
Definition at line 87 of file shop_internal.h.
Referenced by UiMessage_ShowChoice().
| #define SHOP_PRICE_NUMBER_X 0x20 |
Definition at line 97 of file shop_internal.h.
Referenced by Shop_DrawItemPrice().
| #define SHOP_PRICE_LABEL_X 0x48 |
Definition at line 98 of file shop_internal.h.
Referenced by Shop_DrawItemPrice().
| #define SHOP_EMPTY_GRID_X 8 |
Definition at line 105 of file shop_internal.h.
Referenced by Shop_DrawUnitGrid().
| #define SHOP_EMPTY_GRID_Y 20 |
Definition at line 106 of file shop_internal.h.
Referenced by Shop_DrawUnitGrid().
| #define SHOP_MONEY_WINDOW_WIDTH 12 |
Definition at line 110 of file shop_internal.h.
Referenced by Inn_CheckIn(), Shop_ConfirmAct(), and Shop_PickUnit().
| #define SHOP_DRAW_MESSAGE UiText_DrawCharacterAtOffsetFar |
Definition at line 111 of file shop_internal.h.
Referenced by Shop_DrawMsg().
| #define SANCTUM_PRICE_WINDOW_X 1 |
Definition at line 124 of file shop_internal.h.
Referenced by Sanctum_RunPartyService().
| #define SANCTUM_PRICE_WINDOW_WIDTH 23 |
Definition at line 125 of file shop_internal.h.
Referenced by Sanctum_RunPartyService().
| #define SHOP_USE_WINDOW_X 14 |
Definition at line 129 of file shop_internal.h.
Referenced by Shop_SelectUse().
| #define SHOP_USE_WINDOW_WIDTH 16 |
Definition at line 130 of file shop_internal.h.
Referenced by Shop_SelectUse().
| #define SHOP_ITEM_NOTE_X 0 |
Definition at line 139 of file shop_internal.h.
Referenced by Shop_DrawItemPrice(), and Shop_DrawUseItem().
| #define SHOP_QUANTITY_CURSOR_X 128 |
Definition at line 148 of file shop_internal.h.
Referenced by Shop_SelectBuyNum(), and Shop_SelectSellNum().
| enum ShopAction |
English menu entries 48..51 establish the four shop actions.
| Enumerator | |
|---|---|
| SHOP_ACTION_BUY | |
| SHOP_ACTION_SELL | |
| SHOP_ACTION_ARTIFACTS | |
| SHOP_ACTION_REPAIR | |
Definition at line 56 of file shop_internal.h.
| enum SanctumService |
These service kinds select the existing condition, fee and cure branches.
| Enumerator | |
|---|---|
| SANCTUM_SERVICE_REVIVE | |
| SANCTUM_SERVICE_CURE_POISON | |
| SANCTUM_SERVICE_EXORCISE | |
| SANCTUM_SERVICE_REMOVE_CURSE | |
Definition at line 64 of file shop_internal.h.
| anonymous enum |
| Enumerator | |
|---|---|
| SHOP_INVENTORY_COLUMNS | |
| SHOP_STOCK_PAGE_ITEMS | |
Definition at line 71 of file shop_internal.h.