Commit Graph

29 Commits (master)

Author SHA1 Message Date
Alexei Kotov 1a961f3021 Extremely early handling for BGSM/BGEM files 4 weeks ago
psi29a 8037a6e765 Merge branch 'portable-launcher' into 'master'
Portable Launcher (plus a whole slew of bugs fixes for problems I found that I suspect aren't on the tracker)

Closes #6846

See merge request OpenMW/openmw!3925
1 month ago
elsid 5859fd464c
Add option to disable precompiled headers
To be able to use ccache.

Also fix compilation errors appeared due to absence of precompiled
headers.
2 months ago
AnyOldName3 626f438dcc Make builtin.omwscripts actually mandatory
Previously it was quasi-mandatory - lots of things would add it, e.g. when running openmw through the CS, but it could technically be disabled.

Now it's treated like the resources/vfs directory and implicitly added by the engine etc.
3 months ago
Andrei Kortunov 7e345436f4 Localize Launcher and Wizard 4 months ago
Evil Eye 48db113149 Address feedback 4 months ago
Evil Eye 27fa411f4f Convert strings in nif files to utf8 4 months ago
Andrei Kortunov 6f68df9ac2 Avoid redundant copies 5 months ago
elsid 053a3caf7b
Pass cache expiry delay to GenericResourceManager constructor 8 months ago
Petr Mikheev f260fa006e Show OpenMW version and Lua API revision in documentation. 9 months ago
AnyOldName3 34fcfb63cf Eliminate redundant version checks 10 months ago
Evil Eye eeda48ec50 Drop support for --fs-strict 11 months ago
elsid 97fed756c8
Properly support portable configuration for bulletobjectool and navmeshtool 12 months ago
elsid 04d439485b
Log more info about navmesh shapes and jobs 1 year ago
jvoisin c7a3f43915 Minor header cleanup
This has been done via CLion's "unused include directive",
set to "detect completely unused".
1 year ago
elsid 1857d8a68c
Use target_compile_options to add --coverage 1 year ago
elsid c44bc5ade5
Setup logging with properly initialized configuration manager
Default constructed instance may provide different paths from initialized one.
1 year ago
jvoisin cd29c181cf Another pass with IWYU 2 years ago
elsid 843753da14
Remove unused includes 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
elsid 6ae15f08e0
Avoid chained operator() calls to prevent formatting issues 2 years ago
Project579 a13709c510 Replace implicit convertions from std::filesystem::path to std::string with correctly converting functions. 2 years ago
Project579 e5c417c968 Make sure all paths are passed as std::filesystem::path instead of std::string where possible. 2 years ago
elsid 7e6c13630a Use target_precompile_headers for the most expensive headers 2 years ago
ζeh Matt d5ec959449
Create platform component for platform specific things 2 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.
2 years ago
jvoisin 6f5025e6fd Remove some unused includes from bulletobjecttool 2 years ago
Petr Mikheev c7ab67c2c1 Allow relative paths in openmw.cfg; support --replace=config. 2 years ago
elsid e7f3524924
Add a tool to load and print information about all bullet objects in all cells 2 years ago