1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-24 21:53:08 +00:00
Commit graph

3972 commits

Author SHA1 Message Date
Alexei Kotov
7ca6fbb952 Merge branch 'dialoguefilters' into 'master'
Expose info conditions to Lua

Closes #8076

See merge request OpenMW/openmw!5045
2025-12-19 04:33:39 +03:00
Evil Eye
60e6b94498 Fix the spelling of mercantile 2025-12-19 04:30:51 +03:00
Alexei Kotov
3dedc5e735 Merge branch 'explicitly-no-alpha' into 'master'
Ask for zero alpha bits for the CS

Closes #8270

See merge request OpenMW/openmw!4842
2025-12-18 12:56:57 +03:00
psi29a
538ad520bd Merge branch 'scaland' into 'master'
Improve Wayland fractional scaling

See merge request OpenMW/openmw!5040
2025-12-17 08:11:35 +00:00
Chris Djali (AnyOldName3)
2f002b885e Use devicePixelRatio directly 2025-12-11 00:02:39 +00:00
AnyOldName3
e91f5a5b0a Reformat comment to appease fascist Clang tool 2025-12-09 17:32:22 +00:00
AnyOldName3
bd685d672d Set RTT FBO format, too. 2025-12-09 17:25:59 +00:00
Evil Eye
5fde484997 Rename faction rank reaction to reputation 2025-12-09 17:54:13 +01:00
elsid
feb9cc004c
Fix portability-avoid-pragma-once warnings
components/misc/helpviewer.hpp:1:1: error: avoid 'pragma once' directive; use include guards instead [portability-avoid-pragma-once,-warnings-as-errors]
    1 | #pragma once
      | ^

apps/opencs/view/world/tableheadermouseeventhandler.hpp:1:1: error: avoid 'pragma once' directive; use include guards instead [portability-avoid-pragma-once,-warnings-as-errors]
    1 | #pragma once
      | ^
2025-11-25 21:16:50 +01:00
Alexei Kotov
c687a21ccb Merge branch 'enum_naming' into 'master'
Fix and enforce enum naming (#8424)

See merge request OpenMW/openmw!4986
2025-11-23 22:36:23 +03:00
elsid
d4ce5a2ac6
Fix and enforce enum naming 2025-11-22 11:19:18 +01:00
AnyOldName3
0a9f5a3c66 Resolve merge conflicts from !4938 and !4956 2025-11-02 18:05:38 +00:00
Evil Eye
cc10352def Address comments 2025-10-22 17:27:51 +02:00
elsid
0bae2b14b1
Do not implicitly convert QByteArray to const char*
Operators supporting this conversion can be disabled via
QT_NO_CAST_FROM_BYTEARRAY breaking the build. For example:

https://koschei.fedoraproject.org//package/openmw
https://kojipkgs.fedoraproject.org/work/tasks/5096/137735096/build.log
2025-10-05 23:52:25 +02:00
AnyOldName3
a433114937 Rearrange extern so includes don't need to start with extern/ 2025-09-23 01:04:45 +01:00
Evil Eye
9523f46409 Address conversion warnings in opencs 2025-09-21 10:45:21 +02:00
Evil Eye
a0863290be Merge branch 'rm_small_tu' into 'master'
Remove small translation units

See merge request OpenMW/openmw!4895
2025-08-30 07:45:30 +00:00
Nelsson Huotari
5b01ca99f8 Merge branch 'smoothheightcrashesagain' into 'master'
Editor: Fix crash if the smoothed terrain vertex belongs to an unloaded cell (#8686)

Closes #8686

See merge request OpenMW/openmw!4891
2025-08-29 20:06:34 +00:00
elsid
dea69b229c
Remove small translation units
Remove .cpp files with small amount of code which don't have additional
includes compared to corresponding .hpp files. This reduces the total
size of preprocessed code of the project and should reduce compilation
time.
2025-08-29 00:41:47 +02:00
Alexei Kotov
35cc6e6daf Editor: Fix crash if the smoothed terrain vertex belongs to an unloaded cell (#8686) 2025-08-27 16:30:56 +03:00
elsid
0f36b7fc97
Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
elsid
3067294f0d
Add and fix -Wshadow 2025-08-18 21:09:06 +02:00
AnyOldName3
d4f18c6478 Ask for zero alpha bits for the CS
This *might* fix https://gitlab.com/OpenMW/openmw/-/issues/8270, but I couldn't repro it.

When I debugged it, the default value was 0xFFFFFFFF, which hopefully is a magic *don't care* value and asking for zero gives us exactly zero rather than at least zero.
However, it might just mean *as much as possible*, in which case zero might still mean *at least zero* and sometimes end up not being zero.
2025-08-10 18:33:56 +01:00
Evil Eye
a085036a92 Resolve a number of Coverity defects 2025-08-06 19:52:09 +02:00
Evil Eye
60d5e4d30b Merge branch 'local_variable_naming' into 'master'
Fix and enforce local variable naming (#8424)

See merge request OpenMW/openmw!4832
2025-08-06 17:50:33 +00:00
Alexei Kotov
5ad9010e07 Merge branch 'dont-take-away-my-individuality' into 'master'
FIX: Track the highest local refNum during plugin loading and increment it for each cloned/created reference

Closes #8620

See merge request OpenMW/openmw!4781
2025-08-06 09:53:06 +03:00
Dave Corley
d68b774c10 CLEANUP: Don't handle refnums during saving at all 2025-08-05 14:16:44 -07:00
elsid
d121b606b6
Fix and enforce local variable naming 2025-08-05 21:27:48 +02:00
elsid
555a10f50c
Fix msvc warnings
openmw\apps\opencs\model\world\idcollection.cpp(65): warning C4457: declaration of 'index' hides function parameter

openmw\apps\openmw\mwscript\miscextensions.cpp(627): warning C4456: declaration of 'effect' hides previous local declaration
2025-08-03 14:22:38 +02:00
Evil Eye
27ee192354 Set default hotkeys for (un)commenting script lines 2025-07-30 16:58:32 +02:00
Evil Eye
aefa0ec1c4 Add multiline (un)indent behaviour to the script editor 2025-07-30 16:58:32 +02:00
Evil Eye
bdb3387bff Install gcovr via pipx and disable Werror when building Benchmarks 2025-07-27 10:47:34 +02:00
Evil Eye
2bce45260c Drop support for Qt5 2025-07-27 10:47:34 +02:00
AnyOldName3
be54521cfa Fix loads of warnings
These weren't detected due to https://gitlab.com/OpenMW/openmw/-/issues/7882, but now they are, so they can be fixed.
2025-07-24 00:20:05 +01:00
Dave Corley
0f0a402ead Local content file index is actually -1 2025-07-20 08:53:14 +00:00
Dave Corley
dcac39aefd FIX: never serialize MVRF for refferences from the local plugin 2025-07-19 09:44:01 -07:00
Dave Corley
7d5a9a2e2f CLEANUP: Only increment highest refNum for ones which are actually higher 2025-07-17 11:26:36 -07:00
Dave Corley
9dd028b260 FEAT(CS): Replace selection markers with a real one (#8139) 2025-07-14 23:18:45 +03:00
Dave Corley
79d86bf2bd FIX: Track the highest local refNum during plugin loading and increment it for each cloned/created reference 2025-07-13 05:12:42 -07:00
Dave Corley
2cb7d6c392 CLEANUP: Remove commented code & use the builtin getNewId function when cloning 2025-07-13 05:11:38 -07:00
Dave Corley
85fdf2011a FIX: Do not attempt to bump refNums during savingStages 2025-07-13 05:10:43 -07:00
Dave Corley
42109fc811 CLEANUP: Remove dead code in cloneRecordImp 2025-07-13 05:10:14 -07:00
Evil Eye
206d38f3d7 Fix path handling for files in BSAs 2025-07-03 08:46:23 +02:00
psi29a
149587dda4 Merge branch 'scaledselection' into 'master'
Editor: Account for pixel ratio in instance mode mouse coordinates conversion (#6573)

Closes #6573

See merge request OpenMW/openmw!4587
2025-07-01 21:34:40 +00:00
psi29a
2ffc44c31f Merge branch 'filenameexceptions' into 'master'
Remove file name naming convention check exceptions (#7249)

Closes #7249

See merge request OpenMW/openmw!4551
2025-07-01 20:45:33 +00:00
Evil Eye
2ff497c3e5 Use string_view in CSMPrefs::ShortcutManager 2025-06-29 12:49:22 +02:00
AnyOldName3
f7b8091117 Add missing semicolon 2025-06-19 00:23:52 +01:00
AnyOldName3
acbc0a9b8f Fix launching other binaries when the CWD is not the binary directory 2025-06-19 00:19:14 +01:00
elsid
0d5e9ef85f
Remove redundant using namespace Fallback
C++ has ADL to find overloads. using namespace does nothing in this
case.
2025-04-18 12:27:37 +02:00
Alexei Kotov
34a5eb7512 Editor: Account for pixel ratio in instance mode mouse coordinates conversion (#6573) 2025-03-13 20:06:20 +03:00