1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-21 06:00:56 +00:00
Commit graph

37178 commits

Author SHA1 Message Date
AnyOldName3
115ee7a353 c a p i t u l a t e 2026-01-07 15:16:01 +00:00
AnyOldName3
18cc753517 Add comment highlighting known fragile code
We know we can't make the struct bigger as everything caught fire when we gave freeze dumps their own path, and was fixed when we switched to a common directory and just separate filenames.
Switching to wchar_t and stopping using UTF-8 here would cause a similar size increase, so similar problems are to be expected.
2026-01-07 15:12:22 +00:00
AnyOldName3
16efa6e5b5 Support long paths on Windows
Apparently we'd never bothered opting in, despite nearly everything in all out apps being entirely compatible and designed with long paths in mind.

GetModuleFileNameW is a bit awkward as it's just about the only Win32 function that returns the minimum of the buffer size and the string size - nearly everything else returns the full size even if it won't fit, so you can pass it a null pointer and a size of zero, and it'll tell you how much space you need to allocate.

I pretty much just copied the mostly-working long-path-friendly call site in the crash catcher to windowspath.cpp, but I also noticed that if the function failed and returned zero, the original implementation would loop forever, so I fixed that.

There was some code that could be ditched from the catch monitor as \\?\ is a prefix you can use to opt into long paths for a single API call instead of using the manifest to set it everywhere.
2026-01-07 15:12:22 +00:00
AnyOldName3
7d9eee3f33 Merge branch 'gogregistry' into 'master'
Detect the GOG Galaxy version of Morrowind on Windows

See merge request OpenMW/openmw!5041
2026-01-07 15:10:58 +00:00
psi29a
f11b96a905 Merge branch 'registry' into 'master'
Detect Steam installations on Windows and Linux

See merge request OpenMW/openmw!4885
2026-01-07 09:03:16 +00:00
Alexei Kotov
67810b18f0 Merge branch 'new_cont_crea' into 'master'
Add record creation for containers, creatures

Closes #8911

See merge request OpenMW/openmw!4869
2026-01-06 23:45:43 +03:00
Alexei Kotov
a1d013794e Bump Lua API revision 2026-01-06 19:57:45 +03:00
SkyHasACat
d79dc925cc Add record creation for container, creature
(squashed)
2026-01-06 19:55:12 +03:00
Alexei Kotov
80a6d13be5 Merge branch 'patch-1' into 'master'
Adding to documentation that a condition of -1 makes a light source last forever

See merge request OpenMW/openmw!5081
2026-01-06 01:36:32 +03:00
Thunderforge
d76234dbc3 Fixing typo 2026-01-04 22:38:51 +00:00
Thunderforge
ed35a17db4 Adding -1 duration light effect to documentation 2026-01-04 21:21:32 +00:00
Alexei Kotov
9c221edd29 Merge branch 'fixGCCPreProcessScript' into 'master'
Fetch --unshallow in ubuntu_gcc_preprocess.sh

Closes #8900

See merge request OpenMW/openmw!5079
2026-01-04 03:53:08 +03:00
Aussiemon
b043f7267c Extra space 😩 2026-01-02 04:48:54 -07:00
Aussiemon
c123bbad55 Just check both 2026-01-02 04:35:28 -07:00
Aussiemon
9c82709ab3 Check for shallowness before unshallow 2026-01-02 04:18:56 -07:00
Aussiemon
7553a3e89c Fetch --unshallow in ubuntu_gcc_preprocess.sh 2026-01-02 03:07:09 -07:00
jvoisin
2f703ecd3f Merge branch 'weatherreport' into 'master'
Improve high wind speed rain/snow behavior (#8864)

Closes #8864

See merge request OpenMW/openmw!5069
2026-01-01 20:57:53 +00:00
AnyOldName3
76eff59c2c Merge branch 'esmtoolrotation' into 'master'
Improve esmtool destination position/rotation formatting

See merge request OpenMW/openmw!5075
2026-01-01 18:10:25 +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
AnyOldName3
25543090af Get rid of TODO that doesn't need doing 2025-12-30 17:44:44 +00:00
Alexei Kotov
48ee222cac Merge branch 'FixPlayerQuestName' into 'master'
Fix bad document keyword

See merge request OpenMW/openmw!5077
2025-12-29 00:00:22 +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
Daisyhasacat
b3bdb3b620 Add change to core 2025-12-27 21:14:43 +00:00
Daisyhasacat
9212b3ddbb Fix bad word 2025-12-27 20:49:00 +00: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
Alexei Kotov
24821b8e85 Improve esmtool destination position/rotation formatting 2025-12-27 01:13:20 +03: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
elsid
fc297f741a
Remove redundant includes 2025-12-25 13:05:16 +01:00
elsid
64c24800c6
Simplify initialization 2025-12-25 13:04:45 +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
AnyOldName3
a783431df7 Balance build times between jobs
Before this, there was a difference of about nineteen minutes.

All the things that aren't the engine (except its dependencies) that were in group one take less than nineteen minutes to build in total, so moving everything isn't enough to give total balance.

openmw-tests depends on openmw-lib, so you have to build basically the whole engine to build it, so it should stay in the same group.
2025-12-25 00:50:49 +00:00
Alexei Kotov
dec8a284aa Improve high wind speed rain/snow behavior (#8864)
Enable water ripples and wrap-around
Remove rain particle angle random element
Simplify disabling rain ripples
2025-12-25 01:44:18 +03: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
04443191a1 Sync MSBuild and Ninja jobs 2025-12-24 20:12:09 +00:00
AnyOldName3
6478e8c3e8 Fix log timestamps
Don't call the block variables because that hides the default variables block we set at the top.
2025-12-24 20:05:44 +00:00
AnyOldName3
1932258db9 Don't mix line endings
This doesn't fix the BOM in the middle of the merged CI-ID.txt, but that shouldn't be happening in the first place.
GitLab's docs say the default is pwsh rather than powershell (i.e. PowerShell >= 6, not 5.1), which defaults to non-BOM UTF-8, so there should be no BOM to contend with.
2025-12-24 17:42:04 +00:00
AnyOldName3
3849f36b46 Don't run while loop in subshell
We need the variable writes to stick around.

Also switch to an associative array so duplicates are removed.
2025-12-24 17:32:34 +00:00
Daisyhasacat
fc2e1b5b82 Merge branch 'this-macro-annoys-people' into 'master'
Get rid of overengineered macro

See merge request OpenMW/openmw!5058
2025-12-24 16:02:19 +00:00
Alexei Kotov
deea996a74 Merge branch 'lesscontentmoreengagement' into 'master'
Remove dead code

See merge request OpenMW/openmw!5062
2025-12-24 17:59:44 +03:00
AnyOldName3
87dfcf302f Fix artifact merging 2025-12-24 14:35:40 +00:00
AnyOldName3
fe9f0bbb46 Skip duplicates without prompting
Any file we want to keep has a unique name based on its contents.
2025-12-24 11:53:40 +00:00