summaryrefslogtreecommitdiffhomepage
path: root/logic
AgeCommit message (Collapse)Author
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
2018-03-03logic/pipeline: centering fixStanislaw Halik
The `scaled_rotation' gimbal lock "fix" didn't take into account sign changes, making center close to +-180 useless. remove the "fix". This leaves with a gimbal lock problem at +-90 yaw. Fix in another commit.
2018-02-28logic, filter/kalman: fix typosStanislaw Halik
Tool: codespell
2018-02-16logic/pipeline: simplifyStanislaw Halik
The pipeline code is hard to understand for programmers due to the practice of putting all logic into a single function. Split it up into logical components. This needs more testing and bug reports. It's a big change with possibly many regressions all over the place. Issue: #688
2018-02-15clean up "static" and "constexpr" typesStanislaw Halik
- use `static constexpr inline' to avoid requiring explicit declarations in object code - use `const Foo* const' to maybe put into readonly binary segment (at least for ELF DSOs) - `constexpr' in function scope has storage, avoid `static' - don't use `constexpr' where there's no advantage, like arrays We'd like to avoid overhead of atomic initialization for each function call. No idea how `static constexpr' requiring storage in the standard plays with atomic initialization requirement. Hearsay points that `constexpr' without `static' in block scope behaves more to our liking. It's all hazy though. I'm not 100% sure if `static inline constexpr' has any storage. Hopefully none, like a #define, and stuff bigger than registers gets coalesced within the same module, with small stuff being immediates.
2018-02-12cmake: add zh_CNStanislaw Halik
cf. #746
2018-02-09update translation source files -- #743Stanislaw Halik
2018-02-05logic/pipeline: adjust after nan.hpp removalStanislaw Halik
2018-02-05logic/pipeline: enlarge aiming-reltrans limitsStanislaw Halik
2018-01-26CLion pedantryStanislaw Halik
Fix few of the inspection warnings from CLion that make any sense at all.
2018-01-18logic/pipeline: set limits more sensiblyStanislaw Halik
We must keep a certain leeway here for people aiming in WW2 sims.
2018-01-18logic: change relative translation triggeringStanislaw Halik
Relative translation mode now has three states: - disabled - always enabled - enabled when not aiming In the third mode, looking very close to center disables reltrans. The exact values aren't final.
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2018-01-18fix -Wall -Wextra -WpedanticStanislaw Halik
2018-01-17compat: get rid of string literal operatorStanislaw Halik
2018-01-16cleanupStanislaw Halik
2018-01-16add missing copyright statementStanislaw Halik
2018-01-16logic/mappings: fix silly ctorStanislaw Halik
2018-01-16logic: get rid of extension logspamStanislaw Halik
2018-01-16logic, spline: get rid of using namespace in headerStanislaw Halik
2018-01-10many: get rid of trailing type specifiersStanislaw Halik
2018-01-10many: spring cleanupStanislaw Halik
2018-01-10logic, cv: fix header namespace pollutionStanislaw Halik
We've had "using namespace options;" in headers for a while now.
2018-01-10logic/pipeline: conditionalizeStanislaw Halik
Will activate only when looking down or backward. When activating or deactivating, will slowly slide into the new position, no instant movement involved. Issue: #712
2018-01-03logic/pipeline: simplify NaN check control flowStanislaw Halik
2017-12-29logic/pipeline: don't emit data on disabled axisStanislaw Halik
Issue: #707
2017-12-26compat: use gettext convention for tr()Stanislaw Halik
2017-12-18compat, x-plane: get rid of attribute unused macroStanislaw Halik
2017-12-18plugins: rename check_status -> initializeStanislaw Halik
It's a contract for plugin invocation that the particular function fills the role of initialization. Rename accordingly.
2017-12-09many: use otr_tr for non-qobject translationStanislaw Halik
I haven't even compile-tested Linux and OSX-specific bits.
2017-12-04api: add status check for modulesStanislaw Halik
2017-12-02logic: remove center_method settingStanislaw Halik
2017-11-02logic/shortcuts: fix buildStanislaw Halik
2017-10-27logic: use c++14-style in-line initializersStanislaw Halik
2017-10-21logic/tracker: rename to pipelineStanislaw Halik
Could use a better name.
2017-10-20options/scoped: use raiiStanislaw Halik