--- uae/src/include/uae.h 2018/04/24 16:39:18 1.1 +++ uae/src/include/uae.h 2018/04/24 16:40:11 1.1.1.2 @@ -1,8 +1,8 @@ /* * UAE - The Un*x Amiga Emulator - * + * * Prototypes for main.c - * + * * Copyright 1996 Bernd Schmidt */ @@ -11,10 +11,32 @@ extern void do_leave_program(void); extern void start_program(void); extern void leave_program(void); extern void real_main(int, char **); -extern void target_specific_usage(void); extern void usage(void); extern void parse_cmdline(int argc, char **argv); /* Contains the filename of .uaerc */ extern char optionsfile[]; +extern void save_options(FILE *); +extern void uae_reset(void); +extern void uae_quit(void); + +extern int quit_program; + +extern char warning_buffer[256]; + +/* This structure is used to define menus. The val field can hold key + * shortcuts, or one of these special codes: + * -4: deleted entry, not displayed, not selectable, but does count in + * select value + * -3: end of table + * -2: line that is displayed, but not selectable + * -1: line that is selectable, but has no keyboard shortcut + * 0: Menu title + */ +struct bstring { + const char *data; + int val; +}; + +extern char *colormodes[];