59885565d2586b240888a1254d09bfee0764b46d
[pcsx_rearmed.git] / frontend / menu.h
1 #ifndef __MENU_H__
2 #define __MENU_H__
3
4 void menu_init(void);
5 void menu_prepare_emu(void);
6 void menu_loop(void);
7 void menu_finish(void);
8
9 void menu_notify_mode_change(int w, int h, int bpp);
10 int  menu_load_cd_image(const char *fname);
11 int  menu_load_config(int is_game);
12
13 enum g_opts_opts {
14         OPT_SHOWFPS = 1 << 0,
15         OPT_SHOWCPU = 1 << 1,
16         OPT_NO_FRAMELIM = 1 << 2,
17         OPT_SHOWSPU = 1 << 3,
18         OPT_TSGUN_NOTRIGGER = 1 << 4,
19         OPT_VSYNC = 1 << 5,
20 };
21
22 enum g_scaler_opts {
23         SCALE_1_1,
24         SCALE_2_2,
25         SCALE_4_3,
26         SCALE_4_3v2,
27         SCALE_FULLSCREEN,
28         SCALE_CUSTOM,
29 };
30
31 enum g_soft_filter_opts {
32         SOFT_FILTER_NONE,
33         SOFT_FILTER_SCALE2X,
34         SOFT_FILTER_EAGLE2X,
35 };
36
37 extern int g_opts, g_scaler, g_gamma;
38 extern int scanlines, scanline_level;
39 extern int soft_scaling, analog_deadzone;
40 extern int soft_filter;
41
42 extern int g_menuscreen_w;
43 extern int g_menuscreen_h;
44
45 #endif /* __MENU_H__ */