Commit Graph

18908 Commits (f47e64b0f89219ca4d8f0ac416e7858b8f03585f)

Author SHA1 Message Date
psi29a f8a6001e87 Merge branch 'outofcharacter' into 'master'
Make CharacterController less miserable, round 1

See merge request OpenMW/openmw!1999
3 years ago
psi29a 9c1970dce4 Merge branch 'lua_esm' into 'master'
Advanced Lua scripts configuration in omwaddon

See merge request OpenMW/openmw!1947
3 years ago
Alexei Kotov 45e6add5f5 Optimize clearAnimQueue(true) 3 years ago
Alexei Kotov d4d4304f1e Fix walk animation fallback replace call 3 years ago
Alexei Kotov 93068d71ea Use std::string_view whenever reasonable in CharacterController
C++ Core Guidelines SL.str.2
3 years ago
Alexei Kotov 97d4206a3d Improve CharacterController const-correctness
C++ Core Guidelines Con. 2
3 years ago
Alexei Kotov 788de7edcb Initialize most of CharacterController in-class
See C++ Core Guidelines C.48
3 years ago
ζeh Matt 9559feaa90
Fix effects not being removed from scene graph 3 years ago
psi29a 436db8c0e5 Merge branch 'ffmpeg5' into 'master'
fix hang with ffmpeg5 (ffmpeg_decoder: signal EOF/errors on readPacket)

Closes #6631

See merge request OpenMW/openmw!1941
3 years ago
Matt 4d74f8137c Use vector for EffectManager effects 3 years ago
psi29a ee89eccb06 Merge branch 'reload_l10n' into 'master'
Console command `reloadlua` also reloads l10n used by Lua scripts

See merge request OpenMW/openmw!1984
3 years ago
psi29a 5d88b39574 Merge branch 'fix/macos' into 'master'
make use of std::filesystem::absolute as ::system_complete was dropped from spec

See merge request OpenMW/openmw!1990
3 years ago
Bret Curtis 339169b60a make use of std::filesystem::absolute as ::system_complete was dropped from spec 3 years ago
psi29a f687827f98 Merge branch 'compile-times' into 'master'
Improve compile time a bit

See merge request OpenMW/openmw!1985
3 years ago
Dominique Martinet c5cdb0c277 ffmpeg_decoder: signal EOF/errors on readPacket
openmw with ffmpeg 5 would hang in an infinite loop trying to read at end of
files in avformat_open_input()
avio_read() apparently now no longer handlers 0 as a return value to signal
EOF and we need ot explicitly return AVERROR_EOF; their documentation
explicitely states "For stream protocols, must never return 0 but rather
a proper AVERROR code." for avio_alloc_context's read_context.

Also fix the exception case to return AVERROR_UNKNOWN -- I assume we'd
otherwise get stuck there too, but I don't know what would trigger this
case.

Fixes #6631
3 years ago
uramer fa72e14d92 Keep the scripts settings page open 3 years ago
ζeh Matt 952999153c
Move statics into cpp and properly guard buffer from race conditions 3 years ago
glassmancody.info f6943f9f66 bind framebuffer when msaa enabled in transparent postpass 3 years ago
ζeh Matt e0936b04c0
Correct the comment 3 years ago
ζeh Matt 38b6927b31
Fix missing includes 3 years ago
Petr Mikheev 1240b60a24 Console command `reloadlua` also reloads l10n used by Lua scripts 3 years ago
psi29a e6fcb8bd2d Merge branch 'issue/6756' into 'master'
Create platform component for platform specific things

See merge request OpenMW/openmw!1960
3 years ago
psi29a 8bce0a1bcf Merge branch 'classy' into 'master'
Replace empty NPC class with fallback

Closes #6799

See merge request OpenMW/openmw!1982
3 years ago
ζeh Matt d5ec959449
Create platform component for platform specific things 3 years ago
psi29a 787f8fb627 Merge branch 'launcher' into 'master'
Launcher consistency fixes

See merge request OpenMW/openmw!1983
3 years ago
psi29a 5aeee0a520 Merge branch 'threading_gone_wrong' into 'master'
[Postprocessing] Fix race condition when techniques are dirtied

See merge request OpenMW/openmw!1979
3 years ago
Petr Mikheev f48646b3e6 Merge branch 'addrepairluabinds' into 'master'
Lua API for Repair records

See merge request OpenMW/openmw!1958
3 years ago
Kindi aa2e724342 Lua API for Repair records 3 years ago
Alexei Kotov d840f4e995 Launcher: Stop making redundant setting changes 3 years ago
Evil Eye f41e46db64 Replace empty NPC class with fallback 3 years ago
elsid f8eafe0dfd
Fix checking whether content file is master file 3 years ago
glassmancody.info acc209c294 fix threading issue when dispatching frame dependent data 3 years ago
psi29a c7449dc272 Merge branch 'bullet_includes' into 'master'
Clean up bullet includes

See merge request OpenMW/openmw!1974
3 years ago
Petr Mikheev a70d5831c5 Lua scripts configuration in omwaddon 3 years ago
psi29a 58fd560ce9 Merge branch 'esm_readers_cache' into 'master'
Limit the number of simultaneously open not actively used content files (#6756)

Closes #6756

See merge request OpenMW/openmw!1966
3 years ago
psi29a 22ad2615e3 Merge branch 'mygui_includes' into 'master'
Clean up MyGUI includes

See merge request OpenMW/openmw!1972
3 years ago
jvoisin 72a6d1f69f Clean up bullet includes 3 years ago
Cody Glassman ce49aa1202 Attach lights at origin when missing AttachLight node 3 years ago
jvoisin 0cc304e659 Clean up MyGUI includes
This should improve incremental compilation.
3 years ago
elsid 3affe9913f
Limit the number of simultaneously open not actively used content files
Use LRU cache for ESMReaders. When cache capacity is reached close least
recently used ESMReader. Remember the file name if a reader was open. Once the
reader requested again open the file if there is stored name for it. Put
released ESMReader to the back of the free items list. Close ESMReader's from
the front of the free items list.

Cached item can be used only by one client at the same time. If the same item is
requested twice exception is thrown. This should never happen in practice. If
this happens need to fix the client logic.

It's allowed to go over the capacity limit when requesting different readers.
Ideally this should never happen but there will be system error anyway
signalizing about too many open files. Need to fix client logic in this case.

All places that were using a vector of ESMReaders now using the cache. Cache is
local for each use case and there is no need for a thread safety.
3 years ago
psi29a e78d36ff50 Merge branch 'no_input' into 'master'
[Postprocessing] Take away mouse input from headers, remove unnecessary dirty

See merge request OpenMW/openmw!1965
3 years ago
psi29a 160cbb51d2 Merge branch 'nobody-cared-who-he-was-until-he-didnt-put-on-the-mask' into 'master'
Apply Mask_RenderToTexture to local map RTT node

Closes #6784

See merge request OpenMW/openmw!1962
3 years ago
glassmancody.info a3d95785d7 remove unecassary dirty, don't allow dividers to have mouse input 3 years ago
Mads Buvik Sandvei 6bb296723e Apply Mask_RenderToTexture to local map RTT node 3 years ago
beelzebielsk fb5eb542ff Lua api for potion records 3 years ago
uramer bca05d018e Merge branch 'fix_tests' into 'master'
Fix  #6771

Closes #6771

See merge request OpenMW/openmw!1925
3 years ago
Petr Mikheev 11f21c39ec Merge branch 'addmiscluabinds' into 'master'
Lua API for Miscellaneous records

See merge request OpenMW/openmw!1954
3 years ago
Kindi 638ad15af8 Lua API for Miscellaneous records 3 years ago
Cody Glassman 447b586d7d [Postprocessing] Fix a couple awkward issues with Lua API 3 years ago
AnyOldName3 feb5d5bbc2 Merge branch 'main_noboost' into 'master'
Remove boost:: from openmw/main.cpp

See merge request OpenMW/openmw!1943
3 years ago