umorna/source/menu.h

19 lines
596 B
C
Raw Normal View History

extern void menu_configure (void);
2023-12-20 06:52:13 -05:00
extern int define_menu_item (int menu, char * text, int icon, void (* action) (void));
2023-12-20 10:24:43 -05:00
extern int define_menu (int alpha);
extern void render_menu_item (int menu, int item, int x, int y);
extern void render_menu (int menu, int align, int x, int y);
extern int menu_count;
2023-12-20 10:24:43 -05:00
extern int menu_items [24];
extern int menu_show [24];
extern int menu_alpha [24];
2023-12-20 06:52:13 -05:00
extern char * menu_text [24] [24];
extern int menu_icon [24] [24];
extern void (* menu_action [24] [24]) (void);
2023-12-20 10:24:43 -05:00
extern int menu_traits, menu_skills, menu_values, menu_resources;