summaryrefslogtreecommitdiffhomepage
path: root/logic
AgeCommit message (Collapse)Author
2018-02-16[WIP] logic/pipeline: simplificationpipeline-work-20180216Stanislaw Halik
NEEDS TESTING. DO NOT COMMIT!!!
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
2017-10-20logic, spline: more spline work/fixesStanislaw Halik
- mapping window clamps are now value<max_clamp> in spline - clamp won't mess up saved spline content - clean up artifacts on spline widget
2017-10-20options, migration: simplifyStanislaw Halik
2017-10-20spline: allow switch pitch mapping max Y 90/180Stanislaw Halik
2017-10-20logic/main-settings: simplifyStanislaw Halik
2017-10-13whitespaceStanislaw Halik
2017-10-08logic: add extension supportStanislaw Halik
It's missing a dialog and testing.
2017-10-02logic: split extension handling to own fileStanislaw Halik
2017-09-30remove camel caseStanislaw Halik
2017-09-25logic: remove camel caseStanislaw Halik
2017-09-25api, logic: support "extensions" for pose transformStanislaw Halik
2017-09-23play with thread prioritiesStanislaw Halik
2017-07-24logic/shortcuts: fix signed vs unsigned comparisonStanislaw Halik
2017-07-24dinput: less boilerplateStanislaw Halik
2017-07-06logic/shortcuts: reformat etcStanislaw Halik
2017-07-06gui, logic: allow for binding Caps Lock and TabStanislaw Halik
Issue: #646
2017-06-18logic/tracker: fix sleep always for 0 msStanislaw Halik
On @mrSanchos' machine the `const_sleep_ms' variable was zero-initializer rather than set to the right value. Workaround this by dropping the `static' storage duration.
2017-06-18logic/tracker: wraparound degrees over 360Stanislaw Halik