summaryrefslogtreecommitdiffhomepage
path: root/logic
AgeCommit message (Collapse)Author
2016-11-03move simple-mat from logic to compat to simplify dependenciesStanislaw Halik
2016-11-03logic/tracker, dinput, tracker/joystick: fix rounding errorsStanislaw Halik
Issue: #487 Reported-by: @H-Bear-22 Closes #487 Also use a power of two for joy_axis_size. Floats are base 2. axis_max in tracker/joystick had a fencepost error.
2016-10-03logic/tracker: remove absurd microoptimizationStanislaw Halik
There's no benefit to using branchless arithmetic here. Retrieving a value<bool> is so complex it doesn't matter how many times we branch here.
2016-10-03logic/tracker: remove tautologyStanislaw Halik
2016-10-03logic/tracker: apply auto-offset reltrans rotations in right orderStanislaw Halik
Remove warning on using reltrans with auto-offset. Tested-by: @Len62 Discussed-with: @Len62 Issue: #473
2016-09-28logic/tracker: sanitize tracker's euler anglesStanislaw Halik
Issue: #465 Reported-by: @topiq77
2016-09-28logic/simple-mat: add unsigned index accessorsStanislaw Halik
2016-09-27logic/tracker: try harder to keep up constant HzStanislaw Halik
Now time error is accumulated rather than using only the last iteration's error.
2016-09-25gui, logic: allow prevent rotation from affecting compensationStanislaw Halik
Issue: #458
2016-09-24logic/tracker: use a second enum to make errors stand out moreStanislaw Halik
2016-09-24logic/tracker: use enum valuesStanislaw Halik
2016-09-24logic, gui: allow for disabling any of the three tcomp optionsStanislaw Halik
Issue: #458 Requested-by: @Borisovich
2016-09-21many: remove compat/pi-constant.hppStanislaw Halik
With -D_USE_MATH_DEFINES MSVC defines the standard M_PI and friends. Since this preprocessor definition is now always passed as part of the build system for MSVC. We can use M_PI as if on a mission.
2016-09-20logic/simple-mat: fix duplicated ambiguous symbolStanisław Halik
2016-09-16gui, logic: add separate option for starting in tray vs tray enabledStanislaw Halik
Suggested-by: @MathijsG, #454
2016-09-09logic/settings: default to pointtrackerStanislaw Halik
2016-09-08tracklogging: begone file selector gui. Now a file select dialog will pop up ↵DaMichel
when the tracker starts.
2016-09-06logic/shortcuts: fix "held" not initialized for joysticksStanislaw Halik
Reported-by: @Sone989 Issue: #440
2016-09-06gui, logic: add shortcut for "translation compensation off while held"Stanislaw Halik
Requested-by: @Sone989 Issue: #440
2016-09-06{dinput,logic,..}: cleanupStanislaw Halik
2016-09-03logic/tracker: move invert after mappingStanislaw Halik
It's only for when games expect different sign. If tracker input translation is necessary, use either "camera offset" for rotation between -180 to 180 roll value, or given tracker's option. For trackers where this is necessary they should offer an option in their own dialog.
2016-09-03logic/simple-mat: fix tait-bryan pitch axis swappageStanislaw Halik
Broke experimental camera centering option.
2016-08-23logic/tracker: minor nonsenseStanislaw Halik
2016-08-18logic/tracker: decomposed unscaled rotation isn't used anywhereStanislaw Halik
2016-08-18logic/tracker: fix accumulative tracker camera mode centerStanislaw Halik
2016-08-17logic: reindent onlyStanislaw Halik
2016-08-17options: support deferred writes when saving bundlesStanislaw Halik
The mapping window has 13 bundles total in use. Setting them all can take up to a large fraction of a second on some windows filesystems. Do a single config write instead.
2016-08-17logic/tracker: cleanup gimbal lock fixStanislaw Halik
There were too many cases of variables with a "_real" suffix and without. Move both cases into struct data members. Also add experimental camera centering method. Cleanup some other stuff like "is_nan" should take an arbitrary Mat.
2016-08-17logic/mappings: update to new apiStanislaw Halik
2016-08-17logic/main-settings: update following api changesStanislaw Halik
Axis mapping was saved/read from the wrong ini bundle. This is #415. Otherwise, update following preceding api changes.
2016-08-17move options framework into its own libraryStanislaw Halik
- adjust usages - add support for QList signals and metatype
2016-08-14dinput: fix dinput freezeStanislaw Halik
It was easiest to reproduce when a protocol failed to load. As usual, win32 debugging without MSVC++ is nearly useless.
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.