![]() |
dsekai
World engine for retrocomputers.
|
Data Fields | |
| int8_t | menu_id |
| Currently open menu as an index in the MENU_TABLE. | |
| int8_t | highlight_id |
| Currently selected item. Managed by the callback of the menu indicated by MENU_STATE::menu_id. | |
| uint8_t | flags |
| Bitfield used to manage menu behavior. | |
| uint32_t | open_ms |
| graphics_get_ms() at which menu was last opened. | |
| int8_t | craft_item_ids [3] |
| int8_t | craft_mod_idx |
Related Symbols | |
(Note that these are not member symbols.) | |
| #define | MENU_FLAG_DIRTY 0x80 |
| MENU_STATE::flags indicating menu draw callback should be called again. | |
| #define | MENU_FLAG_ITEM_CRAFTABLE 0x40 |
| MENU_STATE::flags indicating item menu should only show craftable items and return to craft menu when item is selected. | |