summaryrefslogtreecommitdiffhomepage
path: root/logic
AgeCommit message (Collapse)Author
2018-11-06fix clang build on linuxStanislaw Halik
2018-10-25cleanup onlyStanislaw Halik
- replace warn_unused_result with [[nodiscard]] - remove some redundant w_a_r - replace std::decay with remove_cvref_t - simplify compat/math.hpp
2018-10-25cleanups onlyStanislaw Halik
2018-10-12logic/modules: help debug more failure casesStanislaw Halik
2018-10-12tracker/pipeline: try help frame varianceStanislaw Halik
While we're keeping 250 Hz in the tracker pipeline, the frame variance isn't optimal, as per `backlog_time' values. Try a different magic number.
2018-10-12logic/pipeline: attempt adjust thread priorityStanislaw Halik
Calling QThread::setPriority twice in a succession means: 1. if you can, set high priority a) if not allowed, highest won't work either b) if allowed, see below 2. if you can, set highest priority a) if highest is allowed, happy happy joy joy b) if not, at least high priority is successful Note that we don't have any return value from QThread::setPriority().
2018-10-12logic/pipeline: cleanup onlyStanislaw Halik
2018-10-12logic/pipeline: fix duplicate d2rStanislaw Halik
2018-10-12variant/trackmouse: copy-paste from default on short noticeStanislaw Halik
2018-10-07fix GCC build errorsStanislaw Halik
Issue: #726
2018-10-05logic/pipeline: probably fix remaining bugsStanislaw Halik
2018-10-05silly busyworkStanislaw Halik
2018-08-25logic/pipeline: fix typename typoStanislaw Halik
2018-08-09busyworkStanislaw Halik
2018-08-04logic/pipeline: rotation order fixrevert-geometry-stuffStanislaw Halik
v2: fix comments v3: fix reltrans
2018-08-03irrelevant busyworkStanislaw Halik
2018-07-24add explicitStanislaw Halik
2018-07-14fix buildStanislaw Halik
2018-07-13appease analyzerStanislaw Halik
2018-07-08modernize onlyStanislaw Halik
2018-07-03logic/shortcuts: destructure binding; avoid captureStanislaw Halik
wrt capture: If a lambda-expression [...] captures a structured binding (explicitly or implicitly), the program is ill-formed. -- P0588R1, Core issue 2313 Also it's unnecessary to make the removed lambda.
2018-07-02nothing importantStanislaw Halik
2018-06-26modernize C++ syntaxStanislaw Halik
No visible changes (hopefully).
2018-06-26compat/macros: rename portability macrosStanislaw Halik
use `cc_xx' rather than awkward synonyms.
2018-06-26logic/pipeline: remove rest of scaled_rotationStanislaw Halik
2018-06-26core, modules: modernize syntax onlyStanislaw Halik
Use more C++17 features where this helps any.
2018-06-13logic/pipeline: fix atomic opsStanislaw Halik
No functional changes. Don't perform any atomic reads before compare-and-swap. The value read by CAS needs to go outside the loop. That's how CAS works.
2018-05-23logic/pipeline: disable neck Z if reltrans Z disabledStanislaw Halik
2018-05-23logic/pipeline: fix disable_dof orderStanislaw Halik
The actual order is (xyz, ypr). This was broken since forever. This February's refactor merely preserved the order of things.
2018-05-21logic/pipeline: don't enable center twiceStanislaw Halik
2018-05-05logic/pipeline: cleanup, use aggregate initStanislaw Halik
2018-05-05logic/pipeline: fix clang errorStanislaw Halik
2018-05-05logic/pipeline: skip filter when centeringStanislaw Halik
2018-05-05logic/pipeline: skip filter when hold orderedStanislaw Halik
Also fix faulty xor logic Issue: #777 Requested-by: @r8d
2018-05-05compat, logic/pipeline: add bitwise enum operatorsStanislaw Halik
2018-04-28settings: store untranslated chosen module namesStanislaw Halik
Now that we translate module names, they have to be stored as language-neutral in the config. - add tie_setting overload with from/to conversions - add logic to opentrack/main-window - add migration - remove actually useless tie_setting_traits
2018-04-05i18n: update stringsStanislaw Halik
2018-04-05i18n: provide for non-QObject classesStanislaw Halik
See compat/tr.hpp for comment.
2018-03-12logic/pipeline: adjust "reltrans not aiming"Stanislaw Halik
Add additional RC value for fast convergence.
2018-03-12logic/work: fix held center raceStanislaw Halik
2018-03-12logic/pipeline: fix logic errorStanislaw Halik
Change `reltrans_not_aiming' threshold values
2018-03-10logic/pipeline: cleanupStanislaw Halik
Also remove the license in header. It's stale.
2018-03-10logic/pipeline: implement held centerStanislaw Halik
Requested by: CAHEK on the Russian IL-2 Sturmovik forum
2018-03-10logic/pipeline: immediately move to center with reltransStanislaw Halik
2018-03-10logic/work: add final for non-virtual dtorStanislaw Halik
2018-03-10logic/pipeline: smoothen transition for reltrans not aimingStanislaw Halik
Requested by: HOPPING_PONY on the Russian IL-2 Sturmovik forum.
2018-03-10logic/pipeline: disable neck for `reltrans not aiming'Stanislaw Halik
2018-03-10logic/pipeline: loosen "reltrans when not aiming" limitStanislaw Halik
2018-03-04logic/pipeline: use `likely' equiv for MSVCStanislaw Halik
2018-03-04compat/macros: add function name macroStanislaw Halik