Commit Graph

26526 Commits (7c5a590890f9c0404cca74a931c131a48b1cfda6)
 

Author SHA1 Message Date
Bo Svensson b6f572578e
Groundcover optimisation (#3101)
* groundcover.cpp share state

* groundcover.hpp share state
3 years ago
psi29a 0ab8a7ddd7 Merge branch 'create-objects-menu' into 'master'
OpenMW-CS: Usability changes to the drop-down menu when creating a new object.

See merge request OpenMW/openmw!1210
3 years ago
psi29a ff29bd8dfa Merge branch 'revert-c284d0cf' into 'master'
Fix weapon sheathing is broken

Closes #6272

See merge request OpenMW/openmw!1215
3 years ago
Bo Svensson 6d12a240a3
shadervisitor.cpp uniform 3 years ago
Bo Svensson 52a9b4d989
shadowsbin.cpp uniform 3 years ago
psi29a c40f921396 Revert "actoranimation.cpp faster getbonebyname (#3099)"
This reverts commit c284d0cf5c
3 years ago
Cédric Mocquillon d7352ded36 Add configurable color and offset 3 years ago
Cédric Mocquillon 080c909c28 Merge the 'debug chunks' and 'object paging debug batches' settings into a single one 3 years ago
Cédric Mocquillon 4b7d0bba53 Avoid adding redundant osg;;Group in non debug mode 3 years ago
Cédric Mocquillon 98a0819d52 Debug terrain chunks 3 years ago
Bo Svensson e2d0e86020
cellpreloader.cpp unused variable (#3102) 3 years ago
Frederic Chardon 6669438f7f Merge branch 'osg_stats_sources' into 'master'
Support multiple file sources for osg stats

See merge request OpenMW/openmw!1213
3 years ago
elsid 36ba56a513
Support multiple file sources for osg stats 3 years ago
psi29a f8c7664234 Merge branch 'copy_before_move' into 'master'
Maybe fix #6259

Closes #6259

See merge request OpenMW/openmw!1197
3 years ago
Bo Svensson ac72f3d636
reduces virtual function calls in a hotspot of cache retrieval (#3100)
* chunkmanager.cpp static_cast [ci skip]

* groundcover.cpp static_cast [ci skip]

* Update objectpaging.cpp

objectpaging.cpp static_cast [ci skip]
3 years ago
psi29a 01a8998e3b return if source is null in mergeUserData 3 years ago
Bret Curtis 1edeffbafc constify getBoneByName 3 years ago
Bo Svensson 9d661359a1
Groundcover consolidation (#3096)
* chunkmanager.hpp viewdistance

* chunkmanager.cpp viewdistance

* chunkmanager.hpp viewdistance

* quadtreeworld.cpp viewdistance

* quadtreeworld.cpp consolidate

* quadtreeworld.hpp consolidate

* renderingmanager.cpp groundcover consolidate

* renderingmanager.hpp groundcover consolidate

* renderingmanager.cpp updater move

* renderingmanager.hpp updater move

* groundcover.hpp activegrid consolidation

* groundcover.cpp activegrid consolidation

* settings-default.cfg dead settings remove

* viewdata.cpp revert

* wrong file paste mistake

* wrong file paste mistake

* wrong file paste mistake

* renderingmanager.cpp updatecallback fix

* renderingmanager.cpp namespace fix

* groundcover.hpp redefinition fix

* groundcover.cpp redefinition fix

* renderingmanager.cpp crash fix

* renderingmanager.cpp euclidean groundcover distance

* viewdata.hpp getreusedistance

* quadtreeworld.cpp reusedistance

* groundcover.rst [ci skip]
3 years ago
Bo Svensson c284d0cf5c
actoranimation.cpp faster getbonebyname (#3099) 3 years ago
Bo Svensson afba1884ab
clone.cpp remove dynamic_cast (#3097) 3 years ago
Bo Svensson 147ed39900
This PR solves a crash with Robert's bodies logged on your bugtracker. (#3095)
* attach.cpp [ci skip]

* attach.cpp [ci skip]

* attach.cpp [ci skip]

* npcanimation.cpp [ci skip]

* attach.hpp [ci skip]

* attach.cpp [ci skip]

* creatureanimation.cpp [ci skip]

* creatureanimation.cpp [ci skip]

* cellpreloader.cpp

* npcanimation.cpp

* attach.cpp

* make android adk happy

* make android adk happy

* changelog.md [ci skip]

* authors.md [ci skip]
3 years ago
psi29a ac3fda0b3d Merge branch 'string_view' into 'master'
Pass std::string_view instead of const std::string&

See merge request OpenMW/openmw!1209
3 years ago
elsid 133fcbece5 Merge branch 'correct-linux-save-path' into 'master'
This is the right path for saves

See merge request OpenMW/openmw!1208
3 years ago
Lamoot 6e6214bc43 In OpenMW-CS, when creating a new object, sort the entries in the drop-down menu alphabetically. Also have the menu be tall enough to show all of them at once (without scroll bars). 3 years ago
elsid 6b7434ca69
Pass std::string_view instead of const std::string&
* Starting with Actor::getBodyPartMesh and ending with
  Misc::StringUtils::ciEqual.
* Add tests for Misc::StringUtils::ciEqual.
3 years ago
psi29a acefcf8e7a Merge branch 'bad-ci_commit_ref_name-no-biscuits' into 'master'
Remove unsafe characters from zip filenames on Windows

See merge request OpenMW/openmw!1207
3 years ago
Bret Curtis 0eb753767f
Merge pull request #3098 from bosvensson1/findbynamevisitor
visitor.cpp early out
3 years ago
Hristos N. Triantafillou dc623597b4
This is the right path for saves 3 years ago
AnyOldName3 5ab5419f7b Remove unsafe characters from zip filenames on Windows 3 years ago
Bo Svensson d36c373cc7
visitor.cpp early out 3 years ago
psi29a 149241daae Merge branch 'dead_animation_code_removal' into 'master'
Dead animation code removal

Closes #6264

See merge request OpenMW/openmw!1198
3 years ago
JanuarySnow bdbc6c0cba Dead animation code removal 3 years ago
psi29a 4bf22f3ca0 Merge branch 'fix_pathgrid_path' into 'master'
Use pathgrid path when destination is closer to different graph component node

See merge request OpenMW/openmw!1155
3 years ago
psi29a a0eda45891 Merge branch 'find_missing_merge_requests' into 'master'
Add script to find missing merge requests

See merge request OpenMW/openmw!1201
3 years ago
psi29a 41f9671841 Merge branch 'update-docs-dev-link' into 'master'
Documentation: Update an obsolete link pointing to the old wiki.

See merge request OpenMW/openmw!1204
3 years ago
psi29a 44d1a77a87 Merge branch 'sleep_free_preload' into 'master'
Make sync terrain preloading sleep free

See merge request OpenMW/openmw!1203
3 years ago
Matjaž Lamut b19da7f650 Update an obsolete link pointing to teh old wiki. The information is moved to the new wiki at gitlab and the link now points there. 3 years ago
elsid 605cb8db7c
Make sync terrain preloading sleep free
This reduces average time spent on in. 5 milliseconds as a base precision is
quite a lot considering that for 60 FPS frame time is 1000/16 = ~16.67 ms
when it's a cell loading frame and there is more important work to do rather
than sleeping.
3 years ago
elsid e30709170d
Add script to find missing merge requests 3 years ago
psi29a aef6ec464c Merge branch 'optimize_add_item' into 'master'
Optimize ContainerStore::stacks (attempt #2)

See merge request OpenMW/openmw!1200
3 years ago
psi29a 422571367f Merge branch 'osg_plugins' into 'master'
Define dependency to OSG plugins in one place (attempt #2)

See merge request OpenMW/openmw!1199
3 years ago
elsid 403f0a72f0
Do not copy RefId when need to compare
Makes ContainerStore::stacks ~4x times faster when adding 4k different items
in a single frame.
3 years ago
elsid e910dd7a25
Rename CellRef::getRefIdPtr -> getRefIdRef and return reference
Return value can't be nullptr. Pointer complicates the code because has to be
dereferenced.

Also move function definition to hpp to make it easier for compiler to optimize
calls.
3 years ago
elsid b0f772af40
Define dependency to OSG plugins in one place
Each binary depending on components library requires OSG plugins to be linked.
Duplicating dependecies for each binary does not give benefits and brings
problems when new binary is added.
3 years ago
Frederic Chardon 7b26058fa5 moveObject() has side effects that might invalidate iterators from mActors. Instead of iterating over mActors, make a copy of needed data and iterate over the copies. 3 years ago
psi29a 6170971ea3 Merge branch 'bettermoveinstance' into 'master'
Set instance movement based on camera zoom

See merge request OpenMW/openmw!1186
3 years ago
jvoisin 0b2b0e93ff Merge branch 'commulative_timeseries' into 'master'
Support commulative timeseries graph for osg stats

See merge request OpenMW/openmw!1195
3 years ago
elsid 43538a5ca5
Support commulative timeseries graph for osg stats 3 years ago
Petr Mikheev c4dca196b9 Merge branch 'fix_warnings' into 'master'
Fix -Wreturn-local-addr warning

See merge request OpenMW/openmw!1194
3 years ago
elsid 1b1deeb59b
Fail CI build when not allowed warnings are present
Put -Wno-error after -Wall to make it work properly for clang.
3 years ago