Andrei Kortunov
8084a336b5
Replace zeroes and nulls by nullptrs
4 years ago
elsid
9b11b8a27b
Fix boundary check
4 years ago
Bret Curtis
0e0c091e15
add more optionals and casserts for windows
4 years ago
Bret Curtis
4a54d375cc
add cassert for windows
4 years ago
Bret Curtis
f6bead88a9
purge boost/optional.hpp headers
4 years ago
Bret Curtis
62b0781f7d
use std::optional instead of boost::optional
4 years ago
Bret Curtis
5a824d0333
components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues
4 years ago
Assumeru
72549651e0
Rework container resolution ( #3006 )
...
* Rework container resolution
* add optional argument to getCount
* remove now-redundant changes
* undo worldimp changes
* move save-fixing code to InventoryState
* replace Rng instances with Seeds
4 years ago
psi29a
9a912486f9
Merge branch 'deprecated-exception' into 'master'
...
Use C++11 exception specification
See merge request OpenMW/openmw!343
4 years ago
fredzio
460e69e92a
Get rid of warning: dynamic exception specifications are deprecated
4 years ago
elsid
7591d45008
Use memcpy to create navmesh key
...
Implementation with memcpy is ~13 times faster.
4 years ago
elsid
f637dc38bd
Add cached flag to update navmesh status
4 years ago
elsid
eb140ed15f
Write unknown status numeric value
4 years ago
elsid
7d73e73cad
Consider tile as not removed when it is not found
4 years ago
psi29a
0dc7715c35
Merge branch 'object_paging_retry' into 'master'
...
Object Paging
See merge request OpenMW/openmw!209
5 years ago
elsid
00197e1cd9
Optimize recast mesh size by vertex deduplication
5 years ago
elsid
b095ca6c86
Use actor speed to define area cost for pathfinding
5 years ago
elsid
439588d10e
Remove unused mOffMeshConnectionIds
5 years ago
bzzt lost a hitlab login
c1ebd9474b
stop navmesh updates when ai off
...
Signed-off-by: Bret Curtis <psi29a@gmail.com>
5 years ago
elsid
c4cd3b2c4f
Add pathgrid to navmesh as off mesh connection
5 years ago
elsid
14d0ca4cd3
Cast float to btScalar
5 years ago
elsid
b150d681a9
Update same navmesh tile with limited frequency
5 years ago
elsid
10daadefbe
Add missing include
5 years ago
Bret Curtis
b7f7aabd8b
Merge pull request #2806 from elsid/detournavigator_tests
...
Add detournavigator test for multiple worker threads
5 years ago
elsid
899a6b5aa3
Workaround for GCC 5 bug
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636
5 years ago
elsid
bd1ef4dd6d
Add detournavigator test for multiple worker threads
5 years ago
Alexei Dobrohotov
d42cb4f16d
Merge pull request #2805 from elsid/detournavigator_update_callback
...
Use callback to handle changed tiles
5 years ago
elsid
df6e85b619
Use callback to handle changed tiles
...
Instead of collecting changed tiles into a temporary vector.
5 years ago
elsid
7502db1570
Add number of thread jobs to update jobs stats
5 years ago
elsid
208a50340d
Specialize DetourNavigator::ObjectId ctor for pointers
...
To fix msvc error:
components\detournavigator\objectid.hpp(14,13): error C2440: 'reinterpret_cast': cannot convert from 'const T' to 'size_t'
with
[
T=unsigned long
]
5 years ago
Andrei Kortunov
2e7712a390
Fix C5204 warnings by adding default virtual destructors
5 years ago
elsid
5168f2059f
Compare revisions by equality to support overflow
5 years ago
elsid
7ae7cb181d
Support recast mesh rendering
5 years ago
elsid
349040ffb2
Use status codes to handle navigator errors instead of exceptions
...
For find path use case.
5 years ago
elsid
f7caeefddb
Fallback to straight path when navmesh and pathgrind are not available
5 years ago
elsid
1e106013a0
Use navmesh to find wander destination outside pathgrid for ground based actors
...
Use dtNavMeshQuery::findRandomPointAroundCircle from recastnavigation
5 years ago
Andrei Kortunov
3704acf857
Unify streams usage to support non-ASCII paths (bug #5239 )
5 years ago
Andrei Kortunov
cd81f81fb6
Initialize variables to avoid GCC warnings
5 years ago
elsid
7ec5a20c64
Filter recast mesh triangles by global bounding box
...
Except heightfields to reduce slow down.
5 years ago
elsid
7729e396b2
Fix exceptions logging
5 years ago
Andrei Kortunov
6832a2fa9a
Remove BOM from CPP files (allows to build OpenMW with LCC on Elbrus)
6 years ago
elsid
c683dc8565
Lock navmesh tile by thread while processing
...
To avoid duplicated work on a same tile by different threads.
If tile is locked by another thread, then post job into this thread queue.
6 years ago
Andrei Kortunov
14b756a692
Use a generic logging system for RecastNavigation
6 years ago
Bret Curtis
45221418bd
Merge pull request #2260 from elsid/fix_clean_unused_navmeshes
...
Fix clean unused navmeshes
6 years ago
elsid
4624f31788
Report navigator stats
6 years ago
elsid
8adc83f6e2
Fix clean unused navmeshes
...
weak_ptr doesn't have constructor for shared_ptr&& type, so ptr wasn't
moved, just copied.
6 years ago
elsid
dd0b45ede6
Do not pass nullptr to std::memcmp
6 years ago
Bret Curtis
cb1a5f3679
Merge pull request #2245 from elsid/navigator_refactor
...
Refactor navigator related code
6 years ago
Bret Curtis
7b793b8809
Merge pull request #2244 from elsid/navmesh_cache_item_refactor
...
Make NavMeshCacheItem consistent
6 years ago
elsid
68948bc847
Avoid key allocation to find tile in cache
6 years ago