mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
pedantic: fix m_menu.c
This commit is contained in:
parent
5ba4231b9d
commit
a6ec9faf93
2 changed files with 482 additions and 483 deletions
962
src/m_menu.c
962
src/m_menu.c
File diff suppressed because it is too large
Load diff
|
|
@ -315,6 +315,7 @@ typedef union
|
|||
struct menu_s *submenu; // IT_SUBMENU
|
||||
consvar_t *cvar; // IT_CVAR
|
||||
void (*routine)(INT32 choice); // IT_CALL, IT_KEYHANDLER, IT_ARROWS
|
||||
void (*eventhandler)(event_t *ev); // MM_EVENTHANDLER
|
||||
} itemaction_t;
|
||||
|
||||
//
|
||||
|
|
@ -329,7 +330,7 @@ typedef struct menuitem_s
|
|||
const char *text; // used when FONTBxx lump is found
|
||||
|
||||
// FIXME: should be itemaction_t
|
||||
void *itemaction;
|
||||
itemaction_t itemaction;
|
||||
|
||||
// hotkey in menu or y of the item
|
||||
UINT16 alphaKey;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue