Commit Graph

77 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
elsid 81a483fc7f
Remove unused vfs argument from correctMeshPath 5 months ago
Andrei Kortunov 6f68df9ac2 Avoid redundant copies 5 months ago
elsid 68de5690ef
Use settings values for Navigator settings 8 months ago
Petr Mikheev c67b866a11 Replace `const ESM::RefNum&` -> `ESM::RefNum` 8 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
elsid 955790dc31
Split ESM::Land::loadData 9 months ago
AnyOldName3 34fcfb63cf Eliminate redundant version checks 10 months ago
psi29a 050fc20379 Merge branch 'settings_values_game' into 'master'
Use settings values for Game settings (#6876)

See merge request OpenMW/openmw!3188
11 months ago
elsid 6e8dcc16c6
Use settings values for Game settings 11 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 2a7b105484
Use different object id for avoid shape
Otherwise addObject will ignore it as a duplicate and resulting recastmesh will
not match generated by the engine causing navmeshdb cache miss.
1 year ago
elsid 04d439485b
Log more info about navmesh shapes and jobs 1 year ago
florent.teppe 56cb2a83ec removed sDefaultWorldspace, only sDefaultWorldspaceId now.
sDefaultWorldspaceId is a StringRefId to be able to getvalue easily.
1 year ago
elsid 7a7c20d49e
Define single UpdateGuard type in a separate file 1 year ago
florent.teppe 3258fa4f98 setworldspace uses serializeText 1 year ago
florent.teppe c2182c2fcc Get Rid of ESM::CellId almost everywhere
it was a competing concept from using RefIds for cell.
There is almost no point to it now, except to load older data.
1 year ago
florent.teppe c39dd576f8 Gets rid of most ESM::CellId 1 year ago
elsid 1857d8a68c
Use target_compile_options to add --coverage 1 year ago
elsid 2fcb94064d
Support RefId comparison with std::string_view 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
florent.teppe 150e2ba885 Revert "Use ESM::RefId for worldspace in detournavigator"
This reverts commit b4ab153418.

# Conflicts:
#	apps/navmeshtool/worldspacedata.cpp
1 year ago
florent.teppe 3780033837 Reverts Cell name to a string 1 year ago
elsid b4ab153418
Use ESM::RefId for worldspace in detournavigator 1 year ago
florent.teppe 2c30575b3b CellName is now a RefId, makes more sense that way. 1 year ago
florent.teppe 65cdd489fb create a specific esm reader function for RefID to avoid allocation for string and then again for RefId
Fixed some types

removed useless header

applied clang format

fixed compile tests

fixed clang tidy, and closer to logic before this MR

Removed hardcoded refids

unless there is a returned value we don't use static RefIds
can use == between RefId and hardcoded string

Fix clang format

Fixed a few instances where std::string was used, when only const std::string& was needed

removed unused variable
1 year ago
fteppe 20da0892ef openMW_test_suite compiles and runs
Slowly moving through the open-cs errors

Good progress in openCS

Very good progress on openCS

Getting closer with openCS

OpenCS compiles and runs! Didn't have time to test it all though

ix openMW

everything compiles on windows??

Fix gcc

Fix Clang
1 year ago
jvoisin cd29c181cf Another pass with IWYU 2 years ago
elsid 624d8bc931
Support unsigned settings values 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 22ee592dd3
Lock TileCachedRecastMeshManager once per changing a cell
To save time on locking mutex and prevent AsyncNavMeshUpdater to use RecastMesh
for a tile in the middle of objects loading.
2 years ago
elsid e2d566b89d
Store changed tiles in TileCachedRecastMeshManager 2 years ago
elsid 948e2f5db9
Do not use collision shapes with visual only collision to generate navmesh
These collision shapes are not used for actors movement physics simulation.
2 years ago
elsid b1fb42a28c
Cleanup detournavigator includes 2 years ago
elsid f99ed6f1db
Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
2 years ago
elsid 8b8e4f78b6
Support cylinder and rotating box collision shape types for actors
Cylinder collision shape should give the best consistency between physics
simulation and pathfinding. Rotating box is already used by some actors, so
add it to have the same collision shape type for all actors.
2 years ago
elsid 7e6c13630a Use target_precompile_headers for the most expensive headers 2 years ago
elsid 1a12c453d6
Support different agent collision shape type for pathfinding
Actors may have different collision shapes. Currently there are axis-aligned
bounding boxes and rotating bounding boxes. With AABB it's required to use
bounding cylinder for navmesh agent to avoid providing paths where actor can't
pass. But for rotating bounding boxes cylinder with diameter equal to the front
face width should be used to not reduce of available paths. For example rats
have rotating bounding box as collision shape because of the difference between
front and side faces width.

* Add agent bounds to navmesh tile db cache key. This is required to distinguish
  tiles for agents with different bounds.
* Increase navmesh version because navmesh tile db cache key and data has changed.
* Move navmesh version to the code to avoid misconfiguration by users.
* Fix all places where wrong half extents were used for pathfinding.
2 years ago
uramer fd7965d77f Use correctMeshPath instead of string constants 2 years ago