Commit Graph

27382 Commits (70623d0b239b066aa7344b7675962f2ff1b0afce)
 

Author SHA1 Message Date
elsid 70623d0b23
Move FetchContent for benchmark to extern 3 years ago
psi29a e46905450e Merge branch 'refactor/esm-recordnew' into 'master'
Use unique_ptr for ESM records

See merge request OpenMW/openmw!1603
3 years ago
psi29a 7dd02076f5 Merge branch 'offset_the_deads' into 'master'
#6410: Use the scaled mesh translation for collision shape position for living actors

See merge request OpenMW/openmw!1446
3 years ago
psi29a 7bab714825 Merge branch 'fix_circling_fargoth' into 'master'
Remove unnecessary loops from path (#6510)

Closes #6510

See merge request OpenMW/openmw!1584
3 years ago
psi29a a0c0ea09b2 Merge branch 'youwe' into 'master'
Fix unavailable UV set handling in NIF models

See merge request OpenMW/openmw!1594
3 years ago
ζeh Matt 07eb6db030
Use unique_ptr for ESM records 3 years ago
psi29a f6ea27281a Merge branch 'cmake-share' into 'master'
cmake: Use GNUInstallDirs to install data directories

See merge request OpenMW/openmw!1598
3 years ago
Timo Gurr 71fe57f7a5 cmake: Use GNUInstallDirs to install data directories 3 years ago
psi29a cb4c96b155 Merge branch 'unpack_position' into 'master'
Make ESM::Position not packed (should fix #6566)

Closes #6566

See merge request OpenMW/openmw!1600
3 years ago
psi29a 45b7c6ea99 Merge branch 'fix_init' into 'master'
Add missing initialization

See merge request OpenMW/openmw!1602
3 years ago
elsid ecbcdd0e54
Add missing initialization 3 years ago
Petr Mikheev 68ef96410c Make ESM::Position not packed (should fix #6566) 3 years ago
Petr Mikheev 53f2dfd1c0 Merge branch 'lua_ui_templates' into 'master'
Lua UI templates

See merge request OpenMW/openmw!1475
3 years ago
uramer 960dd1f708 Lua UI templates 3 years ago
uramer 0b5f10e41b Merge branch 'remove_data' into 'master'
Remove predefined data paths `data="?global?data"`, `data=./data` (#6564)

See merge request OpenMW/openmw!1579
3 years ago
Alexei Dobrohotov 4521d3987c Fix out of bounds UV set handling 3 years ago
Petr Mikheev 88a83bab1f Remove predefined data paths `data="?global?data"`, `data=./data` (#6564) 3 years ago
elsid 251327fb9c Merge branch 'esm_rework_test_suite' into 'master'
update tests to use esm3 rename

See merge request OpenMW/openmw!1593
3 years ago
Bret Curtis 022fdc49a5 update tests to use esm3 rename 3 years ago
psi29a 84e209308d Merge branch 'refactor/interpreter' into 'master'
Cleanup interpreter code a bit

Closes #6553

See merge request OpenMW/openmw!1556
3 years ago
Matt 34723c8ea8 Cleanup interpreter code a bit 3 years ago
psi29a 6f7a067e0c Merge branch 'esmrename' into 'master'
esm refactor work

See merge request OpenMW/openmw!1575
3 years ago
jvoisin 7a6b541900 Merge branch 'ptmikheev-master-patch-81659' into 'master'
Run unit tests in CI with -fsanitize=address

See merge request OpenMW/openmw!1588
3 years ago
Petr Mikheev e4cb1a1370 Run unit tests in CI with -fsanitize=address 3 years ago
psi29a fac47ce0b5 Merge branch 'support_controller_gyro' into 'master'
Support controller gyro

Closes #6557

See merge request OpenMW/openmw!1571
3 years ago
psi29a 21ef9d4058 Merge branch 'nif_multi_parents' into 'master'
Support multiple parents for NIF nodes (#6552)

Closes #6552

See merge request OpenMW/openmw!1577
3 years ago
elsid 22b222ca83 Merge branch 'navmesh_scene_bounds_2' into 'master'
Limit and filter navmesh input (#5858)

Closes #5858

See merge request OpenMW/openmw!1591
3 years ago
jvoisin 4ae1ea1ee3 Merge branch 'refidref' into 'master'
Remove `getRefIdRef` because it is the same as `getRefId`.

See merge request OpenMW/openmw!1585
3 years ago
elsid 9069e97dce
Filter out triangles with NaN coordinates
Sorting a vector with such values gives invalid result because comparison with
NaN is always false.
3 years ago
elsid b0ef20c303
Cull navmesh objects by scene bounds
If object is too big iteration over all tiles covering it can take too much
time. Limit bounds to a square around a player position to cover only tiles
that will be present in navmesh based on max tiles number option.
3 years ago
elsid a9ae263acd
Reuse existing player position 3 years ago
elsid bba7beb0c5
Split tiles position range creation and iteration over 3 years ago
elsid d1d29a2452
Shuffle tile positions before adding to queue for processing 3 years ago
elsid 12ce82980c
Revert "Limit and filter navmesh input (#5858)"
This reverts commit ecc654a369.
3 years ago
Evil Eye 783505011c Merge branch 'fix_deprecated_warning' into 'master'
Remove usage of deprecated std::iterator

See merge request OpenMW/openmw!1589
3 years ago
elsid 06a6790a0e Merge branch 'changelog' into 'master'
Add #5858 to the changelog

See merge request OpenMW/openmw!1590
3 years ago
Evil Eye 670cc97947 Add #5858 to the changelog 3 years ago
Evil Eye 903ef60f9d Merge branch 'navmesh_scene_bounds' into 'master'
Limit and filter navmesh input (#5858)

Closes #5858

See merge request OpenMW/openmw!1583
3 years ago
elsid ecc654a369 Limit and filter navmesh input (#5858) 3 years ago
elsid 12df2deb70
Remove usage of deprecated std::iterator
/home/elsid/dev/openmw/apps/openmw/mwlua/../mwbase/../mwworld/containerstore.hpp:264:23: warning: 'iterator<std::forward_iterator_tag, MWWorld::Ptr>' is deprecated [-Wdeprecated-declarations]
        : public std::iterator<std::forward_iterator_tag, PtrType, std::ptrdiff_t, PtrType *, PtrType&>
                      ^
/home/elsid/dev/openmw/apps/openmw/mwlua/../mwworld/inventorystore.hpp:79:36: note: in instantiation of template class 'MWWorld::ContainerStoreIteratorBase<MWWorld::Ptr>' requested here
            ContainerStoreIterator mSelectedEnchantItem;
                                   ^
/usr/bin/../include/c++/v1/__iterator/iterator.h:27:29: note: 'iterator<std::forward_iterator_tag, MWWorld::Ptr>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
                            ^
/usr/bin/../include/c++/v1/__config:1016:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
                                      ^
/usr/bin/../include/c++/v1/__config:993:48: note: expanded from macro '_LIBCPP_DEPRECATED'
                                               ^
3 years ago
elsid 7ec7c57879
Remove unnecessary loops from path
This prevents actors going back when a new shortest path includes a point
behind them where they were right before. Such situation can happen when path
includes off mesh connection. Resulting cost of such path can be lower than
the real one because off mesh connections are straight lines and walking
surface usually is not a plane but a surface.

Skip to path point where distance from current position to the line between
previous and this point is less than point tolerance. Which means actor is
standing very close to the edge between those points. Additionally check by
navmesh raycasting to make sure there is actually a valid path.
3 years ago
uramer 40a2280261 Update documentation regarding gyroscope 3 years ago
uramer 39c7325db7 Merge branch 'lua_fix_onActorActive' into 'master'
Validate that object exists before onActorActive Lua handler

See merge request OpenMW/openmw!1580
3 years ago
psi29a fdc08cf01e Merge branch 'fix_storage' into 'master'
Fix heap use after free in components/lua/storage.cpp

See merge request OpenMW/openmw!1586
3 years ago
Petr Mikheev 730b5cad80 Merge branch 'include_headers' into 'master'
Include headers instead of source files

See merge request OpenMW/openmw!1581
3 years ago
Petr Mikheev 067d71f7eb Fix heap use after free in components/lua/storage.cpp 3 years ago
Petr Mikheev 203ee492c8 Remove `getRefIdRef` because it is the same as `getRefId`. 3 years ago
Bret Curtis 74e7cfc023 remove unused includes: part1
remove unused imports: part2

revert one tidy we will keep for c++20
3 years ago
Bret Curtis cdbab2325f rename esmterrain to esm3terrain 3 years ago
Bret Curtis a126e29a19 relative to absolute path 3 years ago