mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
Clean up the leftovers of converting the controls menu.
The bindings menu is still inaccessible, though.
This commit is contained in:
parent
15fc325136
commit
98f5f84ca3
1 changed files with 1 additions and 46 deletions
|
@ -55,16 +55,8 @@
|
||||||
|
|
||||||
Group *video_options;
|
Group *video_options;
|
||||||
Group *audio_options;
|
Group *audio_options;
|
||||||
Group *feature_options;
|
|
||||||
|
|
||||||
Group *control_options;
|
Group *control_options;
|
||||||
CvarToggleView *grab_mouse_view;
|
Group *feature_options;
|
||||||
CvarToggleView *invert_mouse_view;
|
|
||||||
CvarToggleView *autorun_view;
|
|
||||||
CvarToggleView *freelook_view;
|
|
||||||
CvarToggleView *lookspring_view;
|
|
||||||
CvarToggleView *lookstrafe_view;
|
|
||||||
CvarRangeView *mouse_amp_view;
|
|
||||||
|
|
||||||
Group *player_options;
|
Group *player_options;
|
||||||
InputLine *player_config_plname_il;
|
InputLine *player_config_plname_il;
|
||||||
|
@ -199,43 +191,6 @@ MENU_audio_options (PLItem *plist)
|
||||||
* Control setting code
|
* Control setting code
|
||||||
************************/
|
************************/
|
||||||
|
|
||||||
/*
|
|
||||||
CB_control_options
|
|
||||||
|
|
||||||
Callback for control options
|
|
||||||
*/
|
|
||||||
integer (string text, integer key)
|
|
||||||
CB_control_options =
|
|
||||||
{
|
|
||||||
switch (text) {
|
|
||||||
case "in_grab":
|
|
||||||
[grab_mouse_view toggle];
|
|
||||||
break;
|
|
||||||
case "autorun":
|
|
||||||
[autorun_view toggle];
|
|
||||||
break;
|
|
||||||
case "freelook":
|
|
||||||
[freelook_view toggle];
|
|
||||||
break;
|
|
||||||
case "lookspring":
|
|
||||||
[lookspring_view toggle];
|
|
||||||
break;
|
|
||||||
case "lookstrafe":
|
|
||||||
[lookstrafe_view toggle];
|
|
||||||
break;
|
|
||||||
case "m_pitch":
|
|
||||||
[invert_mouse_view toggle];
|
|
||||||
break;
|
|
||||||
case "mouseamp":
|
|
||||||
if (key == QFK_RIGHT)
|
|
||||||
[mouse_amp_view inc];
|
|
||||||
else if (key == QFK_LEFT)
|
|
||||||
[mouse_amp_view dec];
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DRAW_control_options
|
DRAW_control_options
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue