Commit Graph

29982 Commits (a4137e941c293e094f6c417ca9cc6f01d1560476)
 

Author SHA1 Message Date
florent.teppe a4137e941c std::string_view can be used in map and unordered map
This avoids some unecessary dynamic allocations.
Also applies some review advice.
2 years ago
florent.teppe 63e44eddc9 Navigator doesn't use RefId anymore 2 years ago
florent.teppe 150e2ba885 Revert "Use ESM::RefId for worldspace in detournavigator"
This reverts commit b4ab153418.

# Conflicts:
#	apps/navmeshtool/worldspacedata.cpp
2 years ago
florent.teppe 3780033837 Reverts Cell name to a string 2 years ago
psi29a 1390c7ed7c Merge branch 'wizard_encodings' into 'master'
Do not use Qt streams with legacy encodings in the Wizard code

Closes #7165

See merge request OpenMW/openmw!2634
2 years ago
psi29a 761aef61ae Merge branch 'normal_fix' into 'master'
Fix pass normals (#7146, #7145)

See merge request OpenMW/openmw!2635
2 years ago
psi29a 757cf7098d Merge branch 'minor-cleanup' into 'master'
Use dedicated function to convert QString to std::filesystem::path

See merge request OpenMW/openmw!2636
2 years ago
Cody Glassman 762eda74f7 Merge branch 'lua_util' into 'master'
Apply clang-format to the previous commit

See merge request OpenMW/openmw!2639
2 years ago
AnyOldName3 438b03908d Use dedicated function to convert QString to std::filesystem::path II
Some missed conversions identified in review.
2 years ago
Petr Mikheev 95999afefd Apply clang-format to the previous commit 2 years ago
Petr Mikheev ca48b778c3 Merge branch 'addutils' into 'master'
Add remap and round to lua utils

See merge request OpenMW/openmw!2605
2 years ago
Kindi 07da7eddea Add remap and round to lua utils 2 years ago
Andrei Kortunov 9a7c57874d Do not use Qt streams with legacy encodings in the Wizard code 2 years ago
Alexei Kotov f0e58d1c59 Merge branch 'ensure_utf8_encoding' into 'master'
Move ensureUtf8Encoding to named namespace

See merge request OpenMW/openmw!2632
2 years ago
AnyOldName3 f757ac642a Use dedicated function to convert QString to std::filesystem::path
I noticed this while reviewing something else and trying to find the
function to recommend using it.
2 years ago
glassmancody.info 27fe8d42ae fix pass normals 2 years ago
elsid dd89403df0
Move ensureUtf8Encoding to named namespace
To follow https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#sf21-dont-use-an-unnamed-anonymous-namespace-in-a-header

Add QtGlobal include to define QT_VERSION and QT_VERSION_CHECK macroses before
they're used.
2 years ago
psi29a e575c25278 Merge branch 'no_teleporting_before_you_eat_your_veggies' into 'master'
Delay teleportation till the menu is closed

Closes #7170

See merge request OpenMW/openmw!2631
2 years ago
Evil Eye 08f998eeb1 Delay teleportation till the menu is closed 2 years ago
psi29a ee980721b8 Merge branch 'debug_lua_memory' into 'master'
Additional information in Lua profiler

See merge request OpenMW/openmw!2612
2 years ago
psi29a 3fea82c06c Merge branch 'remove_ptr_conversion' into 'master'
Remove implicit conversion MWWorld::Ptr -> bool

See merge request OpenMW/openmw!2626
2 years ago
psi29a fbeacc1e0f Merge branch 'navigator_check_agent_bounds' into 'master'
Check agent bounds on adding agent to navigator

See merge request OpenMW/openmw!2629
2 years ago
psi29a 54c18ea86d Merge branch 'change-const-to-constexpr' into 'master'
change const to constexpr

Closes #6797

See merge request OpenMW/openmw!2630
2 years ago
elsid cf1d8544e3
Check agent bounds on adding agent to navigator
Do not add agent bounds which are not supported by recastnavigation with given
settings and log such events.

To avoid reaching navmesh tile generation to find out it can't be generated for
such agent bounds.
2 years ago
James-Deciutiis 4e61fec14d change const to constexpr 2 years ago
Petr Mikheev e9420b2b68 Remove implicit conversion MWWorld::Ptr -> bool 2 years ago
psi29a a7e37509de Merge branch 'xanimphysics' into 'master'
Fix animated object physics

Closes #7164

See merge request OpenMW/openmw!2623
2 years ago
Alexei Kotov b261f3bf65 Fix animated object physics 2 years ago
psi29a ee862fe825 Merge branch 'qt6_fixes' into 'master'
Do not use reprecated Qt API where we can avoid it

See merge request OpenMW/openmw!2621
2 years ago
psi29a ea91d861ef Merge branch 'safely_on_the_other_side_of_the_door' into 'master'
End combat when the target is outside the active grid

See merge request OpenMW/openmw!2619
2 years ago
psi29a fc51aca2d5 Merge branch 'update_navigator_tests' into 'master'
Extend navigator tests for update with big object

See merge request OpenMW/openmw!2620
2 years ago
elsid 1cbe295030
Extend navigator tests for update with big object
Check for the number of generated recast mesh tiles and navmesh tiles.
2 years ago
Andrei Kortunov cc1c8b2bb1 Do not use a deprecated way to get dimensions of screen where current widget is located 2 years ago
Andrei Kortunov ee9ab8d393 Use STL-style iterators instead of Java-style ones 2 years ago
Andrei Kortunov 792feae39e Do not use deprecated implicit conversion 2 years ago
Andrei Kortunov 99a575b663 Init QVariant in Qt6-compatible way 2 years ago
Andrei Kortunov 0b3ba26d86 Init style in Qt6-compatible way 2 years ago
Andrei Kortunov 0de635dcdc Do not use deprecated init() method 2 years ago
Andrei Kortunov 0864d997d0 Add missing includes 2 years ago
Evil Eye 358fa98bd3 End combat when the target is outside the active grid 2 years ago
psi29a a7a89ba7c1 Merge branch 'launcher' into 'master'
Rework how OpenMW launcher looks

Closes #6922

See merge request OpenMW/openmw!2587
2 years ago
psi29a dc3ec1a0a0 Merge branch 'mwscript' into 'master'
Multiple mwscript optimizations and some refactoring

See merge request OpenMW/openmw!2600
2 years ago
psi29a 32733d23fa Merge branch 'xanim' into 'master'
X-file handling fixes (bug #5371)

Closes #5371

See merge request OpenMW/openmw!2614
2 years ago
psi29a 9198a4e46a Merge branch 'fix_navigator_update_for_big_object' into 'master'
Limit NavMeshManager update range by player tile and max tiles (#7149)

See merge request OpenMW/openmw!2618
2 years ago
psi29a 9c5b25cde4 Merge branch 'bettertopicinfo' into 'master'
[OpenMW-CS] Improve TopicInfo editing

See merge request OpenMW/openmw!2616
2 years ago
Andrei Kortunov 902c48d1bb Rework launcher UI 2 years ago
elsid 44429f0393
Limit NavMeshManager update range by player tile and max tiles
Object AABB may be much larger than area currently covered by navmesh. In this
case all tiles beyond covered range should be ignored. Attempt to iterate over
them will not result in any new tile updates but can take quite a while. At
maximum this can be pow(INT_MAX - INT_MIN, 2) iterations.

Use arbitrary time limit to check for update call to finish in the test.
2 years ago
Alexei Kotov 58b8bf883a Merge branch 'text_wrap_tooltip' into 'master'
Add text-wrapping to a tooltip (redo)

See merge request OpenMW/openmw!2580
2 years ago
Alexei Kotov 6ff9b5d326 Make use of ends_with for KF 2 years ago
unelsson 50726636ba clang-format 2 years ago