Round result of std::fmod(hours, 24) to the nearest float below 24 on double to
float conversion when it is not. Add special type and conversion function along
with tests to be used in all places where such conversion happens.
To avoid producing hours equal to 24 due to double to float precision loss.
With it on, which was always the case before this setting was added,
vanilla content and poorly-made mods will look acceptable, but well-made
mods will have alpha-tested meshes appear to grow and potentially gain a
weird outline as they get further away.
With it off, which replicates the 0.46 behaviour, well-made mods will
look really good, but vanilla content and poorly-made mods will have
alpha-tested meshes shrink as they get further away.
It's been bugging me that this was forced on since 0.47 released, and
I'd hoped to figure out a solution for automatic detection at some point
before 0.48 branched off, but I didn't, so now this is what we're
getting to have Tamriel Rebuilt look right.
Add missing content=builtin.omwscripts if openmw is started via openmw-cs
Closes#7056
See merge request OpenMW/openmw!2496
(cherry picked from commit c2b495a187)
6025943f Add missing content=builtin.omwscripts if openmw is started via openmw-cs (fixes#7056)
Changed destination may create a situation when the distance actor moved between
2 update calls is less than initial distance because destination has been changed.
This forces actor to take evasive action when there is no actual obstacle.
Update both instances of level detail text
See merge request OpenMW/openmw!2282
(cherry picked from commit 1d270e1683)
a4427235 Update both instances of level detail text
From initial actor position.
findRandomPointAroundCircle may return a position outside given range. Use
raycast to choose a different reachable point within a radius but double check
and discard if it's still outside.
Use wander radius instead of wander distance for findRandomPointAroundCircle to
have better chance for a position to be inside wander distance.
Enlarge character selection widget
See merge request OpenMW/openmw!2350
(cherry picked from commit a0029cb512)
8bac073f Enlarge character selection menu to fit long character or class names
Only reflect spells that have a caster
Closes#6969
See merge request OpenMW/openmw!2349
(cherry picked from commit ca90b53c30)
7729ef2e Only reflect spells that have a caster
ActionManager::toggleMainMenu() should close PostProcessor HUD
See merge request OpenMW/openmw!2305
(cherry picked from commit bf0865d03d)
642d0ad6 ActionManager::toggleMainMenu() should close PostProcessor HUD.
Get build working on Apple Silicon
See merge request OpenMW/openmw!2286
(cherry picked from commit 36fbef1048)
1d7d3d57 Get build working on Apple Silicon
808a2e58 Merge commit '5ee4ce1232b0f334f29dd702f811c58dccf5c00d' into apple-silicon-arm-build
a61237f2 Cleaned up macOS FFmpeg framework linking
Show a message if player attempts to access postprocessor hud when postprocessing is disabled.
See merge request OpenMW/openmw!2306
(cherry picked from commit 0889635dc7)
5863790c Show a message if player attempts to access postprocessor hud when postprocessing is disabled
Clear the magic queue when unloading actors
Closes#6954
See merge request OpenMW/openmw!2317
(cherry picked from commit 7c899364af)
afcbb3cb Clear the magic queue when unloading actors
443420ea CI compare cells