Commit Graph

29942 Commits (0864d997d01f481f38f07aa84109e3fa70dfb20f)
 

Author SHA1 Message Date
Andrei Kortunov 0864d997d0 Add missing includes 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
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
Andrei Kortunov 8da93d4b12 Setup utf8qtextstream in the way consistent with other Qt components 2 years ago
Andrei Kortunov 7c8fb79745 Suppress a warnings spam when user entered an invalid regular expression 2 years ago
Andrei Kortunov 7c709167d9 Simplify regex search in the editor 2 years ago
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 `.*`.
2 years ago
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
2 years ago
psi29a 94259317bb Merge branch 'streams' into 'master'
Handle UTF-8 in Qt streams in the Qt6-compatible way

See merge request OpenMW/openmw!2606
2 years ago
Andrei Kortunov bfcbc2350d Handle UTF-8 in Qt streams in the Qt6-compatible way 2 years ago
elsid 60eede6a1d
Fix variable naming styleguide 2 years ago
elsid 0ab3090385
Make Runtime::getPC and setPC inline 2 years ago
elsid 46b4427d2e
Remove user defined constructor for Runtime 2 years ago
elsid 9c8df09475
Remove user defined constructors for Interpreter 2 years ago
psi29a 6a9af5ccca Merge branch 'qregexp' into 'master'
Migrate from QRegExp to more modern QRegularExpression

See merge request OpenMW/openmw!2602
2 years ago
Andrei Kortunov 307a60e87c Migrate from QRegExp to more modern QRegularExpression 2 years ago
glassmancody.info 7ddf47908f only enable occlusion for snow 2 years ago
psi29a 7c078883d5 Merge branch 'default_ref_num' into 'master'
Use default initializers for ESM::RefNum members

See merge request OpenMW/openmw!2598
2 years ago
psi29a 0028127b42 Merge branch 'lua_mwscript' into 'master'
Access local mwscript variables in Lua scripts

See merge request OpenMW/openmw!2589
2 years ago
psi29a 21051999c1 Merge branch 'correct_shader_name' into 'master'
Correct shader name

See merge request OpenMW/openmw!2599
2 years ago
elsid c173348cbe
Use default initializers for ESM::RefNum members
Instead of unset function that is removed now and assignments all over the code.
2 years ago
elsid 42a3b3ca49
Drop -fsanitize=pointer-compare for Ubuntu_GCC_tests_asan CI job
Otherwise compiler may produce a code that linker fails to link.

For openmw it fails with following error
(https://gitlab.com/elsid/openmw/-/jobs/3571943608):

Linking CXX executable ../../openmw_test_suite mold: error: undefined symbol:
CMakeFiles/openmw_test_suite.dir/lua/test_configuration.cpp.o:
std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char>
>::_M_high_mark() const

Related issue in a different project with links to GCC bug tracker:
https://github.com/cms-sw/cmssw/issues/36480
2 years ago
glassmancody.info 23708b1ba6 correct shader name 2 years ago
psi29a 896905b7a8 Merge branch 'openmw-confpyupdate' into 'master'
Update conf.py for Windows Mark II (!2581 replacement)

See merge request OpenMW/openmw!2597
2 years ago
psi29a b1571b92bf Merge branch 'fix_7135' into 'master'
Add missing initializer in mwworld/worldmodel.cpp (fixes #7135)

Closes #7135

See merge request OpenMW/openmw!2596
2 years ago