1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 15:53:51 +00:00
Commit graph

25008 commits

Author SHA1 Message Date
Andrei Kortunov
cf9ac9c6c9 Merge branch 'fix-mem-leak-1' into 'master'
Fix memory leak in FontLoader::loadFontFromXml

See merge request OpenMW/openmw!559
2021-01-23 06:30:59 +00:00
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.
2021-01-23 04:08:39 +00:00
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.
2021-01-23 00:56:46 +01:00
AnyOldName3
eb80c997b8 Avoid OSG setting array binding from multiple threads 2021-01-22 19:44:22 +00:00
Andrei Kortunov
7b095e8701 Merge branch 'revert-7455dfb3' into 'master'
Revert "Merge branch 'windowing-system' into 'master'"

See merge request OpenMW/openmw!555
2021-01-22 19:07:37 +00:00
Gleb Mazovetskiy
cd5e31dc4b Revert "Merge branch 'windowing-system' into 'master'"
This reverts merge request !541
2021-01-22 19:04:07 +00:00
madsbuvi
24d90ec54d OSG version check 2021-01-22 14:35:34 +01:00
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
2021-01-22 10:33:16 +00:00
psi29a
d2c5de5211 Merge branch 'projectile_physics' into 'master'
Precise projectile physics (closes #4201)

Closes #4201

See merge request OpenMW/openmw!550
2021-01-21 23:33:22 +00:00
madsbuvi
da9a3daf94 non-const -> const 2021-01-21 21:19:06 +01:00
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.
2021-01-21 20:36:33 +01:00
AnyOldName3
3c53aa4bb1 Merge branch 'fix_unity_build' into 'master'
Fix unity build (#5803)

See merge request OpenMW/openmw!553
2021-01-21 16:43:15 +00:00
madsbuvi
c0772807d2 Menu transition video now visible.
Videos no longer upside down.
Scene no longer visible during loading screens.
2021-01-21 14:19:29 +01:00
elsid
cc24f13b39
Remove duplicated sound_buffer entry 2021-01-21 13:08:50 +01:00
AnyOldName3
b6e92c9c6d Use ShaderVisitor to skip translucent framebuffer specific stuff 2021-01-20 23:37:19 +00:00
AnyOldName3
35fab97478 Add changelog entry 2021-01-20 01:24:05 +00:00
AnyOldName3
8af8ad3840 Always write opaque fragments instead of relying on blending being off for translucent RTT 2021-01-20 01:17:16 +00:00
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
2021-01-19 15:04:49 +00:00
psi29a
c727e823e8 Merge branch 'nocolladacorruption' into 'master'
[OpenMW-CS] Fix corrupted rendering of collada-models

See merge request OpenMW/openmw!549
2021-01-18 18:36:43 +00:00
Nelsson Huotari
0acae08e52 Add changelog entry 2021-01-18 19:24:38 +02:00
Nelsson Huotari
9f0f3eaeb2 Add collada to supported formats 2021-01-18 19:22:01 +02:00
Nelsson Huotari
54ea8eb5c7 Fix string corruption with Qt on linux-systems 2021-01-18 19:21:02 +02:00
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.
2021-01-18 17:45:57 +01:00
psi29a
6265081d08 Merge branch 'works_with_travis' into 'master'
Update CI/before_install.osx.sh

See merge request OpenMW/openmw!545
2021-01-17 22:15:29 +00:00
madsbuvi
44a039796a Wrong use of value instead of click for the cosmos controller. 2021-01-17 19:47:14 +01:00
psi29a
4974b64cbf Update CI/before_install.osx.sh 2021-01-17 15:58:43 +00:00
psi29a
9eba086c34 Merge branch 'sound_buffer_pool_2' into 'master'
Separate sound buffer pool from sound manager

See merge request OpenMW/openmw!520
2021-01-17 12:11:11 +00:00
madsbuvi
018e790ec0 Unite all viewer traversals. 2021-01-17 12:12:14 +01:00
madsbuvi
e59fcf7613 Unit test fix 2021-01-16 17:30:59 +01:00
madsbuvi
329a479f48 Refactoring and a comment reminding that this code is temporary. 2021-01-16 14:43:12 +01:00
madsbuvi
dea89d8168 Merge branch 'openmw-vr' of https://gitlab.com/madsbuvi/openmw into openmw-vr 2021-01-16 14:31:30 +01:00
madsbuvi
70d99fd6d0 Temporary gamma solution 2021-01-16 14:30:59 +01:00
AnyOldName3
a8014b4d97 Merge branch 'osg-find-plugins-2' into 'master'
cmake/FindOSGPlugins: Support lib-prefixed plugins

Closes #5792

See merge request OpenMW/openmw!544
2021-01-15 17:36:50 +00:00
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>
2021-01-15 16:52:18 +00:00
Mads Buvik Sandvei
e5bc79706f Update README.md 2021-01-14 19:39:49 +00:00
Mads Buvik Sandvei
2370364938 Update README.md 2021-01-14 19:33:56 +00:00
psi29a
7455dfb3a1 Merge branch 'windowing-system' into 'master'
Fix OSG USE_GRAPHICSWINDOW check

See merge request OpenMW/openmw!541
2021-01-14 15:00:34 +00:00
psi29a
4e39e0b01d Merge branch 'fix-libfind-pkg-detect' into 'master'
cmake: Fix MyGUI detection

See merge request OpenMW/openmw!535
2021-01-14 14:56:44 +00:00
psi29a
c6d5634654 Merge branch 'fix-missing-opengl-include-dir' into 'master'
cmake: Fix missing OPENGL_INCLUDE_DIR

See merge request OpenMW/openmw!542
2021-01-14 14:10:47 +00:00
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.
2021-01-14 02:52:59 +00:00
Bret Curtis
e68651e9a6
Merge pull request #3042 from akortunov/helpers
Refactoring pre-requisites for groundcover
2021-01-13 23:09:01 +01:00
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.
2021-01-13 20:45:34 +00:00
Mads Buvik Sandvei
37585d29bd Merge branch 'linux_gl_sys_req' into 'openmw-vr'
call xrGetOpenGLGraphicsRequirementsKHR on linux too

See merge request madsbuvi/openmw!15
2021-01-13 16:43:44 +00:00
Nelsson Huotari
5740258d3b Add changelog entry 2021-01-13 16:23:59 +02:00
Nelsson Huotari
f2fc02cdff Support filtered tables (mapToSource for indexes) 2021-01-13 15:55:16 +02:00
Nelsson Huotari
16e03c151a Implement basic move algorithm, connect it to drag&drop 2021-01-13 15:38:29 +02:00
Christoph Haag
981ed25dac call xrGetOpenGLGraphicsRequirementsKHR on linux too
This call is required per the spec.
2021-01-13 13:32:34 +01:00
Mads Buvik Sandvei
935351d9a0 Merge branch 'include_memory' into 'openxr_vr'
include <memory> for unique_ptr on gcc

See merge request madsbuvi/openmw!13

(cherry picked from commit 1d98299933344a233d532941a87a09d898d02fed)

f70b95ab include <memory> for unique_ptr on gcc
2021-01-13 11:05:21 +00:00
Andrei Kortunov
89f3f860ed Allow to get a rotation vector from ESM::Position 2021-01-13 14:25:25 +04:00
Andrei Kortunov
0418e8e7a6 Add an API to get base wind speed (which is from openmw.cfg) 2021-01-13 14:25:25 +04:00