Age | Commit message (Collapse) | Author |
|
|
|
Issue: #912, #925
|
|
|
|
|
|
|
|
Always use the adaptive QMutex.
|
|
|
|
|
|
|
|
This is possibly related to a livelock where several threads do const
removal in their respective code paths.
Use the `mutable' specifier for the mutexes and spline's cached data.
Now using the `mutable' specifier, get rid of <optional> in
compat/mutex.
|
|
This is incorrect but people like it.
|
|
|
|
- replace warn_unused_result with [[nodiscard]]
- remove some redundant w_a_r
- replace std::decay with remove_cvref_t
- simplify compat/math.hpp
|
|
|
|
|
|
|
|
|
|
|
|
v2: fix comments
v3: fix reltrans
|
|
No visible changes (hopefully).
|
|
use `cc_xx' rather than awkward synonyms.
|
|
|
|
Use more C++17 features where this helps any.
|
|
|
|
|
|
Also remove the license in header. It's stale.
|
|
Requested by: CAHEK on the Russian IL-2 Sturmovik forum
|
|
|
|
Requested by: HOPPING_PONY on the Russian IL-2 Sturmovik forum.
|
|
|
|
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.
|
|
Tool: codespell
|
|
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
|
|
- 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.
|
|
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.
|
|
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
|
|
|
|
Could use a better name.
|