-
Notifications
You must be signed in to change notification settings - Fork 7
/
menudef.txt
193 lines (141 loc) · 5.47 KB
/
menudef.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
// Entry Points ////////////////////////////////////////////////////////////////////////////////////
AddOptionMenu OptionsMenu { Submenu "$GB_OPTIONS", gb_Options }
AddOptionMenu OptionsMenuSimple { Submenu "$GB_OPTIONS", gb_Options }
// Menus ///////////////////////////////////////////////////////////////////////////////////////////
OptionMenu gb_Options
{
Title "$GB_OPTIONS"
StaticText ""
Option "$GB_VIEW_TYPE", gb_view_type, gb_ViewTypeValues
StaticText ""
StaticText "$GB_KEYSECTION", 1
Control "$GB_TOGGLE_WEAPON_MENU" , "+gb_toggle_weapon_menu"
Control "$GB_TOGGLE_INVENTORY_MENU" , "+gb_toggle_inventory_menu"
Control "$GB_PREV_WEAPON" , "gb_prev_weapon"
Control "$GB_ROTATE_WEAPON_PRIORITY", "gb_rotate_weapon_priority"
Control "$GB_ROTATE_WEAPON_SLOT" , "gb_rotate_weapon_slot"
StaticText ""
Submenu "$GB_BEHAVIOR_OPTIONS" , gb_BehaviorOptions
Submenu "$GB_UI_OPTIONS" , gb_UiOptions
Submenu "$GB_WHEEL_OPTIONS" , gb_WheelOptions
Submenu "$GB_BLOCKS_OPTIONS" , gb_BlocksOptions
Submenu "$GB_TEXT_OPTIONS" , gb_TextOptions
Submenu "$GB_ADVANCED_OPTIONS" , gb_AdvancedOptions
Submenu "$GB_GZDOOM_OPTIONS" , gb_GZDoomOptions
StaticText ""
SafeCommand "$GB_RESET" , gb_reset , "$GB_RESET_PROMPT"
SafeCommand "$GB_RESET_CUSTOM_ORDER" , gb_reset_custom_order , "$GB_RESET_CUSTOM_ORDER_PROMPT"
StaticText "$GB_RESET_CUSTOM_ORDER_NOTE", black
}
OptionMenu gb_BehaviorOptions
{
Title "$GB_BEHAVIOR_OPTIONS_TITLE"
Option "$GB_OPEN_ON_PREV_NEXT" , gb_open_on_scroll , OnOff
StaticText ""
Option "$GB_OPEN_ON_SLOT" , gb_open_on_slot , OnOff
Option "$GB_REVERSE_SLOT_CYCLE_ORDER" , gb_reverse_slot_cycle_order , OnOff
Option "$GB_SELECT_FIRST_SLOT_WEAPON" , gb_select_first_slot_weapon , OnOff
Option "$GB_NO_MENU_IF_ONE" , gb_no_menu_if_one , OnOff
StaticText ""
Option "$GB_SELECT_ON_KEY_UP" , gb_select_on_key_up , OnOff
Option "$GB_FREEZE_TIME" , gb_time_freeze , gb_FreezeValues
Option "$GB_ENABLE_ON_AUTOMAP" , gb_on_automap , OnOff
Option "$GB_LOCK_POSITION" , gb_lock_positions , OnOff
Option "$GB_FROZEN_CAN_OPEN" , gb_frozen_can_open , OnOff
}
OptionMenu gb_GZDoomOptions
{
Title "$GB_GZDOOM_OPTIONS_TITLE"
StaticText ""
Option "$SCALEMNU_HUDASPECT", hud_AspectScale, OnOff
StaticText "$GB_ASPECT_SCALE_NOTE", black
}
OptionMenu gb_UiOptions
{
Title "$GB_UI_OPTIONS_TITLE"
StaticText ""
ColorPicker "$GB_COLOR" , gb_color
Command "$GB_PLAYER_COLOR", gb_copy_player_color
StaticText ""
Option "$GB_SHOW_TAGS" , gb_show_tags , OnOff
StaticText ""
Option "$GB_DIM" , gb_enable_dim , OnOff
ColorPicker "$GB_DIM_COLOR" , gb_dim_color
Option "$GB_BLUR" , gb_enable_blur , OnOff
StaticText ""
Option "$GB_SOUND" , gb_enable_sounds , OnOff
Option "$GB_SOUNDPACK", gb_soundpack, gb_SoundpackValues, "gb_enable_sounds"
StaticText ""
Option "$GB_FONT" , gb_font , gb_FontValues
TextField "$GB_FONT_CUSTOM" , gb_font
}
OptionMenu gb_WheelOptions
{
Title "$GB_WHEEL_OPTIONS_TITLE"
StaticText ""
Slider "$GB_WHEEL_X" , gb_wheel_position , -1.5, 1.5, 0.1, 1
Slider "$GB_WHEEL_SCALE" , gb_wheel_scale , 0.1, 2, 0.1, 1
Option "$GB_WHEEL_TINT" , gb_wheel_tint , OnOff
StaticText ""
Option "$GB_MOUSE_IN_WHEEL" , gb_mouse_in_wheel , OnOff
Slider "$GB_MULTIWHEEL_LIMIT" , gb_multiwheel_limit , 3, 100, 1, 0
StaticText ""
StaticText "$GB_MOUSE_SENSITIVITY", 1
Slider "$GB_X", gb_mouse_sensitivity_x, 0.1, 5, 0.1, 1
Slider "$GB_Y", gb_mouse_sensitivity_y, 0.1, 5, 0.1, 1
}
OptionMenu gb_BlocksOptions
{
Title "$GB_BLOCKS_OPTIONS_TITLE"
StaticText ""
Slider "$GB_SCALE" , gb_scale, 1, 8, 1, 0
StaticText ""
StaticText "$GB_POSITION", 1
Slider "$GB_X" , gb_blocks_position_x, 0.0, 1.0, 0.01, 2
Slider "$GB_Y" , gb_blocks_position_y, 0.0, 1.0, 0.01, 2
}
OptionMenu gb_TextOptions
{
Title "$GB_TEXT_OPTIONS_TITLE"
StaticText ""
Slider "$GB_SCALE" , gb_text_scale, 1, 8, 1, 0
StaticText ""
StaticText "$GB_POSITION", 1
Slider "$GB_X" , gb_text_position_x , 0.0, 1.0, 0.01, 2
Slider "$GB_Y" , gb_text_position_y , 0.0, 1.0, 0.01, 2
Slider "$GB_Y_BOUNDARY" , gb_text_position_y_max , 0.0, 1.0, 0.01, 2
StaticText ""
Option "$GB_TEXT_USUAL_COLOR" , gb_text_usual_color , TextColors
Option "$GB_TEXT_SELECTED_COLOR" , gb_text_selected_color , TextColors
}
OptionMenu gb_AdvancedOptions
{
Title "$GB_ADVANCED_OPTIONS_TITLE"
StaticText ""
Option "$GB_VM_ABORT_INFO_ENABLED", gb_zabor_enabled, OnOff
}
// Option Values ///////////////////////////////////////////////////////////////////////////////////
OptionValue gb_ViewTypeValues
{
0, "$GB_BLOCKY_VIEW"
1, "$GB_WHEEL_VIEW"
2, "$GB_TEXT_VIEW"
}
OptionValue gb_SoundpackValues
{
0, "$GB_GEARBOX"
1, "$GB_PACK1"
}
OptionValue gb_FreezeValues
{
0, "$OPTVAL_OFF"
1, "$GB_LEVEL_AND_PLAYER"
2, "$GB_PLAYER"
}
OptionString gb_FontValues
{
"NewSmallFont" , "$GB_NEW_SMALL_FONT"
"SmallFont" , "$GB_OLD_SMALL_FONT"
"ConsoleFont" , "$GB_CONSOLE_FONT"
"BigFont" , "$GB_BIG_FONT"
}