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.
2022-09-08 11:06:35 +02:00
elsid
d15e1dca84
Use R-tree for objects to be used for navmesh generation
...
Instead of storing a set of objects per tile.
2022-09-07 22:51:56 +02:00
psi29a
1859c6eded
Merge branch 'pcvisionbonus' into 'master'
...
Implement PCVisionBonus functions
Closes #6983
See merge request OpenMW/openmw!2371
2022-09-07 20:27:22 +00:00
psi29a
1f2c473242
Merge branch 'bhk' into 'master'
...
Load bhkCapsuleShape and bhkSphereShape
See merge request OpenMW/openmw!2377
2022-09-07 20:25:24 +00:00
psi29a
1943486812
Merge branch 'savescreenshots' into 'master'
...
!2358 follow-up (bug #6661 )
Closes #6661
See merge request OpenMW/openmw!2376
2022-09-07 20:24:41 +00:00
psi29a
fcd9b78cac
Merge branch 'REFACTOR_STORE' into 'master'
...
Refactoring the ESM store to better support many new ESM4 types
See merge request OpenMW/openmw!2161
2022-09-07 20:22:29 +00:00
florent.teppe
31a14952b7
no more getIdType, only setIdType
2022-09-07 18:45:15 +02:00
psi29a
1ceaabdc76
Merge branch 'clang-format-2' into 'master'
...
More clang-format adjustments, test format a couple files
See merge request OpenMW/openmw!2359
2022-09-07 14:49:57 +00:00
ζeh Matt
ef23f752f6
Adjust a couple clang-format options
2022-09-07 17:47:12 +03:00
Alexei Kotov
336bef0403
Update changelog
2022-09-07 16:27:52 +03:00
Alexei Kotov
81c78f5477
Keep savegame screenshots up-to-date
2022-09-07 16:18:33 +03:00
Alexei Kotov
0d3a1470c9
Fix double quote marks
2022-09-07 16:12:26 +03:00
Alexei Kotov
f17b1cd7ab
Load bhkCapsuleShape and bhkSphereShape
2022-09-07 16:09:19 +03:00
psi29a
dcbe59b712
Merge branch 'animchangelog' into 'master'
...
Update changelog
See merge request OpenMW/openmw!2375
2022-09-07 12:48:55 +00:00
Alexei Kotov
a285c62e54
Update changelog
2022-09-07 15:32:45 +03:00
psi29a
912a4d69ee
Merge branch 'reuse_simulations_buffer' into 'master'
...
Reuse physics simulations buffer (#6588 )
Closes #6588
See merge request OpenMW/openmw!2374
2022-09-07 10:30:59 +00:00
psi29a
a5664d7ba9
Merge branch 'reserve_utf8_stream' into 'master'
...
Reserve the output buffer in lowerCaseUtf8
See merge request OpenMW/openmw!2370
2022-09-07 10:05:26 +00:00
psi29a
c4deacbff8
Merge branch 'navigator_fixes' into 'master'
...
Navigator fixes
See merge request OpenMW/openmw!2373
2022-09-07 10:03:52 +00:00
elsid
277211c5b4
Reuse physics simulations buffer
...
To avoid redundant allocations.
Use 2 buffers to make sure there is no overlap between main and the background
threads.
2022-09-07 03:06:59 +02:00
florent.teppe
e961ac6f7c
function doesn't need to return int
2022-09-06 23:30:51 +02:00
florent.teppe
b1d5d604be
various fixes
...
fixed naming convention
replaced std::string by string_view when possible
removed unused function and member varaible
replaced type::value by type_v
set default destructor in cpp
function getTypeIndex => getnextindex
2022-09-06 23:10:58 +02:00
elsid
180d609e0d
Check "wait until min distance to player" only for requiredTilesPresent wait condition
...
allJobsDone should wait even if "wait until min distance to player" is 0.
2022-09-06 21:51:48 +02:00
elsid
955db8f825
Call Navigator::setWorldspace once per changing cell
2022-09-06 21:51:48 +02:00
elsid
98ddc31902
Fix calculating min distance to nearest absent tile
...
Tile can be present in either mPushed (waiting in a queue), mProcessingTiles (
being processed or waiting in db queue), mPresentTiles (added to navmesh). It's
not enough to walk over mPushed tiles to find all not present. Need also to
check mProcessingTiles.
Otherwise if all tiles are in mProcessingTiles only
waitUntilJobsDoneForNotPresentTiles may return too early because there are none
in mPushed and therefore none tiles are considered to be absent on navmesh which
is not true.
2022-09-06 21:51:48 +02:00
elsid
de80b86cc1
Use proper type to cast enum value
2022-09-06 21:51:48 +02:00
elsid
204ab6fea3
Use version instead of generation and revision for recast mesh
2022-09-06 21:51:48 +02:00
elsid
914edd1194
Make frequently called oneliners inline
2022-09-06 21:51:48 +02:00
elsid
d1a294664e
Do not try to update tile to post
...
changedTiles contains unique set of positions and tilesToPost is empty initially
therefore it's not possible to add the same position twice.
2022-09-06 21:51:48 +02:00
psi29a
c4d357df0f
Merge branch 'blindness' into 'master'
...
Derive screen brightness from the blind modifier
Closes #6987
See merge request OpenMW/openmw!2372
2022-09-06 17:48:33 +00:00
florent.teppe
7bc506ff86
linux copmile
2022-09-06 14:33:03 +02:00
florent.teppe
564c5d6690
fixed naming convention issue
2022-09-06 14:27:53 +02:00
florent.teppe
e23d9c11a8
moved a bit of code back in the header to avoid many template specialization
2022-09-06 14:19:55 +02:00
florent.teppe
0dd529ab1d
With the records include removed from store.hpp, need to include the relevant files accross the codebase.Lots of touched files, but very little done
2022-09-06 13:26:13 +02:00
florent.teppe
445d91d85d
adds missing include
2022-09-06 13:26:13 +02:00
Evil Eye
6117b10cfa
Derive screen brightness from the blind modifier
2022-09-05 20:31:48 +02:00
Evil Eye
489c7a10b6
Implement PCVisionBonus functions
2022-09-05 20:21:19 +02:00
psi29a
8e7cee5861
Merge branch 'shut_it' into 'master'
...
Make the Sound magic effect make noise
Closes #6986
See merge request OpenMW/openmw!2369
2022-09-05 17:55:49 +00:00
psi29a
9472998bad
Merge branch 'ori' into 'master'
...
Implement the full version of the ori command
See merge request OpenMW/openmw!2368
2022-09-05 17:55:21 +00:00
psi29a
8b19424cf6
Merge branch 'navigator_changed_tiles' into 'master'
...
Store changed tiles in TileCachedRecastMeshManager
See merge request OpenMW/openmw!2367
2022-09-05 17:54:42 +00:00
jvoisin
9f62f0c292
Reserve the output buffer in lowerCaseUtf8
...
Since lowercasing an utf8 string shouldn't change its size very much,
it does make sense to reserve the output buffer, to reduce
memory allocations.
2022-09-05 19:46:39 +02:00
florent.teppe
4bb9a4166d
The tuple types declaration is back in the header, but there is no need for implementation details to be known for any of the types
2022-09-05 18:38:59 +02:00
Evil Eye
9484d8ce51
Make the Sound magic effect make noise
2022-09-05 18:04:31 +02:00
florent.teppe
57df51b4a6
fixed made by @ZehMatt in 6abb96250f
and cdcf1393fc
2022-09-05 18:04:10 +02:00
florent.teppe
9092c32f2e
fixed incompatibilities caused bu merge
2022-09-05 17:57:13 +02:00
florent.teppe
3cbd0e0762
Fixed naming convention
2022-09-05 17:35:36 +02:00
florent.teppe
9e40550a4a
improved readability of esm3Recname and esm4Recname
2022-09-05 17:35:36 +02:00
florent.teppe
1ed22a298d
fix compile
2022-09-05 17:35:36 +02:00
florent.teppe
7bd7105345
code cleanup
2022-09-05 17:35:36 +02:00
florent.teppe
33ea66b86d
Type index type error fixed
2022-09-05 17:35:36 +02:00
florent.teppe
85a9edf2ee
removes useless make_tuple, and changes type of typeIndex to size_t
2022-09-05 17:35:36 +02:00