Commit Graph

21875 Commits (c89876538d3d3e49d33c81be354d52356ea18dba)
 

Author SHA1 Message Date
elsid 614d5243c3
Make NavMeshCacheItem consistent
Move all logic related to this type into its methods.
6 years ago
Bret Curtis 8dab6e0f6c
Merge pull request #2240 from elsid/fix_navigator_deadlock
Fix navigator deadlock (bug #4777)
6 years ago
elsid b3c5d64ff3
Use std::make_shared 6 years ago
Capostrophic dd952c3ddb Fix extra space in "no script" showvars output 6 years ago
Capostrophic 578beb6305 Use selected object local variables in console (feature #3893) 6 years ago
elsid f6a1d3cecf
Store weak pointers to navmesh in jobs queue
To avoid useless processing for removed navmeshes.
6 years ago
elsid ccc709a316
Store guarded navmesh cache item in shared_ptr
Remove useless SharedGuarded type.
6 years ago
elsid 0479ebf5ae
Remove unused actors and navmeshes on update
When there is only one actor (player) on a scene and it moving to other
cell first it will be removed from navigator then added. Remove cause
navmesh removing for its half extents. After it is added navmesh for
same half extents is created and added. While this all happens there are
still jobs for old navmesh are processing. Old navmesh still exists
because it is stored by shared pointer. So jobs take tiles from cache
and place them into old navmesh. After that other jobs take same tiles
from cache (half extents and coordinates are equal) and place them into
other navmesh. dtNavMesh changes tile data on add and remove. Adding tile
to two dtNavMesh corrupts tile in both nameshes.
6 years ago
Bret Curtis 1078708da0
Merge pull request #2235 from akortunov/aifix
[0.45 regression] Fix AI regressions
6 years ago
Bret Curtis bf144fb356
Merge pull request #2238 from Capostrophic/freetype
Include osgdb_freetype in builds with statically linked OSG
6 years ago
Bret Curtis a4b647db3e
Merge pull request #2236 from Capostrophic/audio
Fix EAGAIN error leading to packets getting lost (bugs #4906, #4909)
6 years ago
Bret Curtis ee03d69d49
Merge pull request #2239 from akortunov/warnfix
[Regression] Fix missing null check
6 years ago
Andrei Kortunov 08202f8185 Fix missing null check 6 years ago
Capostrophic 7a07984e2c Include osgdb_freetype in builds with statically linked OSG 6 years ago
Bret Curtis 4a597d94d3
Merge pull request #2233 from elsid/include_osg_system
Mark OpenSceneGraph include directories as system
6 years ago
Chris Djali c328c4a010
Merge pull request #2231 from akortunov/warnfix
Get rid of C-style limits in the shadows code
6 years ago
Capostrophic d1967562a3 Fix the last audio packet getting lost 6 years ago
Andrei Kortunov 2a08b85998 Combat AI: normalize hit chance in the weapon priority calculation 6 years ago
Andrei Kortunov 5f0c8a4783 Combat AI: decrease priority multiplier for enchantments (bug #3830) 6 years ago
Bret Curtis 947bf880df
Merge pull request #2232 from elsid/fix_div_by_zero
Do not scale duration when timescale is zero
6 years ago
Bret Curtis 9b190eceab
Merge pull request #2230 from akortunov/preloading
Minor preloading improvements
6 years ago
elsid a979d24bf3
Mark OpenSceneGraph include directories as system
To avoid warnings spam when use custom build.
6 years ago
elsid d3bdf912a4
Do not scale duration when timescale is zero 6 years ago
Bret Curtis 573e64e9c9
Merge pull request #2184 from elsid/fix_startup_script
[Testing needed] Always run startup script once at engine start (bug #4877)
6 years ago
Andrei Kortunov bacaa1f789 Get rid of C-style limits in the shadows code 6 years ago
Bret Curtis 048cfdfac6
Merge pull request #2228 from Capostrophic/mainmenu
Fix main menu toggling again
6 years ago
Andrei Kortunov 12f9184d00 Allow to interrupt terrain preloading 6 years ago
Andrei Kortunov b214c54b3a Calculate bounding volumes when preloading model instance 6 years ago
Bret Curtis c20e69ef24
Merge pull request #2227 from elsid/fix_twitchy_massive_creatures
Fix twitchy movement for massive creatures (bug #4907)
6 years ago
Bret Curtis e3bde5ec91
Merge pull request #2226 from akortunov/projectilefix
Use relative animation time only for bows and crossbows
6 years ago
Bret Curtis c2a7aa2932
Merge pull request #2225 from elsid/retry_async_navmesh_update_job
Support explicit limit of navmesh tiles for scene
6 years ago
Capostrophic ca83b9ee90 Refactor main menu and settings toggling again 6 years ago
elsid ea80a81538
Drop path points while tolerance allows 6 years ago
elsid b9f21ec81a
Use custom steps size to make smooth path depending on half extents 6 years ago
elsid 8fd6b37e34
Make path point tolerance depending on actor half extents 6 years ago
bzzt e0cf460ba3 Do not load terrain beyond the viewing distance 6 years ago
Andrei Kortunov a6fd077537 Render nearby default cells if the Distant Terrain is disabled 6 years ago
Andrei Kortunov 46e1ed660c Revert "Render default land texture for Wilderness cells with distant terrain"
This reverts commit 888c2d9a33.
6 years ago
Andrei Kortunov 4c21776b94 Use relative animation time only for bows and crossbows (bug #3778) 6 years ago
elsid f2e47d640d
Add option to limit max number of navmesh tiles 6 years ago
elsid ff47df4f2c
Repost navmesh update jobs when failed because of out of memory
DT_OUT_OF_MEMORY error is returned when limit of tiles is reached.
6 years ago
Bret Curtis 1e4bbe8997
Merge pull request #2223 from Capostrophic/animation
Fix raki creatures in Skyrim: Home of the Nords (bug #4810)
6 years ago
Bret Curtis 95e5fd0699
Merge pull request #2215 from akortunov/menufix
Partially revert recent changes in the menu handling
6 years ago
elsid 82e2739bae
Notify workers when only at least one job is posted 6 years ago
elsid b9b8ed177c
Store priority values as named fields 6 years ago
elsid 0c16fef285
Add navmesh update status builder 6 years ago
elsid 14c9190f49
Move tile replacement into separate function 6 years ago
elsid b6243e7d1f
Fix name styleguide 6 years ago
Andrei Kortunov de41c98022 Refactor menu toggling 6 years ago
Bret Curtis 551563cbfb Merge branch 'clsb-warning' into 'master'
Hopefully fix Clang warning about hiding overloaded virtual functions

See merge request OpenMW/openmw!82
6 years ago