Commit Graph

22796 Commits (master)

Author SHA1 Message Date
psi29a 9325c80244 Merge branch 'userdataplz' into 'master'
Set SavedDataDeserializer on LocalScripts creation

See merge request OpenMW/openmw!4409
2 months ago
psi29a 083381526f Merge branch 'mourningnote' into 'master'
Play region sounds in quasi exteriors

See merge request OpenMW/openmw!4411
2 months ago
psi29a c60e0539cc Merge branch 'dead_code' into 'master'
Remove dead code

See merge request OpenMW/openmw!4412
2 months ago
psi29a 26af518d67 Merge branch 'vfs_normalized_path_18' into 'master'
Use normalized path in PhysicsSystem (#8138)

See merge request OpenMW/openmw!4410
2 months ago
psi29a 8b3e8676bf Merge branch 'noxt' into 'master'
Remove old dependency on Xt which shouldn't be needed anymore

See merge request OpenMW/openmw!4407
2 months ago
Evil Eye cee373aea8 Don't trigger onStateChanged until the game is in a running state 2 months ago
Evil Eye e1046dc715 Tell the LuaManager the game has started before the player can be teleported 2 months ago
Andrei Kortunov 192807609d Remove dead code 2 months ago
Evil Eye 361586d85e Play region sounds in quasi exteriors 2 months ago
Evil Eye a2fb575678 Set SavedDataDeserializer on LocalScripts creation 2 months ago
elsid d2ab366233
Use normalized path in PhysicsSystem 2 months ago
Alexey Sokolov be15db4dfb Remove old dependency on Xt which shouldn't be needed anymore 2 months ago
Andrei Kortunov aab2f4a5bb Do not disable controllers for melee weapons sheathes (bug 8191) 2 months ago
Dave Corley dbb29b2391 FIX: Serialize journal records first when saving plugins 2 months ago
Petr Mikheev bac0018a09 Merge branch 'unloadedcontainers' into 'master'
Fix Lua memory usage

See merge request OpenMW/openmw!4363
2 months ago
Evil Eye 68ebefc2dd Fix Lua memory usage 2 months ago
psi29a 34e32b7392 Merge branch 'thewickedmarkerofthewest' into 'master'
Emulate vanilla closest marker preference (#8187)

Closes #8187

See merge request OpenMW/openmw!4401
2 months ago
psi29a 3e3ff00c72 Merge branch 'dialoguestuff' into 'master'
Improve TESCS dialogue compatibility

Closes #8181

See merge request OpenMW/openmw!4396
2 months ago
Alexei Kotov 77d2f18f83 Emulate vanilla closest marker preference (#8187) 3 months ago
elsid d1ccb4b804
Use normalized path for groundcover 3 months ago
psi29a 974c0ce158 Merge branch 'vfs_normalized_path_16' into 'master'
Use normalized path in multiple places and fix additional animation sources loading (#8138)

See merge request OpenMW/openmw!4398
3 months ago
psi29a ef708c9cf0 Merge branch 'consistentcaptioncapitalization' into 'master'
Make OpenMW-CS preferences and OMWMusic lines more stylistically consistent

See merge request OpenMW/openmw!4394
3 months ago
AnyOldName3 6c8055134d Merge branch 'seaofnodesmorelike' into 'master'
Use more sensible types in pathgridutil

Closes #8172

See merge request OpenMW/openmw!4395
3 months ago
elsid 5532bc61c1
Support additional animation sources not only for 2 letter extensions
If extension is not 2 letters length (e.g. not .kf), replacing last 3 last
charaters leads to weird results like:
"meshes/basicplayer.dae" -> "animations/basicplayer./"

According to the doc this should be "animations/basicplayer/".
3 months ago
elsid a6e075499b
Use normalize path in Animation::addAnimSource to change extension 3 months ago
elsid 7e7cf51ade
Use normalized path in NpcAnimation 3 months ago
elsid 52ab136dd6
Remove redundant reference for ESM::RefId variables 3 months ago
Evil Eye ffe164b28d Add a test and address feedback 3 months ago
elsid 0665de4c09
Use normalized path for model in ProjectileManager 3 months ago
trav 3d2dd9201d Merge branch openmw:master into handtohand-tooltip 3 months ago
Evil Eye c9ef03fdd1 Change INFO id generation to not exceed 31 characters 3 months ago
Evil Eye df757b9e4d Count DIAL and INFO records in the HEDR 3 months ago
Evil Eye 6644a7f27b Use more sensible types in pathgridutil 3 months ago
Alexei Kotov 4dd11d91f3 Editor: Make setting captions stylistically consistent, improve grammar 3 months ago
psi29a f27030a87c Merge branch 'uipointers' into 'master'
Prevent stale pointers in UI widgets

See merge request OpenMW/openmw!4393
3 months ago
Alexei Kotov 56e200f8ac Merge branch 'ripply-doll' into 'master'
Fix inventory doll when non-compute-shader ripples are used with FFP

See merge request OpenMW/openmw!4390
3 months ago
jvoisin 1bc130332e Merge branch 'catfight' into 'master'
Restore female/beast-specific first person animations (#8179)

Closes #8179

See merge request OpenMW/openmw!4392
3 months ago
Evil Eye 481e63ffa7 Prevent stale pointers in UI widgets 3 months ago
Alexei Kotov 963b7ec742 Unify first/third-person animation choice logic (#8179)
Re-enable first-person female/beast-specific animations
Use dehardcoded argonian swim animation path
3 months ago
Andrei Kortunov 8dc16f0a17 Improve screen detection for editor's widgets 3 months ago
elsid 63e984ba24
Use normalized path in BulletShapeManager 3 months ago
elsid 7a5c478e34
Use normalized path in PreloadItem 3 months ago
elsid 1d98b5c66b
Remove redundant toNormalized 3 months ago
psi29a cb009db4bb Merge branch 'topicHighlighting' into 'master'
Topic Highlighting Mouse Over Fix

See merge request OpenMW/openmw!4113
3 months ago
psi29a d1059aee8c Merge branch 'test_ptr' into 'master'
Add tests for MWWorld::Ptr

See merge request OpenMW/openmw!4344
3 months ago
AnyOldName3 bd8386459a Fix inventory doll when ripple fragment shader path is used
Basically don't abuse OSG as badly. We need to let it know we've bound a shader program so it doesn't assume the FFP is still used, but it doesn't have a built-in way to apply the uniforms when doing so, so we need to do it manually.
3 months ago
AnyOldName3 e7a31373c9 Partially fix inventory doll when non-compute-shader ripples are used with FFP 3 months ago
elsid b6c1e33da6 Merge branch 'hammerthingstilltheybreak' into 'master'
Don't let the player repair items that are better than new

Closes #8171

See merge request OpenMW/openmw!4381
3 months ago
Evil Eye 772a0b3711 Merge branch 'vfs_normalized_path_14' into 'master'
Use normalized path in multiple places (#8138)

See merge request OpenMW/openmw!4383
3 months ago
Evil Eye 9de501a62c Merge branch 'local_static_init' into 'master'
Properly initialize local static pointers and collections

See merge request OpenMW/openmw!4386
3 months ago
Evil Eye 2546ce2b16 Don't allow items that are better than new to be repaired 3 months ago
AnyOldName3 f817ff01b4 Merge branch 'labelsforeveryone' into 'master'
Editor: Improve Models settings category layout

See merge request OpenMW/openmw!4384
3 months ago
elsid cd6e49796e
Properly initialize local static pointers and collections
Static variables should be initalized once instead of initializing them with
nullptr and then doing actual initialization behind if condition. Otherwise a
race condition may happen leading to undefined behaviour.
3 months ago
trav5 16a691187c Tooltip for 'Factor Strength into Hand-to-Hand Combat'
Added the game launcher tooltip message for the setting
enabling the factoring of player strength into hand to
hand combat damage
3 months ago
jvoisin e05b1fabd8 Merge branch 'compile-time' into 'master'
Remove duplicate compile items

See merge request OpenMW/openmw!4380
3 months ago
Jared Davenport 30a37b3fda Remove duplicate compile items 3 months ago
Alexei Kotov 0b1465446d Editor: Improve Models category layout
Increase minimum input field width and give proper labels to string settings
3 months ago
Alexei Kotov e369ab941e Fix word-wrapping for dialogue topics with changed skin 3 months ago
jvoisin 879c23b4cb Merge branch 'enchantedimsure' into 'master'
Deselect magic item before selecting a spell

Closes #8162

See merge request OpenMW/openmw!4379
3 months ago
elsid 2ef5a8486d
Use normalized path in ObjectPaging::createChunk 3 months ago
elsid 7e453d491a
Remove redundant toNormalized 3 months ago
elsid 5f2582fe68
Use normalized path in SceneManager::checkLoaded 3 months ago
elsid 3475a166e5
Use normalized path for World::spawnEffect 3 months ago
elsid 320d376b95
Remove unused virtual specifier 3 months ago
elsid 8ba4ff9946
Remove redundant bool argument from ActorAnimation::attachMesh 3 months ago
elsid d7e99f988b
Use normalized path in ActorAnimation::attachMesh 3 months ago
elsid f1533c215d
Use normalized path in ActorAnimation::attach 3 months ago
Evil Eye 74d699c502 Merge branch 'vfs_normalized_path_13' into 'master'
Use normalized path in ImageManager (#8138)

See merge request OpenMW/openmw!4377
3 months ago
Evil Eye d9c16328dd Deselect magic item before selecting a spell 3 months ago
elsid 1fd6ac6438
Use normalized path in ImageManager 3 months ago
Alexei Kotov 70187bb5ac niftest: parse BTO, BTR, RDT and PSA files 3 months ago
elsid b4f77e8bd7
Store Lua script path as VFS normalized 3 months ago
psi29a 96ec3a8125 Merge branch 'testthevfs' into 'master'
Fix vfs bindings and add tests

Closes #8157

See merge request OpenMW/openmw!4371
3 months ago
Evil Eye 2978b32f51 Fix vfs bindings 3 months ago
elsid d8189a5aa1
Use normalized path in SceneManager 4 months ago
psi29a b32f68fcd2 Merge branch 'vfs_normalized_path_10' into 'master'
Use normalized path in LuaState (#8138)

See merge request OpenMW/openmw!4365
4 months ago
Dave Corley 2ea9d6ba20 FIX(windowmanagerimp): Don't remove a ui mode twice 4 months ago
AnyOldName3 0f74e0cca8 Merge branch 'add_frame_number' into 'master'
Add frame number to available postprocess uniforms

See merge request OpenMW/openmw!4355
4 months ago
Cody Glassman b346a4a858 Add frame number to available postprocess uniforms 4 months ago
psi29a f3dd6d0a42 Merge branch 'whatstatethisstate' into 'master'
Remove references to temporaries and this_state in properties

Closes #8152

See merge request OpenMW/openmw!4360
4 months ago
elsid 32ec92e71c
Use normalized path in LuaState 4 months ago
Cody Glassman f849b0c90f update render targets during update instead of draw thread -- fixes a bug with <1 size ratios 4 months ago
Evil Eye a32e006e1c Remove references to temporaries and this_state in properties 4 months ago
psi29a 1e94f53146 Merge branch 'is_starter_spell' into 'master'
Expose starter spells

See merge request OpenMW/openmw!4352
4 months ago
psi29a 8992a9fb8c Merge branch 'master' into 'master'
Navmeshtool as a Library

See merge request OpenMW/openmw!4354
4 months ago
psi29a 46cbee2f21 Merge branch 'input_bindings' into 'master'
Fix input bindings handling (#8115)

Closes #8115

See merge request OpenMW/openmw!4332
4 months ago
Ole Volbracht e920325073 Build navmeshtool as a library 4 months ago
psi29a 4c28731f6a Merge branch 'optionallightfadeout' into 'master'
Make light attenuation fade optional

See merge request OpenMW/openmw!4267
4 months ago
psi29a e1875d459a Merge branch 'boost-config-required' into 'master'
Modernise Boost CMake stuff

Closes #8100

See merge request OpenMW/openmw!4307
4 months ago
psi29a b3677d07fd Merge branch 'pcallallthethings' into 'master'
Wrap all memory allocating Lua functions in protected calls

Closes #8099

See merge request OpenMW/openmw!4336
4 months ago
psi29a da0e2e7f57 Merge branch 'fix_warning' into 'master'
Fix clang warning: -Wunused-but-set-variable

See merge request OpenMW/openmw!4353
4 months ago
psi29a 89976a9424 Merge branch 'vfs_normalized_path_9' into 'master'
Use normalized path for models settings (#8138)

See merge request OpenMW/openmw!4348
4 months ago
Mehdi Yousfi-Monod 767d7bfecd fixed indent 4 months ago
Mehdi Yousfi-Monod cb2a8c74dd FEAT: Expose starter spells 4 months ago
elsid 262b31cf08
Fix clang warning: -Wunused-but-set-variable
apps/openmw/mwmechanics/spellcasting.cpp:45:13: warning: variable 'index' set but not used [-Wunused-but-set-variable]
   45 |         int index = -1;
      |             ^
4 months ago
elsid 9e36b3fc0b
Use normalized path for models settings 4 months ago
elsid e01861140e
Add tests for MWWorld::Ptr 4 months ago
elsid 1cdbbef7ee
Use blank CellRef as default
Default constructed CellRef has some fields uninitialized.
4 months ago
elsid d998faec1b
Deregister only registered LiveCellRefBase 4 months ago
elsid 4565152b3d
Define LiveCellRefBase functions inside MWWorld namespace block 4 months ago
elsid ca8869042b
Move LiveCellRef where possible 4 months ago
Andrei Kortunov b620b9b239 Do not make redundant copies 4 months ago
psi29a f456978cc3 Merge branch 'blueshift' into 'master'
Launcher: Support extended selection for directories

See merge request OpenMW/openmw!4346
4 months ago
Alexei Kotov 176dec45a7 Make light attenuation fade optional
This also makes Force Per Pixel Lighting caption shorter to provide more space for the new button
4 months ago
Alexei Kotov 073e4639bf Launcher: Support extended selection for directories 4 months ago
Alexei Kotov f393c40cbd Launcher: Fix Insert Above behavior when the directory is added automatically 4 months ago
Evil Eye 5711a395af Merge branch 'bolt-is-not-a-static' into 'master'
[Lua] rename boltStatic to bolt in magic effect record bindings.

See merge request OpenMW/openmw!4342
4 months ago
psi29a 24a0e42594 Merge branch 'fargothsayshello' into 'master'
Don't turn to face the player to say hello if there is no hello response

Closes #8132

See merge request OpenMW/openmw!4339
4 months ago
Mads Buvik Sandvei f7f282fc48 bolt is not a static 4 months ago
Dave Corley daf82d40b9 FIX(CSVRender::Object): Clamp scale edits in render window too 4 months ago
Evil Eye 1f5c314022 Don't turn to face the player to say hello if there is no hello response 4 months ago
psi29a 50465a3cf2 Merge branch 'alternatingrowcolors' into 'master'
Launcher: Alternate row colors in directory and archive list

See merge request OpenMW/openmw!4338
4 months ago
Evil Eye 032d506aa7 Fix components_tests 4 months ago
Evil Eye 4529af9b7f Fix the tests 4 months ago
AnyOldName3 387b63909b Remove vestigial Boost libraries
Boost::zlib is basically part of Boost::iostreams, and depending on how you configure Boost, it can either be a separate library or get embedded into iostreams.
With the third-party-but-linked-on-Boost's-website package we've been using for years, it's a separate library.
Before https://gitlab.com/OpenMW/openmw/-/merge_requests/4307, we needed to explicitly link with it as CMake wasn't handling transitive dependencies for us.
With vcpkg, it's embedded, and doesn't have its own CMake config, so we couldn't explicitly link with it even if we wanted to.

Now CMake *is* handling transitive dependencies for us, we don't even need to think about this library.
It's all automatic.

Boost::locale, on the other hand, used to be something we used directly (I think for doing UTF-16/UTF-8 conversions when dealing with Windows paths).
However, it isn't anymore, and we just didn't purge it from our CMake when we should have.
It can go.
4 months ago
AnyOldName3 26be98966f Modernise Boost CMake stuff
Resolves https://gitlab.com/OpenMW/openmw/-/issues/8100

Also removes some old crud.
Hopefully the old crud is all:
* Handled automatically by CMake now we're using the modern approach.
* A hack-fix for a problem caused by not using the modern approach.
* Massively outdated so no longer necessary.

If it turns out this makes CI fail, I'll tweak things as necessary.

Changes that might not be wanted include:
* Getting rid of our BOOST_STATIC CMake option. In cases where the CMake config doesn't make the one correct choice from the build environment (i.e. because there's a choice) the CMake config exposes the option already.
  However, we were forcing this on for Windows, so that might matter.
  It seems to default to static on my machine even though I thought I read something suggesting otherwise, so we'll see how things go with that.
  If we eventually put CMake in charge of installing dependency DLLs this will be a moot point as we won't need to care.
* Bumping the minimum version of Boost to 1.70.0, as that's the first with working CMake config.
  It's from 2019, so plausibly there are distros too scared to use a library from five years ago as it can't legally drink in the US (although it could in limited quantities with parental supervision in the UK, as long as it's just something inconsequential like a single sip of beer).
4 months ago
Alexei Kotov 3a9e6de6fd Alternate row colors in directory and archive list 4 months ago
Alexei Kotov 951c440c8b Don't apply normal weapon resistance twice for NPCs (#8124) 4 months ago
Evil Eye c9783344a0 Wrap all memory allocating Lua functions in protected calls 4 months ago
elsid ca2bacd47a
Revert "Ability to unbind controls in settings menu"
This reverts commit 0836680e36.

To prevent crashes on empty input bindings config.
4 months ago
elsid 6a5bc9f992
Save and rename input bindings file
To reduce the chance of corrupting the file.
4 months ago
psi29a 527fa053c5 Merge branch 'actions_patchup' into 'master'
Lua Actions patchup

See merge request OpenMW/openmw!4311
4 months ago
uramer 2460b5f4ef Merge branch 'swizzle_bop_boom_bazingle_v2' into 'master'
lua - add swizzling to vector types

See merge request OpenMW/openmw!4304
4 months ago
psi29a dc9c68f61b Merge branch 'fix_android_openmw' into 'master'
Keep separation between openmw and openmw-lib on Android

See merge request OpenMW/openmw!4221
5 months ago
psi29a 73ee8ccc4e Merge branch 'rewrite-vfx' into 'master'
[Lua] Rewrite addvfx and spawnvfx

See merge request OpenMW/openmw!4314
5 months ago
Mads Buvik Sandvei cd7017e0e4 use string_view 5 months ago
Mads Buvik Sandvei 7f0f2373ea Use sol::optional for optional table instead of function overloading. 5 months ago
psi29a c8c09b1905 Merge branch 'thirstytherana' into 'master'
Prevent spell priority skyrocketing in useless cases

Closes #8102

See merge request OpenMW/openmw!4310
5 months ago
psi29a 9234b5707f Merge branch 'breaklilacor' into 'master'
Allow GetEffect to detect 0 magnitude spells

Closes #8097

See merge request OpenMW/openmw!4297
5 months ago
Mads Buvik Sandvei 09f6daf155 Rewrite addvfx and spawnvfx to take a model path instead of a static. Mode vfx from core to world. Add event handlers for AddVfx and SpawnVfx. 5 months ago
elsid a376d20c30
Fix tests on windows 5 months ago
psi29a 761957d28c Merge branch 'less_strict_test' into 'master'
Make test for navmeshdb limit less strict

See merge request OpenMW/openmw!4306
5 months ago
uramer ab628ea12a Fix memory safety of actions/triggers iteration 5 months ago
Sam Hellawell ae0660db0a Use nodeMask... lets ignore the previous attempt 5 months ago
Sam Hellawell de4d97826a Fix: castRenderingRay doesnt hit terrain 5 months ago
Evil Eye 45c7e45905 Prevent spell priority skyrocketing in useless cases 5 months ago
psi29a e7fc20d279 Merge branch 'fix/render-raycast-doesnt-hit-terrain' into 'master'
Fix: castRenderingRay doesnt hit terrain

Closes #7912

See merge request OpenMW/openmw!4286
5 months ago
elsid b56de5bcf9
Make test for navmeshdb limit less strict
To avoid rare test failures when tiles are added into the database in different
order.
5 months ago
elsid 20e3eeddde
Fix libavformat version check
2a68d945cd
added const version of a callback functions but didn't enable them. They were
guarded by a version check:

2a68d945cd/libavformat/version_major.h (L48)

So for anything LIBAVFORMAT_VERSION_MAJOR < 61 they are not enabled therefore
they are enabled for everything >= 61.0.100.

See https://github.com/elsid/openmw/actions/runs/10255993574/job/28374152796 as
example of failure when building with 60.16.100.
5 months ago
Evil Eye fe50b1a22b Allow GetEffect to detect 0 magnitude spells 5 months ago
psi29a 5d57ad7e85 Merge branch 'fix-ffmpeg-latest-version' into 'master'
Support compiling with FFMpeg 5 and greater

See merge request OpenMW/openmw!4281
5 months ago
Cody Glassman a53d002262 lua - add swizzling to vector types 5 months ago
elsid ec02e2ba1d Revert "Merge branch 'swizzle_bop_boom_bazingle' into 'master'"
This reverts merge request !4288
5 months ago
Cody Glassman 9951fd8a1a support 0/1 constant swizzles 5 months ago
Cody Glassman 7186b8febc generate all swizzle bindings at API initialization 5 months ago
Cody Glassman 19c0cebb27 lua - add swizzling to vector types 5 months ago
psi29a 6cc2b8de27 Merge branch 'distortion_clear' into 'master'
distortion - make sure color mask is enabled for clear to have an effect (#8082)

See merge request OpenMW/openmw!4294
5 months ago
psi29a 8d290dd581 Merge branch 'launcher' into 'master'
Don't check subdirectories of valid content directories (#8085)

Closes #8085

See merge request OpenMW/openmw!4279
5 months ago
Sam Hellawell 61cb5b4da6 Support compiling with ffmpeg 5 and greater 5 months ago
Jared Davenport 6946d22505 fix sourcetype 5 months ago