summaryrefslogtreecommitdiffhomepage
path: root/proto-ft/ftnoir_protocol_ft.cpp
AgeCommit message (Collapse)Author
2018-02-16proto/ft: fix idempotent dataid for freetrackclientStanislaw Halik
It can cause problems for `freetrackclient.dll' consumers. This fix is better than modulo rand().
2018-02-15proto/ft: work with npclient logicStanislaw Halik
DataID can be idempotent. It's "static unsigned frameno" in npclient that's used in place of DataID.
2018-02-01proto/ft: remove incorrect checkStanislaw Halik
The data is aligned because it's inside a union with minimal alignment for `int'. The comment and check are redundant.
2018-01-26CLion pedantryStanislaw Halik
Fix few of the inspection warnings from CLion that make any sense at all.
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2018-01-18compat: split/cleanup util.hppStanislaw Halik
Some of the headers are clearly useless. Remove them. Move what's inside util.hpp into separate headers. Adjust usages. Will remove util.hpp.
2018-01-16proto/freetrack: typedefs are volatile, cleanupStanislaw Halik
2018-01-14proto/freetrack: rename following npclient changeStanislaw Halik
2018-01-10proto/ft: fix logic errorStanislaw Halik
2018-01-10proto/freetrack, npclient: change deactivation methodStanislaw Halik
- deactivates on its own after about 30 seconds no matter what - deactivates on opentrack stop - returns to neutral pose on deactivation - works with origin (all zeros) pose
2017-12-26proto/freetrack: cleanupStanislaw 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-09proto/freetrack: cleanupStanislaw Halik
- set zeros in shm, for NPClient.dll tracking detection - remove tirviews support - remove registry cleanup on exit support
2017-12-04api: add status check for modulesStanislaw Halik
2017-10-29static constexpr -> constexprStanislaw Halik
2017-10-28freetrackclient: mark volatileStanislaw Halik
2017-07-28proto/freetrack: fix build with mingw-w64 with llvmStanislaw Halik
2017-07-23proto/freetrack: fix typoStanislaw Halik
2017-07-06proto/ft: include explicitly for `never_inline' etcStanislaw Halik
2017-06-22misc irrelevantStanislaw Halik
2017-06-18proto/ft: use explicit atomic load/storeStanislaw Halik
"volatile" is too underspecified. Also cleanup some old code.
2017-06-18proto/freetrack: workaround falcon bms 90 pitch limitStanislaw Halik
2016-11-04modules: add autogenerated translation filesStanislaw Halik
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-08-18options: add base_value signal constStanislaw Halik
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-07-19proto/{ft,wine}: simplify qprocess killing logicStanislaw Halik
2016-07-19some: replace hardcoded pi values with the same pi constantStanislaw Halik
We can't depend on M_PI existing after including cmath.
2016-07-18proto/ft: cleanup deg->rad conversionopentrack-2.3-rc49p9Stanislaw Halik
2016-07-18some: adjust install paths and invocationsStanislaw Halik
2016-06-14csv: code quality fixesStanislaw Halik
- use std::move where applicable - reformat more - make const stuff static, use QStringLiteral - fix regexes to make progress more - always move further into file even if regexes fail - apply less defensive coding, but still enough - remove stuff we don't use
2016-06-09proto/freetrack: get rid of float <-> double promotionsStanislaw Halik
2016-05-26many modules: trivial cleanups onlyStanislaw Halik
- Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab
2016-05-22proto/freetrack: runonce check can be a static memberStanislaw Halik
Now that we have -fuse-cxa-atexit static dtors for modules are called as they should be.
2016-05-15many: remove executable bit from source filesStanislaw Halik
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation.
2016-04-06proto/ft: only clear registry path on program exitStanislaw Halik
Clear registry path when opentrack exits, not merely tracking is stopped. This is still controlled by the checkbox, while checking for being the first instance happens always regardless. Also update dialog description. Issue: #332
2016-04-06proto/ft: make clear registry path on quit optionalStanislaw Halik
Make clearing the dll path optional, defaulting to false. See previous commit. It has a side effect of games started before opentrack not seeing any dll path, and loading nothing. That is, opentrack only functions when tracking is started before a game is started. Issue: #332
2016-04-06proto/ft: don't make games think opentrack is running after it quitsStanislaw Halik
Some background: Our dll's for freetrack and npclient protocols don't support indication whether opentrack is running or not. Worse yet, they're whitelisted on Arma's anticheat system so we can't modify them at arbitrary times. It's possible to run multiple opentrack instances at a time and we can't have multiple instances stepping upon each other's toes. It's kind of pointless to run multiple sessions but hey. Implementation: Guard with a mutex against multiple instances. Only the first instance (that uses the freetrack protocol at all) gets to control whether the dll's are accessible. Remove the registry keys after either freetrack protocol exits or software exits, but only if we're the first opentrack instance running freetrack protocol at all. Issue: #332
2015-10-30also rename protocol -> protoStanislaw Halik