mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
- Add option to reset controls to defaults.
This commit is contained in:
parent
73e6da259e
commit
efb3465921
2 changed files with 6 additions and 0 deletions
|
@ -1102,6 +1102,10 @@ CCMD(reset2saved)
|
|||
R_SetViewSize (screenblocks);
|
||||
}
|
||||
|
||||
CCMD(resetb2defaults)
|
||||
{
|
||||
C_SetDefaultBindings ();
|
||||
}
|
||||
|
||||
// This really should be in the script but we can't do scripted CCMDs yet.
|
||||
CCMD(undocolorpic)
|
||||
|
|
|
@ -489,6 +489,8 @@ OptionMenu "CustomizeControls" protected
|
|||
Submenu "$CNTRLMNU_OTHER" , "OtherControlsMenu"
|
||||
Submenu "$CNTRLMNU_POPUPS" , "StrifeControlsMenu"
|
||||
Submenu "$MAPCNTRLMNU_CONTROLS" , "MapControlsMenu"
|
||||
StaticText " "
|
||||
SafeCommand "$OPTMNU_DEFAULTS", "resetb2defaults"
|
||||
}
|
||||
|
||||
OptionMenu "ActionControlsMenu" protected
|
||||
|
|
Loading…
Reference in a new issue