Commit Graph

29355 Commits (d15e1dca848ff66d19bf27d30e0fddab511cbf48)
 

Author SHA1 Message Date
elsid d15e1dca84
Use R-tree for objects to be used for navmesh generation
Instead of storing a set of objects per tile.
2 years ago
psi29a 1859c6eded Merge branch 'pcvisionbonus' into 'master'
Implement PCVisionBonus functions

Closes #6983

See merge request OpenMW/openmw!2371
2 years ago
psi29a 1f2c473242 Merge branch 'bhk' into 'master'
Load bhkCapsuleShape and bhkSphereShape

See merge request OpenMW/openmw!2377
2 years ago
psi29a 1943486812 Merge branch 'savescreenshots' into 'master'
!2358 follow-up (bug #6661)

Closes #6661

See merge request OpenMW/openmw!2376
2 years ago
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
2 years ago
florent.teppe 31a14952b7 no more getIdType, only setIdType 2 years ago
psi29a 1ceaabdc76 Merge branch 'clang-format-2' into 'master'
More clang-format adjustments, test format a couple files

See merge request OpenMW/openmw!2359
2 years ago
ζeh Matt ef23f752f6
Adjust a couple clang-format options 2 years ago
Alexei Kotov 336bef0403 Update changelog 2 years ago
Alexei Kotov 81c78f5477 Keep savegame screenshots up-to-date 2 years ago
Alexei Kotov 0d3a1470c9 Fix double quote marks 2 years ago
Alexei Kotov f17b1cd7ab Load bhkCapsuleShape and bhkSphereShape 2 years ago
psi29a dcbe59b712 Merge branch 'animchangelog' into 'master'
Update changelog

See merge request OpenMW/openmw!2375
2 years ago
Alexei Kotov a285c62e54 Update changelog 2 years ago
psi29a 912a4d69ee Merge branch 'reuse_simulations_buffer' into 'master'
Reuse physics simulations buffer (#6588)

Closes #6588

See merge request OpenMW/openmw!2374
2 years ago
psi29a a5664d7ba9 Merge branch 'reserve_utf8_stream' into 'master'
Reserve the output buffer in lowerCaseUtf8

See merge request OpenMW/openmw!2370
2 years ago
psi29a c4deacbff8 Merge branch 'navigator_fixes' into 'master'
Navigator fixes

See merge request OpenMW/openmw!2373
2 years ago
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.
2 years ago
florent.teppe e961ac6f7c function doesn't need to return int 2 years ago
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
2 years ago
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.
2 years ago
elsid 955db8f825
Call Navigator::setWorldspace once per changing cell 2 years ago
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.
2 years ago
elsid de80b86cc1
Use proper type to cast enum value 2 years ago
elsid 204ab6fea3
Use version instead of generation and revision for recast mesh 2 years ago
elsid 914edd1194
Make frequently called oneliners inline 2 years ago
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.
2 years ago
psi29a c4d357df0f Merge branch 'blindness' into 'master'
Derive screen brightness from the blind modifier

Closes #6987

See merge request OpenMW/openmw!2372
2 years ago
florent.teppe 7bc506ff86 linux copmile 2 years ago
florent.teppe 564c5d6690 fixed naming convention issue 2 years ago
florent.teppe e23d9c11a8 moved a bit of code back in the header to avoid many template specialization 2 years ago
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 2 years ago
florent.teppe 445d91d85d adds missing include 2 years ago
Evil Eye 6117b10cfa Derive screen brightness from the blind modifier 2 years ago
Evil Eye 489c7a10b6 Implement PCVisionBonus functions 2 years ago
psi29a 8e7cee5861 Merge branch 'shut_it' into 'master'
Make the Sound magic effect make noise

Closes #6986

See merge request OpenMW/openmw!2369
2 years ago
psi29a 9472998bad Merge branch 'ori' into 'master'
Implement the full version of the ori command

See merge request OpenMW/openmw!2368
2 years ago
psi29a 8b19424cf6 Merge branch 'navigator_changed_tiles' into 'master'
Store changed tiles in TileCachedRecastMeshManager

See merge request OpenMW/openmw!2367
2 years ago
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.
2 years ago
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 2 years ago
Evil Eye 9484d8ce51 Make the Sound magic effect make noise 2 years ago
florent.teppe 57df51b4a6 fixed made by @ZehMatt in 6abb96250f and cdcf1393fc 2 years ago
florent.teppe 9092c32f2e fixed incompatibilities caused bu merge 2 years ago
florent.teppe 3cbd0e0762 Fixed naming convention 2 years ago
florent.teppe 9e40550a4a improved readability of esm3Recname and esm4Recname 2 years ago
florent.teppe 1ed22a298d fix compile 2 years ago
florent.teppe 7bd7105345 code cleanup 2 years ago
florent.teppe 33ea66b86d Type index type error fixed 2 years ago
florent.teppe 85a9edf2ee removes useless make_tuple, and changes type of typeIndex to size_t 2 years ago
florent.teppe 31330c9abc oups 2 years ago