Commit Graph

26329 Commits (e4648cec48ba9b28e8907b23ffa68d63c9f1e6e8)
 

Author SHA1 Message Date
AnyOldName3 88b666ae26 Merge branch 'break_the_fall' into 'master'
Addresss GCC compiler warning

See merge request OpenMW/openmw!1142
3 years ago
jvoisin 0792bb212a Use an emplace instead of an insert 3 years ago
glassmancody.info ed72f3335b silence compiler warning 3 years ago
fredzio ec871e6bf7 Use shared_ptr instead of weak_ptr for actors handle inside the
simulation

The purpose of weak_ptr is to avoid performing the simulation on deleted
Actor by promoting it to a shared_ptr via a lock() call. This clutter
the code with a lot of branches, whereas the overwhelmingly common case is for the call to succeed.
Since the simulation is decoupled from the engine state, we can use a shared_ptr instead of a weak_ptr.
This allow us to ignore (ie not handle) the rarer case where the actor is delete from the scene. This means that the simulation
will run for one frame more than before for each actor, whereas the rest of the engine
will be ignorant of this.
3 years ago
AnyOldName3 7400050b38 Merge branch 'character_preview_alpha_fix' into 'master'
Fix transparent objects being invisible in character doll

See merge request OpenMW/openmw!1140
3 years ago
glassmancody.info 6cc71745ac ensure character preview is using standard depth 3 years ago
AnyOldName3 a286404346 Merge branch '6220-fix' into 'master'
Double buffering the water's node position uniform

Closes #6220

See merge request OpenMW/openmw!1139
3 years ago
Mads Buvik Sandvei d40c18234a Double buffering the water's node position uniform 3 years ago
fredzio 713f612bdb Partially revert !1046: the player is added before the scene exists, so we need to check again the grounded state, as it correctly was. 3 years ago
elsid 4e0e2fb52f Merge branch 'clang_warning' into 'master'
Fix two -Wreorder clang warnings

See merge request OpenMW/openmw!1136
3 years ago
jvoisin b01ef2629c Fix two Wreorder clang warnings 3 years ago
jvoisin baf62f4922 Don't save artifacts when using coverity 3 years ago
psi29a 508682cda7 Merge branch 'serialize' into 'master'
Serialize NifOsg::MatrixTransform children properly

See merge request OpenMW/openmw!1127
3 years ago
Alexei Dobrohotov c09e011af4 Merge branch 'remove-ilk' into 'master'
Remove incremental link files from the artefacts

See merge request OpenMW/openmw!1128
3 years ago
Alexei Dobrohotov 839cf36bdd Merge branch 'hidden_markers' into 'master'
Use common implementation to filter hidden markers

See merge request OpenMW/openmw!1132
3 years ago
Alexei Dobrohotov dbf12b764f Merge branch 'navmesh_rm_has_tile' into 'master'
Remove redundant TileCachedRecastMeshManager::hasTile function

See merge request OpenMW/openmw!1133
3 years ago
elsid 46fa3ce083
Fix flags length for rcPolyMesh
recastnavigation documentation of rcPolyMesh is misleading. It says flags field
length is maxpolys when actually it's allocated as npolys.
3 years ago
elsid 54a676f2e3
Add functions to get length of recast type arrays
To avoid duplicating same formulas in multiple places.
3 years ago
elsid 05258ed644
Remove redundant TileCachedRecastMeshManager::hasTile function
It's used only for tests. getMesh is a valid replacement.
3 years ago
elsid 8ac8d56e8c
Mark TileCachedRecastMeshManager member functions as const where possible 3 years ago
elsid 3caf45807f
Use common implementation to filter hidden markers 3 years ago
elsid 09b1a2e3c6
Make unchanging Job fields const 3 years ago
elsid 21ce4fe637
Use structured binding 3 years ago
elsid 8bca9eec80
Use single set to store pushed tiles 3 years ago
elsid a97b2ced27
Use single map to store last updates 3 years ago
elsid bfcc430822
Use single map to store processing tiles 3 years ago
elsid 902b0f9f84
Store jobs in the same container until they are processed
Push to queue and reorder only iterators.
3 years ago
Cédric Mocquillon b0b60b05b8 Do not update doors markers at each frame, only when needed 3 years ago
elsid 8db640289c
Use single set to store pushed jobs for tiles 3 years ago
elsid a99266a60e
Do not measure total navmesh generation duration
This is not a useful thing anymore.
3 years ago
unelsson 298db2ef76 Initialize and check pointer. 3 years ago
unelsson f1d05a93bf Get index and model from proxy 3 years ago
elsid 9460a8760e
Move operator<< for UpdateNavMeshStatus to header 3 years ago
AnyOldName3 8287c5ee4e Remove incremental link files from the artefacts
They make the files people download much bigger.
3 years ago
Alexei Dobrohotov b49f51cbfc Serialize NifOsg::MatrixTransform children properly 3 years ago
psi29a 3c6f145753 Merge branch 'update_changelog' into 'master'
Add #4595 to changelog

See merge request OpenMW/openmw!1125
3 years ago
elsid f9c3e1272b
Add #4595 to changelog
Resolved by https://gitlab.com/OpenMW/openmw/-/merge_requests/430
3 years ago
jvoisin bcdd0f55da Merge branch 'bc_refnum' into 'master'
Always print object refnum

See merge request OpenMW/openmw!1123
3 years ago
elsid e84a177a91
Always print object refnum
Also print content file index even when it's negative. To be able to identify
the object unambiguously.
3 years ago
psi29a 640998aca0 Merge branch 'revert' into 'master'
#6212 Revert idiotic change

See merge request OpenMW/openmw!1122
3 years ago
fredzio de9ee2f196 Revert "Calls directly MovementSolver::traceDown instead of"
This reverts commit c1e50f530b.
3 years ago
Petr Mikheev 0e6fbbc126 Lua package 'openmw.input' 3 years ago
psi29a ee1ec53cd9 Merge branch 'fix_op_bzzt_whoopsie_2' into 'master'
Fixing another bzzt whoopsie

See merge request OpenMW/openmw!1118
3 years ago
psi29a 45b45b3560 Merge branch 'fix_op_bzzt_whoopsie' into 'master'
resolve issue of OP meshes that cross boundaries

See merge request OpenMW/openmw!1117
3 years ago
psi29a eb3c50842d Merge branch 'ZoomableMapsIncreasesLoadingTimes' into 'master'
Zoomable maps increases loading times

Closes #6204

See merge request OpenMW/openmw!1106
3 years ago
Bret Curtis 436c640da2 the old switch-a-roo because we shoudl only StopTraversal when the node size is larger than 1 and not the other way around 3 years ago
Bret Curtis c99bddc8dc Revert "Move reference to the right cell according to its geographical position"
This reverts commit d0677c3f07.
3 years ago
Bret Curtis 7dfaef7644 resolve issue of meshes that cross boundaries; should only be calculating the maxBound, not the minBound of y; also fix it in groundcover as it was copied blindly over; 3 years ago
psi29a 471454adcf Merge branch 'totalspecularcontrol' into 'master'
Don't re-enable specularity w/ material controller for MW models

See merge request OpenMW/openmw!1115
3 years ago
Alexei Dobrohotov 956edca524 Don't re-enable specularity w/ material controller for MW models 3 years ago