Commit Graph

31175 Commits (2f5bfb4df2dd3a8533bb5a31068b8815ac8663d3)
 

Author SHA1 Message Date
elsid 5d5e6844d1
Use settings values for Camera settings 2 years ago
jvoisin 81bd034a9e Guard an undefined behaviour
`std::vector.back()` on an empty `std::vector` is undefined.
This should fix #6725.

Thanks to @Capostrophic for the investigation.
2 years ago
jvoisin cde7aeac3d Replace an `asert` with a conditional throw
The assert is reachable, resulting in a brutal `abort`
instead of a nice exception.
2 years ago
Alexei Kotov 5b36ea0179 Merge branch 'fix_cell_settings_type' into 'master'
Map SettingValueType Cell to float setting type (#7382)

Closes #7382

See merge request OpenMW/openmw!3035
2 years ago
elsid 4be43a2dca
Map SettingValueType Cell to float setting type 2 years ago
Petr Mikheev fdd80f93e9 Merge branch 'bb_fix_lua' into 'master'
lua - fix bounding box in active grid

See merge request OpenMW/openmw!3031
2 years ago
Petr Mikheev c6eed2a6c6 Fix bug in LuaUi::Element::destroy() that sometimes leads to an infinite loop on UI cleanup 2 years ago
glassmancody.info 06676fd623 lua - fix bounding box in active grid 2 years ago
Petr Mikheev 1d55844f26 Update mHalfGridSize in Scene::changeCellGrid before using it. 2 years ago
Alexei Kotov 5f6ca2a6d1 Merge branch 'fix_worldspaces' into 'master'
Bugfix: Unload active cells when teleporting to another exterior worldspace

See merge request OpenMW/openmw!3028
2 years ago
Petr Mikheev 690c752984 Unload active cells when teleporting to another exterior worldspace 2 years ago
psi29a 1ce35fa9e7 Merge branch 'lua-bounding-box' into 'master'
Expose game object's bounding box in lua api

See merge request OpenMW/openmw!3009
2 years ago
psi29a e952eac501 Merge branch 'initialize' into 'master'
Explicitly intialize the fields in `ESM4::Cell` that don't have default constructors.

See merge request OpenMW/openmw!3027
2 years ago
Petr Mikheev be26fbdacb Explicitly intialize the fields in `ESM4::Cell` that don't have default constructors. 2 years ago
glassmancody.info a7b7f99d72 Expose game object's bounding box in lua api 2 years ago
psi29a a939834a8b Merge branch 'esm4refs' into 'master'
ESM4 walking simulator improvements

See merge request OpenMW/openmw!3024
2 years ago
Petr Mikheev 61232f4b75 Fix uninitialized mWaterLevel in esm4/loadwrld.cpp 2 years ago
Petr Mikheev 493858127a Drop NIF root node transformation for Skyrim models the same way as for Morrowind models. 2 years ago
Petr Mikheev 169859025c Don't use `getTerrainHeightAt(pos)` when adjusting position in ESM4 cell because this function is currently specific to ESM3. 2 years ago
Petr Mikheev c8056f6561 Hide ESM4 LOD objects and markers 2 years ago
Petr Mikheev 29031d0586 Increase ESM4 active grid 2 years ago
Petr Mikheev ac65246389 Speedup ESM4 cell loading; load objects from permanent cells (exterior doors in particular) 2 years ago
Petr Mikheev b1409182bc Merge branch 'esm4_reading_fixes' into 'master'
ESM4 reading fixes

See merge request OpenMW/openmw!3026
2 years ago
elsid 15f3e3ae71
Support ESM4 IDLE record 2 years ago
elsid 584c0dbcdc
Support reading bool GMST by ESM4 2 years ago
elsid ee3956e4f2
Print FormId as hex by esmtool dump 2 years ago
elsid 010db45a10
Read ESM::FormId using ESM4::Reader::getFormId 2 years ago
psi29a 99ed8557bf Merge branch 'get_rid_of_std_bind' into 'master'
Get rid of std::bind

See merge request OpenMW/openmw!3023
2 years ago
psi29a 952bb016be Merge branch 'navmesh_cache_metrics' into 'master'
Navmesh cache metrics

See merge request OpenMW/openmw!3025
2 years ago
elsid a90aa7d8b2
Count navmeshdb reads for each reading job 2 years ago
elsid 5ae8b9cae1
Report raw navmesh cache counters 2 years ago
psi29a 2a7d5a89d7 Merge branch 'fix_navmeshtool_avoid_shape' into 'master'
Use different object id for avoid shape

See merge request OpenMW/openmw!3021
2 years ago
psi29a 5fba79ece3 Merge branch 'teleport' into 'master'
Additional Lua bindings for cells and fixes for teleporting

See merge request OpenMW/openmw!3017
2 years ago
psi29a 41c9e3c449 Merge branch 'selected_spell' into 'master'
Lua commands getSelectedSpell/setSelectedSpell

See merge request OpenMW/openmw!3018
2 years ago
smilczek 8cf431aeb2 Added a missing comma 2 years ago
smilczek f27dfd3f57 Added modernize-avoid-bind to .clang-tidy 2 years ago
smilczek 027d51bfc0 fixed a mistake 2 years ago
smilczek 05a2dc985b Clang format 2 years ago
smilczek 2910e35bc2 Clarified the lambda expressions 2 years ago
smilczek 42cab989b1 got rid of auto 2 years ago
smilczek 128bb11833 done 2 years ago
elsid 2a7b105484
Use different object id for avoid shape
Otherwise addObject will ignore it as a duplicate and resulting recastmesh will
not match generated by the engine causing navmeshdb cache miss.
2 years ago
elsid a8a76f9a05
Fix BulletShape copy constructor and use for BulletShapeInstance
Copy mVisualCollisionType.
2 years ago
elsid 04d439485b
Log more info about navmesh shapes and jobs 2 years ago
psi29a 3fe621d55f Merge branch 'fix_7378' into 'master'
Fix #7378 (dropped objects vanish when saving and reloading)

Closes #7378

See merge request OpenMW/openmw!3020
2 years ago
Petr Mikheev e657874351 Lua commands getSelectedSpell/setSelectedSpell 2 years ago
Petr Mikheev 63906059f1 Fix #7378 (dropped objects vanish when saving and reloading) 2 years ago
Petr Mikheev 7113638848 Fix animation of teleported non-teleporting doors. 2 years ago
Petr Mikheev ce7f6f31c9 Additional Lua bindings for cells 2 years ago
Petr Mikheev 2725a9d7f4 Add option "onGround=true/false" in Lua teleporting 2 years ago