Commit Graph

24678 Commits (f917037ead17e27b8d79159f13916cf07d5e0003)
 

Author SHA1 Message Date
psi29a f917037ead Merge branch 'movement_fix2' into 'master'
Fix bug: NPCs don't move if the target is exactly above or exactly below.

See merge request OpenMW/openmw!496
4 years ago
Petr Mikheev bc2cec86e9 Fix bug: NPCs doesn't move if the target is exactly above or exactly below. 4 years ago
psi29a cadd1e7529 Merge branch 'daedric_fog' into 'master'
Don't nuke fog when bounds have changed

Closes #5469

See merge request OpenMW/openmw!522
4 years ago
psi29a a8c5607aa6 Merge branch 'disableinfotablesorting' into 'master'
[OpenMW-CS] Info table dragging to move record order, disable sorting

See merge request OpenMW/openmw!538
4 years ago
psi29a 64b4472efa Merge branch 'stand' into 'master'
Don't adjust actor position until all objects are loader (#5379)

See merge request OpenMW/openmw!546
4 years ago
psi29a c6f14cde20 Merge branch 'Show-level-multipliers-in-levelup-tooltip' into 'master'
Show level multipliers in levelup tooltip

Closes #5783

See merge request OpenMW/openmw!518
4 years ago
Cédric Mocquillon 3bb551a6f1 Show level multipliers in levelup tooltip 4 years ago
Evil Eye 59af819f97 Merge branch 'fix-mem-leak-2' into 'master'
Fix memory leak in MWInput

See merge request OpenMW/openmw!566
4 years ago
Gleb Mazovetskiy fe815d3d8d Fix memory leak in MWInput
mListener wasn't being cleaned up
4 years ago
Frederic Chardon 2353a4d8ec Merge branch 'projectile_crash' into 'master'
Prevent nullptr access

See merge request OpenMW/openmw!565
4 years ago
Evil Eye a2171875a0 Prevent nullptr access 4 years ago
fredzio f219c5992b Add changelog 4 years ago
fredzio f031a191b8 Some actors are supposed to spawn on a static object that belong to an adjacent cell.
Since actors can be active in 3x3 grid around the player, we need to
first load all statics in a 5x5 grid around the player.

Split load and unloading in 2 phases. Add an mInactiveCells set into the
scene, which contains all cells inside the aforementioned 5x5 grid.
These cells contains only heightfields and physics objects of static
class.
4 years ago
fredzio 165c731492 Remove physics dependency on basenode
Necessary to be able to load physics objects from inactive cells.
4 years ago
psi29a 49c828c138 Merge branch 'threadsafe-createchunk' into 'master'
Avoid OSG setting array binding from multiple threads

Closes #4765

See merge request OpenMW/openmw!557
4 years ago
AnyOldName3 0d2cdd5b7b Merge branch 'fix-mem-leak-2' into 'master'
Clean-up FontLoader::loadFontFromXml fix

See merge request OpenMW/openmw!561
4 years ago
Gleb Mazovetskiy 1e113710ef Clean-up FontLoader::loadFontFromXml fix
Follow-up to !559
4 years ago
AnyOldName3 3300e26c86 Add changelog entry 4 years ago
psi29a b28adafee4 Merge branch 'navcrash' into 'master'
Fix #5798

Closes #5798

See merge request OpenMW/openmw!554
4 years ago
Andrei Kortunov cf9ac9c6c9 Merge branch 'fix-mem-leak-1' into 'master'
Fix memory leak in FontLoader::loadFontFromXml

See merge request OpenMW/openmw!559
4 years ago
Gleb Mazovetskiy bd7d5a8f92 Fix memory leak in FontLoader::loadFontFromXml
Tried building with -DCMAKE_CXX_FLAGS='-fsanitize=address -fsanitize-recover=address'
and this was one of the reported leaks.
4 years ago
Evil Eye a401c517bf Always unload height fields
loadCell always adds a height field, but unloadCell only removed it for
cells with height data. Reloading a cell overwrote the height field
added earlier (leading to its destruction) while the navigator retained
a reference to the now deleted collision shape, leading to a crash.
4 years ago
AnyOldName3 eb80c997b8 Avoid OSG setting array binding from multiple threads 4 years ago
Andrei Kortunov 7b095e8701 Merge branch 'revert-7455dfb3' into 'master'
Revert "Merge branch 'windowing-system' into 'master'"

See merge request OpenMW/openmw!555
4 years ago
Gleb Mazovetskiy cd5e31dc4b Revert "Merge branch 'windowing-system' into 'master'"
This reverts merge request !541
4 years ago
psi29a 0ec953380f Merge branch 'opaque-character-preview-preprocessor' into 'master'
Always write opaque fragments instead of relying on blending being off for translucent RTT II: Daggerfall

Closes #5391

See merge request OpenMW/openmw!552
4 years ago
psi29a d2c5de5211 Merge branch 'projectile_physics' into 'master'
Precise projectile physics (closes #4201)

Closes #4201

See merge request OpenMW/openmw!550
4 years ago
fredzio 1f4c85520f Use convexSweepTest for projectile movement to solve any
imprecision issue with projectile collision detection.
Simplify the mechanics: manage hits in one spot.
Give magic projectiles a collision shape similar in size to their visible
model.

Rename the 2 convex result callback to clearly state their purpose.
4 years ago
AnyOldName3 3c53aa4bb1 Merge branch 'fix_unity_build' into 'master'
Fix unity build (#5803)

See merge request OpenMW/openmw!553
4 years ago
elsid cc24f13b39
Remove duplicated sound_buffer entry 4 years ago
AnyOldName3 b6e92c9c6d Use ShaderVisitor to skip translucent framebuffer specific stuff 4 years ago
AnyOldName3 35fab97478 Add changelog entry 4 years ago
AnyOldName3 8af8ad3840 Always write opaque fragments instead of relying on blending being off for translucent RTT 4 years ago
Alexei Dobrohotov 6d70a3f308 Merge branch 'jumpy' into 'master'
Don't run unstuck if there is no simulation running in async case (#5799)

See merge request OpenMW/openmw!548
4 years ago
psi29a c727e823e8 Merge branch 'nocolladacorruption' into 'master'
[OpenMW-CS] Fix corrupted rendering of collada-models

See merge request OpenMW/openmw!549
4 years ago
Nelsson Huotari 0acae08e52 Add changelog entry 4 years ago
Nelsson Huotari 9f0f3eaeb2 Add collada to supported formats 4 years ago
Nelsson Huotari 54ea8eb5c7 Fix string corruption with Qt on linux-systems 4 years ago
fredzio e37e5d4d16 Don't run unstuck if there is no simulation running in async case.
In this case, the actor mPreviousPosition is not updated, so the actor
position is interpolated between an old (stucked) position and the new
(unstucked) position. The new position is most likely "stucked", so the
unstuck code strikes again, making the actor "vibrates".

That's exactly what the sync code path does, and it doesn't exhibit this
behavior.
4 years ago
psi29a 6265081d08 Merge branch 'works_with_travis' into 'master'
Update CI/before_install.osx.sh

See merge request OpenMW/openmw!545
4 years ago
psi29a 4974b64cbf Update CI/before_install.osx.sh 4 years ago
psi29a 9eba086c34 Merge branch 'sound_buffer_pool_2' into 'master'
Separate sound buffer pool from sound manager

See merge request OpenMW/openmw!520
4 years ago
AnyOldName3 a8014b4d97 Merge branch 'osg-find-plugins-2' into 'master'
cmake/FindOSGPlugins: Support lib-prefixed plugins

Closes #5792

See merge request OpenMW/openmw!544
4 years ago
Gleb Mazovetskiy 11dfb9daff cmake/FindOSGPlugins: Support lib-prefixed plugins
With a regular OSG build, the plugin names are prefixed with
`lib`, e.g. `libosgdb_jpeg.a` for a static build.

However, on Debian on Ubuntu they are not.

With this commit we now try both options.

Fixes #5972

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
4 years ago
psi29a 7455dfb3a1 Merge branch 'windowing-system' into 'master'
Fix OSG USE_GRAPHICSWINDOW check

See merge request OpenMW/openmw!541
4 years ago
psi29a 4e39e0b01d Merge branch 'fix-libfind-pkg-detect' into 'master'
cmake: Fix MyGUI detection

See merge request OpenMW/openmw!535
4 years ago
psi29a c6d5634654 Merge branch 'fix-missing-opengl-include-dir' into 'master'
cmake: Fix missing OPENGL_INCLUDE_DIR

See merge request OpenMW/openmw!542
4 years ago
Gleb Mazovetskiy 24d8412c0c cmake: Fix missing OPENGL_INCLUDE_DIR
OPENGL_INCLUDE_DIR wasn't being included.
It is usually just /usr/include but if it was custom the build failed.
4 years ago
Bret Curtis e68651e9a6
Merge pull request #3042 from akortunov/helpers
Refactoring pre-requisites for groundcover
4 years ago
Gleb Mazovetskiy d24a5f7b89 Fix OSG USE_GRAPHICSWINDOW check
When OSG is built with `-DOSG_WINDOWING_SYSTEM=None`, this macro does not exist.

Replaces the Android-specific check with a general one.
4 years ago