src/shop
Guide: Shops, Sanctums & Inns
Files
| File | Description |
|---|---|
shop.c | The shop object: every counter the party trades at. |
shop_buy.c | Buying: the stock list, the money and party windows, quantities and prices. |
shop_cursor.c | The shop's quantity bar and price sprites, the field's colours tinted and restored (the Sanctum's healing, a Djinni joining the party), and the hand cursor's glides. |
shop_inn.c | The inn: room prices, checking in and the night's sleep. |
shop_internal.h | What every part of the shop object shares: its includes, the shop actions and sanctum services, and the values that differ by edition. |
shop_item_picker.c | The item picker: which party member's item to drop when every pack is full. |
shop_repair.c | Repairing broken items. |
shop_run.c | Running a shop, its cursor state, and the message helpers every counter uses. |
shop_sanctum.c | A Sanctum: its healer's services, their donations, and the burst of sparkles as one is given. |
shop_sell.c | Selling: choosing a party member, the item grid and the sale. |
shop_stock.c | The Game Ticket counter, the gift items and every shop's stock. |
shop_tables.c | The shop's tables: the quantity bar's and the price digits' tile offsets, the Game Ticket costs, the gift items, every shop's stock, the sanctum's tunes and the inns' prices. |