1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-24 13:30:55 +00:00
Commit graph

23920 commits

Author SHA1 Message Date
AnyOldName3
ddf715f148 Accidental double space 2026-01-17 00:50:27 +00:00
AnyOldName3
3cf755266f Prefer add_compile_definitions
add_definitions is really add_any_compiler_flag_you_want
2026-01-17 00:50:12 +00:00
AnyOldName3
24d07da29c Rejig components defines
OPENMW_DOC_BASEURL is only used in a CMake-configured file, so it only needs to be a CMake variable, which it already is.
There's no benefit to making it visible to every TU in components.

MYGUI_DONT_USE_OBSOLETE should be visible in everything that transitively includes MyGUI just in case.
This should really be set up by MyGUI's CMake config or embedded in a generated MyGUI header rather than being our responsibility, but while we're forced to deal with it, it's closer to right to make it a PUBLIC define on components rather than a directory-scoped define in the components directory.
2026-01-15 18:35:12 +00:00
AnyOldName3
e68d4317c4 Get rid of unique PCHs from targets with three or fewer translation units
Precompiled headers avoid duplicate work.
If you've only got a single TU using a particular PCH, then there's no duplicate work, so it can only add overhead.

We don't need to totally abandon PCHs for these targets, though, as CMake lets us reuse the PCH from components.

If you've only got a few TUs in a target, it's *probably* faster to get components' PCH for free and eat the cost of it not being perfect than it is to make a perfect PCH from scratch.

Note that I don't know if there are drawbacks due to components having a couple of private precompiled headers that wouldn't have otherwise propagated or these targets having different build flags.
I can't test it locally right now as my linker's regained the deadlocking issue it had the other day.
If it turns out there are problems, then for the single-TU targets, simply avoiding using PCHs for them at all will still be an improvement over the status quo.
For the two-or-three TU targets, we'll have to actually measure things.
2026-01-15 17:44:32 +00:00
Alexei Kotov
a207b45101 Merge branch 'splitting-headache' into 'master'
Split the Windows build into two, like it was when the time limit was an hour before mid 2022

See merge request OpenMW/openmw!5070
2026-01-01 18:43:16 +03:00
Alexei Kotov
9efef817dc Merge branch 'navmeshtool_worldspaces' into 'master'
Somewhat reduce navmeshtool peak memory usage

See merge request OpenMW/openmw!5076
2025-12-31 00:37:51 +03:00
elsid
dff8fa1cd1
Detect disconnected tile groups and report cell refs from there
Cell refs placed at cooridnates far from the rest are potential content
issues.
2025-12-28 13:10:42 +01:00
Alexei Kotov
efbdd0cd5e Merge branch 'vfs_normalized_path_26' into 'master'
Use normalized path in SoundManager (#8138)

See merge request OpenMW/openmw!5048
2025-12-27 23:18:02 +03:00
Evil Eye
48b0d48e9a Merge branch 'string_ref_id_count' into 'master'
Report number of StringRefIds to osg stats

See merge request OpenMW/openmw!5072
2025-12-27 16:50:30 +00:00
elsid
1763928548
Use tile coordinates from TileCachedRecastMeshManager to schedule tile generation by navmeshtool
Using a 2D range may consume a lot of memory if there is an object far
from the rest.
2025-12-27 16:18:01 +01:00
elsid
e9468267fc
Process worldspaces sequentially by navmeshtool
Gathering all cells data for all worldspaces may consume a lot memory if
interior cells processing is enabled.
2025-12-27 16:18:01 +01:00
elsid
adcec8fded
Add flag to filter worldspaces processed by navmeshtool 2025-12-26 13:46:46 +01:00
Alexei Kotov
88e15e7246 Merge branch 'fix-lod-bugs' into 'master'
Fix lod bugs

Closes #8884

See merge request OpenMW/openmw!5071
2025-12-26 13:41:41 +03:00
psi29a
666f8de08a Merge branch 'rotationesmtool' into 'master'
Print cell reference rotation and destination rotation in esmtool (#8874)

Closes #8874

See merge request OpenMW/openmw!5060
2025-12-26 09:21:34 +00:00
elsid
07621574d0
Report number of StringRefIds 2025-12-25 13:26:23 +01:00
Cédric Mocquillon
3f630e397f Proactively copy the range mode, even though we only use the default one at the moment 2025-12-25 10:34:15 +01:00
Cédric Mocquillon
b14057506a Do not forget the settings of the original lod node 2025-12-25 10:32:53 +01:00
Alexei Kotov
87da40e6d2 Merge branch 'iliketomoveitmoveitprovideditisacell' into 'master'
Insert exterior cells created by moved refs into mSharedExt

Closes #8875

See merge request OpenMW/openmw!5067
2025-12-25 00:54:49 +03:00
jvoisin
dbcedf614d Merge branch 'recindex' into 'master'
Rename all remaining recIndex variations to recordIndex

See merge request OpenMW/openmw!5059
2025-12-24 20:31:05 +00:00
AnyOldName3
c23d8f64bc Disable multithreaded codegen for hungry TUs 2025-12-24 01:34:56 +00:00
Evil Eye
189e4a6f6d Insert exterior cells created by moved refs into mSharedExt 2025-12-23 23:24:28 +01:00
Evil Eye
71b394b88d Reimplement tests in Lua 2025-12-23 17:47:29 +01:00
AnyOldName3
f884c26631 Maybe an anonymous namespace reduces RAM requirements
This file is the most likely to make the compiler run out of heap space
2025-12-22 17:42:50 +00:00
Evil Eye
8107fc451f Remove dead code 2025-12-22 17:24:29 +01:00
Alexei Kotov
f5371518c3 Print angles in degrees in esmtool 2025-12-21 15:21:22 +03:00
Alexei Kotov
cd97bc66c3 Print cell reference rotation and destination rotation in esmtool (#8874) 2025-12-21 11:11:36 +03:00
Alexei Kotov
a6195698ae recIndex => recordIndex 2025-12-21 00:40:12 +03:00
Alexei Kotov
af7bf4e2b4 Merge branch 'stemfile' into 'master'
Don't use path helpers in the settings window

See merge request OpenMW/openmw!5043
2025-12-19 04:58:18 +03:00
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
Evil Eye
277a84ed94 Bind dialogue conditions 2025-12-19 04:30:51 +03:00
Alexei Kotov
bca843fd23 Merge branch 'rotatingtouhouplush' into 'master'
Use horizontal extent ratio to detect stretched bounding boxes (#8847)

Closes #8847

See merge request OpenMW/openmw!5052
2025-12-19 04:26:35 +03:00
AnyOldName3
f9bc7691e0 Merge branch 'recordrenaming' into 'master'
Make NIF base record members conform to the naming conventions

See merge request OpenMW/openmw!5051
2025-12-18 14:20:19 +00: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
Alexei Kotov
f83a09b93e Use horizontal extent ratio to detect stretched bounding boxes (#8847) 2025-12-16 15:08:33 +03:00
Alexei Kotov
a0b73d5e62 Make NIF base record members conform to the naming conventions 2025-12-16 13:23:30 +03:00
Alexei Kotov
8b92f68537 Merge branch 'characterguide' into 'master'
Compare saves passed on the command line using file equivalence

Closes #8842

See merge request OpenMW/openmw!5034
2025-12-16 12:07:30 +03:00
Alexei Kotov
76ce47a890 Merge branch 'l10nformat' into 'master'
Replace format args with icu in engine messages

See merge request OpenMW/openmw!5032
2025-12-16 12:07:06 +03:00
Evil Eye
903cb6878a Allow setBarterGold in global scripts 2025-12-15 15:30:33 +03:00
Evil Eye
25d1b18b75 Add barter gold bindings 2025-12-15 15:30:33 +03:00
elsid
0859d18279
Use normalized path in SoundManager 2025-12-14 19:27:39 +01:00
Alexei Kotov
5a022532fd Merge branch 'livefactionreaction' into 'master'
Rename faction rank reaction to reputation

Closes #8789

See merge request OpenMW/openmw!5037
2025-12-14 18:18:40 +03:00
Evil Eye
2d33ead98d Fix NormalizedView::stem to include dots 2025-12-12 23:14:57 +01:00
Alexei Kotov
2c22f74bcb Don't use path helpers in the settings window 2025-12-13 00:13:32 +03:00
Chris Djali (AnyOldName3)
2f002b885e Use devicePixelRatio directly 2025-12-11 00:02:39 +00:00
Alexei Kotov
d5c7a6c6db Merge branch 'tovfsornottovfs' into 'master'
Address incorrect std::filesystem::path usage

Closes #8738

See merge request OpenMW/openmw!5033
2025-12-10 21:20:26 +03: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
ea79cd7678 Use namespace alias 2025-12-09 18:22:24 +01:00