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

23948 commits

Author SHA1 Message Date
Alexei Kotov
acb36cb7c6 Merge branch 'allthatslazyaboutglittering' into 'master'
Copy refdata when copying gold

Closes #8917

See merge request OpenMW/openmw!5087
2026-01-09 19:04:13 +03:00
Alexei Kotov
c0c7ec1c8f Merge branch 'macos_deprecation_fixes' into 'master'
Fix macos deprecation warnings

See merge request OpenMW/openmw!5082
2026-01-09 19:02:17 +03:00
AnyOldName3
bc45d17a56 Merge branch 'unused_var_really' into 'master'
heightfield not used

See merge request OpenMW/openmw!5084
2026-01-09 15:33:47 +00:00
Bret Curtis
0dad5dd4e9 do not do a explicit nullptr check per aon3 request 2026-01-09 12:02:46 +01:00
Evil Eye
32f821a1a6 Copy refdata when copying gold 2026-01-08 16:47:20 +01:00
psi29a
f0e31e69dd Merge branch 'refnumhitman' into 'master'
Replace ActorIds with RefNums

Closes #7602

See merge request OpenMW/openmw!4323
2026-01-08 09:23:20 +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
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
Bret Curtis
cf9a5e9bad just nullptr check, no unused for you 2026-01-06 18:29:50 +01:00
SkyHasACat
d79dc925cc Add record creation for container, creature
(squashed)
2026-01-06 19:55:12 +03:00
Bret Curtis
4c0506777e maybe_unused_yes_it_is 2026-01-06 12:41:55 +01:00
Bret Curtis
37bd120075 add version check 2026-01-06 09:50:23 +01:00
Bret Curtis
52b129fe39 fix macos deprecation warnings 2026-01-06 09:50:23 +01: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
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
Evil Eye
d3b4ea0ba7 Only mark valid actor ids for conversion 2025-12-28 11:21:30 +01:00
Evil Eye
72de0c06ba Use getBaseNode to detect if the actor is active 2025-12-27 22:29:32 +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
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
Evil Eye
dbeaa25985 Fix mistakes 2025-12-26 11:40:35 +01:00
Evil Eye
63f5c9777e Fix rebase induced issues 2025-12-26 11:07:31 +01:00
Evil Eye
20ddb848d4 Stop using actor ids in the essimporter and tests 2025-12-26 11:07:31 +01:00
Evil Eye
9cb437c9d3 Remove actor ids 2025-12-26 11:07:30 +01:00
Evil Eye
c4bc040b4b Replace actor ids in magic effects with refnums 2025-12-26 11:07:30 +01:00
Evil Eye
8020bfcafd Track projectile casters using RefNum 2025-12-26 11:07:30 +01:00
Evil Eye
42b9f1ec2b Optimize HUD memory layout and replace actor id with a RefNum 2025-12-26 11:07:30 +01:00
Evil Eye
1d24ad54d9 Replace actor ids with RefNums in ai packages 2025-12-26 11:07:30 +01:00
Evil Eye
1bcc403544 Use a RefMum to track spawned levelled creatures 2025-12-26 11:07:29 +01:00
Evil Eye
b3d984a9b1 Replace HitAttemptActorId with a RefNum 2025-12-26 11:07:29 +01: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
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
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