Polishing things, full IO for loading/saving of config files, factorization, ...
[open-ps2-loader.git] / include / dialogs.h
blob69a9fd4f084ac88ec2e73aee2588fd5fe24ace41
1 #ifndef __DIALOGS_H
2 #define __DIALOGS_H
4 #include "include/dia.h"
6 #define COMPAT_MODE_COUNT 8
8 #define COMPAT_MODE_BASE 200
9 #define COMPAT_ALTSTARTUP 100
10 #define COMPAT_GAME 101
11 #define COMPAT_GAMEID 102
12 #define COMPAT_SAVE 103
13 #define COMPAT_TEST 104
14 #define COMPAT_REMOVE 105
15 #define COMPAT_NOEXIT 0x70000000
16 #define COMPAT_LOADFROMDISC (106 | COMPAT_NOEXIT)
17 #ifdef VMC
18 #define COMPAT_VMC1_ACTION (107 | COMPAT_NOEXIT)
19 #define COMPAT_VMC2_ACTION (108 | COMPAT_NOEXIT)
20 #define COMPAT_VMC1_DEFINE (109 | COMPAT_NOEXIT)
21 #define COMPAT_VMC2_DEFINE (110 | COMPAT_NOEXIT)
23 #define VMC_NAME 111
24 #define VMC_SIZE 112
25 #define VMC_BUTTON_CREATE 113
26 #define VMC_BUTTON_DELETE 114
27 #define VMC_STATUS 115
28 #define VMC_PROGRESS 116
29 #define VMC_REFRESH 117
30 #endif
32 #define UICFG_THEME 10
33 #define UICFG_LANG 11
34 #define UICFG_SCROLL 12
35 #define UICFG_BGCOL 13
36 #define UICFG_UICOL 14
37 #define UICFG_TXTCOL 15
38 #define UICFG_SELCOL 16
39 #define UICFG_AUTOSORT 17
40 #define UICFG_COVERART 18
41 #define UICFG_WIDESCREEN 19
42 #define UICFG_AUTOREFRESH 20
43 #define UICFG_VMODE 21
44 #define UICFG_VSYNC 22
45 #define UICFG_INFOPAGE 23
47 #define CFG_EXITTO 30
48 #define CFG_DEFDEVICE 31
49 #define CFG_DEBUG 32
50 #define CFG_USBMODE 33
51 #define CFG_HDDMODE 34
52 #define CFG_ETHMODE 35
53 #define CFG_APPMODE 36
54 #define CFG_CHECKUSBFRAG 37
55 #define CFG_LASTPLAYED 38
56 #define CFG_DANDROP 39
57 #define CFG_USBDELAY 40
58 #define CFG_USBPREFIX 41
59 #define CFG_HDDSPINDOWN 42
61 extern struct UIItem diaIPConfig[];
62 extern struct UIItem diaCompatConfig[];
63 extern struct UIItem diaUIConfig[];
64 extern struct UIItem diaConfig[];
65 extern struct UIItem diaAbout[];
66 #ifdef VMC
67 extern struct UIItem diaVMC[];
68 #endif
70 #endif