Benjamin Winger
21ffbcc4b4
Lua i18n updates
2022-04-10 07:57:02 +00:00
elsid
df092b558b
Replace shared_ptr by unique_ptr
2022-04-08 22:42:22 +02:00
Eris Caffee
14b5bef64f
Issue 6558 Move away from md5 in cmake
...
Updated CMakeLists.txt files to use sha512 instead of md5 to verify downloads
2022-04-03 22:46:39 -05:00
Timo Gurr
8512f7cb4c
cmake: only download benchmarks if we build with it
...
Since 70623d0b23
CMake tries to download
benchmarks even if we pass -DBUILD_BENCHMARKS:BOOL=FALSE.
2022-01-31 00:27:21 +01:00
elsid
70623d0b23
Move FetchContent for benchmark to extern
2022-01-30 00:44:22 +01:00
psi29a
ca6262c033
switch Static Deps and Tests from GCC to clang and set to -O0 to speed up builds
2022-01-18 18:22:46 +00:00
Bret Curtis
6672014a51
make this great again
2022-01-06 15:02:24 +01:00
Bret Curtis
f0db576611
removed redundant get on smart pointer; made pictq_[r|w]index unsigned longs to be type compatible with std::array pictq.size(); fixes assert issue
2022-01-05 12:19:22 +01:00
Bret Curtis
bae8713998
make use of std::array pictq.size()
instead of VIDEO_PICTURE_ARRAY_SIZE; remove redundant smart-pointer .get calls; fix typos
2022-01-05 09:29:10 +01:00
Bret Curtis
4eea734551
Resolves #6088 by rolling our own PacketList that replaces the deprecated AVPacketList; initial work done by akortunov in 60aec04606
; adapted and cleaned up some old cruft along the way.
2022-01-05 09:29:10 +01:00
psi29a
e4ee6ab0c1
Update extern/i18n.lua/CMakeLists.txt to be like the rest... (make i18n work on macOS)
2022-01-03 11:53:07 +00:00
Petr Mikheev
f91a5499d3
Add extern/i18n.lua
2021-12-30 00:37:54 +01:00
elsid
f85053d78c
Support unaligned blocks
2021-11-21 16:22:58 +01:00
elsid
86bf9d5b8d
Support 128bit seed for MurmurHash3_x64_128
2021-11-21 16:22:58 +01:00
elsid
d04d4ab499
Add MurmurHash3_x64_128 implementation
...
Sources:
92cf3702fc/src/MurmurHash3.h
92cf3702fc/src/MurmurHash3.cpp
Other hash functions and unused implementation details are removed.
2021-11-21 16:22:57 +01:00
elsid
2bace703d5
Add dependency to SQLite3
...
This will be required by navmeshtool.
2021-10-11 19:34:07 +02:00
jvoisin
8056476d64
Add clang-tidy
2021-07-25 18:02:05 +02:00
Petr Mikheev
4db5fa351d
Add sol3.2.2/sol/sol.hpp to extern instead of downloading during building
2021-07-12 11:46:32 +02:00
Petr Mikheev
84721fb58a
Disable special processing of Lua errors in debug builds. Fixes #6151 .
2021-07-10 23:43:55 +02:00
Petr Mikheev
9e168fd9cc
Add Lua/LuaJit and sol3 to openmw
2021-07-09 19:27:00 +02:00
elsid
7498a86abe
Remove redundant semicolons
2021-07-05 13:11:54 +02:00
AnyOldName3
873b3b4800
Handle empty strings.
2021-06-26 19:46:34 +01:00
Dan Church
70a0229010
Fix future FFMpeg API changes
...
avcodec_find_decoder now returns const AVCodec*.
2021-06-01 10:56:48 -05:00
Evil Eye
54d32817d5
Use av_free and maybe get Coverity to understand
2021-05-19 17:12:41 +02:00
psi29a
4bc7012104
Merge branch 'pack-default-settings' into 'master'
...
Pack default settings
Closes #5925
See merge request OpenMW/openmw!822
2021-05-18 08:11:13 +00:00
AnyOldName3
081650a2e5
Integrate Base64 library with build
2021-05-17 23:00:23 +01:00
AnyOldName3
2b1326cb74
Change namespace to Base64
...
The functions do Base64 encoding and decoding and do not feed me
delicious almond and meringue based confectionary.
2021-05-17 22:50:32 +01:00
AnyOldName3
d66cc3b7ae
Fix undefined behaviour
2021-05-17 22:47:08 +01:00
AnyOldName3
aba735e615
Check in external Base64 implementation
...
Taken from https://gist.github.com/tomykaira/f0fd86b6c73063283afe550bc5d77594
MIT licenced
2021-05-17 22:45:10 +01:00
Bret Curtis
66a527c3de
Merge pull request #3075 from akortunov/warnfix
...
Fix MSVC's C4244 and C4267 warnings
2021-05-14 21:28:56 +02:00
Gleb Mazovetskiy
bdfbf01772
Update extern Bullet to 3.17
...
Includes performance improvements that affect OpenMW:
* https://github.com/bulletphysics/bullet3/pull/3287
* https://github.com/bulletphysics/bullet3/pull/3293
2021-05-14 00:05:00 +01:00
Evil Eye
69aaf6ab04
don't touch frame->data
2021-05-13 14:45:13 +02:00
Evil Eye
ed118537a8
use unique_ptr instead
2021-05-13 14:02:36 +02:00
Evil Eye
3b7cef9e88
add PacketGuard and move try/catch up
2021-05-13 12:01:32 +02:00
Evil Eye
1b61ec979d
switch to lock_guards
2021-05-13 11:25:58 +02:00
Andrei Kortunov
963e1b8b3f
Fix MSVC's C4244 warnings
2021-05-12 10:34:40 +04:00
Andrei Kortunov
f9d42ed396
Fix MSVC's C4267 warnings
2021-05-12 10:34:39 +04:00
Evil Eye
de37ca8e2c
Catch exceptions in VideoThread
2021-05-10 17:47:57 +02:00
fredzio
6fd04cb8f6
Remove support for single-precision Bullet, fail during configuration instead of during linking.
2021-05-02 17:48:50 +02:00
Andrei Kortunov
124a33d8a3
Fix uninitialized variables
2021-04-10 10:58:00 +04:00
Andrei Kortunov
93954a961c
Unlock mutex on return to avoid hang
2021-04-10 09:30:58 +04:00
AnyOldName3
3ad2335d11
Fix FetchContent Bullet with MSVC
2021-04-07 20:23:39 +00:00
psi29a
f8d32c0576
Merge branch 'upd-mygui' into 'master'
...
Update MyGUI
Closes #5897
See merge request OpenMW/openmw!650
2021-03-22 21:28:13 +00:00
Gleb Mazovetskiy
493659d4f9
MSVC: extern/ tweaks to make it build
...
Not everything is supported but it does build with the following CMakeSettings.json
variables and dependencies from vcpkg:
"variables": [
{ "name": "OPENMW_USE_SYSTEM_BULLET", "value": "False", "type": "BOOL" },
{ "name": "OPENMW_USE_SYSTEM_MYGUI", "value": "False", "type": "BOOL" },
{ "name": "OPENMW_USE_SYSTEM_OSG", "value": "False", "type": "BOOL" },
{ "name": "BULLET_STATIC", "value": "True", "type": "BOOL" },
{ "name": "OSG_STATIC", "value": "False", "type": "BOOL" },
{ "name": "MYGUI_STATIC", "value": "False", "type": "BOOL" }
],
What works: it builds
What does not work: Not all DLLs are copied into the output directory with this set up
(SDL2, MyGUI, Bullet, OSG, are not copied).
2021-03-16 19:52:10 +00:00
Gleb Mazovetskiy
918fd174f3
Set MYGUI_DONT_USE_OBSOLETE=OFF
...
Fixes https://gitlab.com/OpenMW/openmw/-/issues/5896
2021-03-14 12:39:55 +00:00
Gleb Mazovetskiy
36cea2073f
Update MyGUI
...
Includes f01cba4bb3
Fixes https://gitlab.com/OpenMW/openmw/-/issues/5897
2021-03-13 12:10:14 +00:00
Gleb Mazovetskiy
fe6b990f2e
Update Bullet to improve performance
...
Updates Bullet to include https://github.com/bulletphysics/bullet3/pull/3287
This massively improves heightfield collision detection performance in
some areas.
E.g. with single-threaded bullet in the `--skip-menu` starting area
on my test desktop: 30 FPS -> 60 FPS
2021-03-12 12:40:19 +00:00
Gleb Mazovetskiy
1db7d2ec4e
Restore compatibility with FFMpeg < 57.80.100
...
This should fix macOS Travis build broken by 58d33aa95b
2021-03-08 19:29:34 +00:00
Gleb Mazovetskiy
36bac353df
AV: Handle varying video frame dimensions
2021-03-08 04:00:11 +00:00
Gleb Mazovetskiy
58d33aa95b
AV: Fix all memory leaks
...
The most substantial memory leak came from `PacketQueue::get`
not unreferencing its argument packet.
Other leaks came from using `av_free` instead of type-specific free
functions.
Also modifies `PacketQueue::put` for readability.
2021-03-08 03:16:55 +00:00