Andrei Kortunov
0b3ba26d86
Init style in Qt6-compatible way
2023-01-15 20:09:56 +04:00
Andrei Kortunov
0de635dcdc
Do not use deprecated init() method
2023-01-15 20:09:56 +04:00
Andrei Kortunov
0864d997d0
Add missing includes
2023-01-15 20:09:56 +04:00
Evil Eye
358fa98bd3
End combat when the target is outside the active grid
2023-01-15 17:08:57 +01:00
psi29a
a7a89ba7c1
Merge branch 'launcher' into 'master'
...
Rework how OpenMW launcher looks
Closes #6922
See merge request OpenMW/openmw!2587
2023-01-15 16:00:59 +00:00
psi29a
dc3ec1a0a0
Merge branch 'mwscript' into 'master'
...
Multiple mwscript optimizations and some refactoring
See merge request OpenMW/openmw!2600
2023-01-15 15:59:30 +00:00
psi29a
32733d23fa
Merge branch 'xanim' into 'master'
...
X-file handling fixes (bug #5371 )
Closes #5371
See merge request OpenMW/openmw!2614
2023-01-15 15:57:27 +00:00
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
2023-01-15 15:53:37 +00:00
psi29a
9c5b25cde4
Merge branch 'bettertopicinfo' into 'master'
...
[OpenMW-CS] Improve TopicInfo editing
See merge request OpenMW/openmw!2616
2023-01-15 15:51:51 +00:00
Andrei Kortunov
902c48d1bb
Rework launcher UI
2023-01-15 12:36:08 +04:00
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.
2023-01-15 04:46:29 +01:00
Alexei Kotov
58b8bf883a
Merge branch 'text_wrap_tooltip' into 'master'
...
Add text-wrapping to a tooltip (redo)
See merge request OpenMW/openmw!2580
2023-01-15 00:53:29 +00:00
Alexei Kotov
6ff9b5d326
Make use of ends_with for KF
2023-01-15 01:48:06 +03:00
unelsson
50726636ba
clang-format
2023-01-14 21:42:33 +02:00
unelsson
7fce4bc8c4
Issue command passing through QLineInput
2023-01-14 21:30:25 +02:00
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
2023-01-14 19:20:06 +00:00
unelsson
0310b1cddf
Dragging Topics to TopicInfo window opens create TopicInfo BottomBox with the correct id
2023-01-14 20:36:49 +02:00
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.
2023-01-14 18:08:38 +01:00
unelsson
7f8a84f2f2
Move Response column earlier
2023-01-14 16:19:37 +02:00
Alexei Kotov
e24db874dc
Correct xnif use for creatures
2023-01-14 04:55:12 +03:00
Alexei Kotov
434b4deda1
Don't use xkf if xnif is merely the base model (bug #5371 )
2023-01-14 04:55:12 +03:00
Alexei Kotov
4d0788e016
Use xnif if its xkf is present even if xnif isn't
2023-01-14 03:35:50 +03:00
elsid
d4ab1101eb
Change Interpreter type aliases to be fixed size types
...
Remove no longer relevant comment for float type.
2023-01-14 00:09:01 +01:00
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.
2023-01-14 00:07:37 +01:00
Alexei Kotov
d1c602ce85
Merge branch 'fix_7156' into 'master'
...
Fix #7156 "Autorun is broken"
Closes #7156
See merge request OpenMW/openmw!2613
2023-01-13 22:28:31 +00:00
Petr Mikheev
b9d38ae8d8
Fix #7156 "Autorun is broken"
2023-01-13 23:26:09 +01:00
Petr Mikheev
d9e9db0983
Additional information in Lua profiler
2023-01-13 21:14:23 +01:00
psi29a
203eb80afd
Merge branch 'qregexp' into 'master'
...
Simplify regex search in the editor
See merge request OpenMW/openmw!2610
2023-01-13 15:55:19 +00:00
psi29a
25d7ee7fdc
Merge branch 'streams' into 'master'
...
Setup utf8qtextstream in the way consistent with other Qt components
See merge request OpenMW/openmw!2611
2023-01-13 11:23:44 +00:00
psi29a
599f68029e
Merge branch 'only_snow' into 'master'
...
Fix invisible weather effects
See merge request OpenMW/openmw!2601
2023-01-13 09:58:51 +00:00
psi29a
b7e5759599
Merge branch 'noanchor' into 'master'
...
Replace usage of QRegularExpression::anchoredPattern with `^` and `$`
See merge request OpenMW/openmw!2607
2023-01-13 09:55:59 +00:00
psi29a
f8534bd00e
Merge branch 'simplify_re' into 'master'
...
Simplify a regex and fix a typo
See merge request OpenMW/openmw!2608
2023-01-13 09:55:45 +00:00
Andrei Kortunov
8da93d4b12
Setup utf8qtextstream in the way consistent with other Qt components
2023-01-13 13:10:34 +04:00
Andrei Kortunov
7c8fb79745
Suppress a warnings spam when user entered an invalid regular expression
2023-01-13 12:08:42 +04:00
Andrei Kortunov
7c709167d9
Simplify regex search in the editor
2023-01-13 11:28:49 +04:00
jvoisin
c90d22f3b2
Replace usage of QRegularExpression::anchoredPattern with ^
and $
...
Using `^` and `$` is shorter than `QRegularExpression::anchoredPattern`,
and even allows us in one case to get rid of a trailing `.*`.
2023-01-12 22:52:00 +01:00
jvoisin
853ca5827e
Simplify a regex and fix a typo
...
- The usage of `|` is wrong
- It's `mWhiteListQuotes` and not `mWhiteListQoutes`
- Replace weird usage of `{}`-based quantifiers
2023-01-12 22:49:23 +01:00
psi29a
94259317bb
Merge branch 'streams' into 'master'
...
Handle UTF-8 in Qt streams in the Qt6-compatible way
See merge request OpenMW/openmw!2606
2023-01-12 17:55:05 +00:00
Andrei Kortunov
bfcbc2350d
Handle UTF-8 in Qt streams in the Qt6-compatible way
2023-01-12 15:39:50 +04:00
elsid
60eede6a1d
Fix variable naming styleguide
2023-01-11 23:47:42 +01:00
elsid
0ab3090385
Make Runtime::getPC and setPC inline
2023-01-11 23:47:42 +01:00
elsid
46b4427d2e
Remove user defined constructor for Runtime
2023-01-11 23:47:42 +01:00
elsid
9c8df09475
Remove user defined constructors for Interpreter
2023-01-11 23:47:42 +01:00
psi29a
6a9af5ccca
Merge branch 'qregexp' into 'master'
...
Migrate from QRegExp to more modern QRegularExpression
See merge request OpenMW/openmw!2602
2023-01-11 14:08:12 +00:00
Andrei Kortunov
307a60e87c
Migrate from QRegExp to more modern QRegularExpression
2023-01-11 11:21:46 +04:00
glassmancody.info
7ddf47908f
only enable occlusion for snow
2023-01-10 14:09:02 -08:00
psi29a
7c078883d5
Merge branch 'default_ref_num' into 'master'
...
Use default initializers for ESM::RefNum members
See merge request OpenMW/openmw!2598
2023-01-10 09:12:37 +00:00
psi29a
0028127b42
Merge branch 'lua_mwscript' into 'master'
...
Access local mwscript variables in Lua scripts
See merge request OpenMW/openmw!2589
2023-01-10 08:47:12 +00:00
psi29a
21051999c1
Merge branch 'correct_shader_name' into 'master'
...
Correct shader name
See merge request OpenMW/openmw!2599
2023-01-10 08:46:36 +00:00
elsid
c173348cbe
Use default initializers for ESM::RefNum members
...
Instead of unset function that is removed now and assignments all over the code.
2023-01-10 00:44:51 +01:00