diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-09 12:33:15 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-09 12:33:15 +0100 |
commit | 1122994bfa7a1ea61d3e8bcc262b21954aca2fdd (patch) | |
tree | dee006d06b81709a8d40781a633bbeb883f8cbea /gui/options-dialog.cpp | |
parent | 4442c953c05b0b1d240b088e0c6a3c4afdcdccf6 (diff) |
gui, logic: add neck displacement feature
With it enabled, user's neck will be treated as separate from the rotation
pivot. Rotating to the left will reposition to the left in addition to the
rotation, and so on.
This feature is subtle but apparently very popular with DCS users.
Diffstat (limited to 'gui/options-dialog.cpp')
-rw-r--r-- | gui/options-dialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp index bafddb57..8190b0f7 100644 --- a/gui/options-dialog.cpp +++ b/gui/options-dialog.cpp @@ -59,6 +59,9 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) : tie_setting(main.tcomp_disable_src_pitch, ui.tcomp_src_pitch_disable); tie_setting(main.tcomp_disable_src_roll, ui.tcomp_src_roll_disable); + tie_setting(main.neck_y, ui.neck_y); + tie_setting(main.neck_z, ui.neck_z); + tie_setting(main.a_x.zero, ui.pos_tx); tie_setting(main.a_y.zero, ui.pos_ty); tie_setting(main.a_z.zero, ui.pos_tz); |