Commit Graph

29964 Commits (dd89403df0a6fd99038cc1f7eee06ca7ce90c17c)
 

Author SHA1 Message Date
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 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
unelsson 7fce4bc8c4 Issue command passing through QLineInput 2 years ago
psi29a ab54bf0641 Merge branch 'fix_osg_stats_end_frame' into 'master'
Fix end_frame computation in osg_stats.py

See merge request OpenMW/openmw!2615
2 years ago
unelsson 0310b1cddf Dragging Topics to TopicInfo window opens create TopicInfo BottomBox with the correct id 2 years ago
elsid 2a660be8a2
Fix end_frame computation in osg_stats.py
If begin_frame is not the first frame then begin_frame + number of frames points
to a frame after end_frame with shift begin_frame - first_frame.
2 years ago
unelsson 7f8a84f2f2 Move Response column earlier 2 years ago
Alexei Kotov e24db874dc Correct xnif use for creatures 2 years ago
Alexei Kotov 434b4deda1 Don't use xkf if xnif is merely the base model (bug #5371) 2 years ago
Alexei Kotov 4d0788e016 Use xnif if its xkf is present even if xnif isn't 2 years ago
elsid d4ab1101eb
Change Interpreter type aliases to be fixed size types
Remove no longer relevant comment for float type.
2 years ago
elsid b88f0d2dbd
Replace mwscript program serialization into a vector with simple struct
Mostly to avoid string literal lookup by index with iteration over all preciding
literals and calling strlen. This is very inefficient. In genral this makes code
much more straightforward but also makes it portable since now int and float of
different sizes are properly supported.
2 years ago
Alexei Kotov d1c602ce85 Merge branch 'fix_7156' into 'master'
Fix #7156 "Autorun is broken"

Closes #7156

See merge request OpenMW/openmw!2613
2 years ago
Petr Mikheev b9d38ae8d8 Fix #7156 "Autorun is broken" 2 years ago
Petr Mikheev d9e9db0983 Additional information in Lua profiler 2 years ago
psi29a 203eb80afd Merge branch 'qregexp' into 'master'
Simplify regex search in the editor

See merge request OpenMW/openmw!2610
2 years ago
psi29a 25d7ee7fdc Merge branch 'streams' into 'master'
Setup utf8qtextstream in the way consistent with other Qt components

See merge request OpenMW/openmw!2611
2 years ago
psi29a 599f68029e Merge branch 'only_snow' into 'master'
Fix invisible weather effects

See merge request OpenMW/openmw!2601
2 years ago
psi29a b7e5759599 Merge branch 'noanchor' into 'master'
Replace usage of QRegularExpression::anchoredPattern with `^` and `$`

See merge request OpenMW/openmw!2607
2 years ago
psi29a f8534bd00e Merge branch 'simplify_re' into 'master'
Simplify a regex and fix a typo

See merge request OpenMW/openmw!2608
2 years ago