Commit Graph

22740 Commits (ecef6fd7b53f5272df234c7dccc012b930efb65e)

Author SHA1 Message Date
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 4 months ago
psi29a 96ec3a8125 Merge branch 'testthevfs' into 'master'
Fix vfs bindings and add tests

Closes #8157

See merge request OpenMW/openmw!4371
4 months ago
Evil Eye 2978b32f51 Fix vfs bindings 4 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
5 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
Cody Glassman 24452e2c3a distortion - make sure color mask is enabled for clear to have an effect 5 months ago
psi29a e8fcdae99e Merge branch 'no-more-oversized-demons' into 'master'
Don't apply scale in RotateController

See merge request OpenMW/openmw!4284
5 months ago
psi29a 488a05d14c Merge branch 'lua-add-is-fleeing' into 'master'
lua - add isFleeing() to AI interface

See merge request OpenMW/openmw!4256
5 months ago
psi29a 028ac2354e Merge branch 'controller_tab_type' into 'master'
Allow shoulder buttons to work in menus when text input is active

See merge request OpenMW/openmw!4010
5 months ago
Sebastian Fieber 234476bdae lua - add isFleeing() to lua AI interface 5 months ago
Dave Corley a4f1e7d918 FIX(rotatecontroller): Actually accounting for scale breaks biped creatures 5 months ago
Sam Hellawell 1b3509d0ad Use nodeMask... lets ignore the previous attempt 5 months ago
Sam Hellawell dd77c81557 Fix: castRenderingRay doesnt hit terrain 5 months ago
psi29a 30a844ae71 Merge branch 'how-do-you-ambulate' into 'master'
FEAT(types): Expose creature flags

See merge request OpenMW/openmw!4280
5 months ago
psi29a 765d55208f Merge branch 'axis-lock' into 'master'
Feat(CS): Add shortcuts for axis locking, submode selection, switching camera, and fix render arrows

See merge request OpenMW/openmw!3675
5 months ago
Dave Corley 42060be65c FEAT: Add essential and respawning flags for both NPC and Creature types 5 months ago
Dave Corley ef9d5270a1 FEAT(types): Expose creature flags 5 months ago
elsid 5c92b18875
Avoid using string_view on a temporary 5 months ago
psi29a fc2f30dc4a Merge branch 'anim-api-cleanup' into 'master'
Anim api cleanup (close #8081)

Closes #8081

See merge request OpenMW/openmw!4274
5 months ago
Cody Glassman 77eeb5bd92 Merge branch 'master' into 'master'
HALF_FLOAT  and normals changes

See merge request OpenMW/openmw!4240
5 months ago
Jared Davenport 349931b5cd HALF_FLOAT and normals changes 5 months ago
psi29a 2967383636 Merge branch 'dialoguesubview' into 'master'
Do not store references to disposed objects

Closes #8046

See merge request OpenMW/openmw!4272
5 months ago
psi29a 79a9f8c23c Merge branch 'thedreughtookmyenchantmentsandarentgivingthemback' into 'master'
Rebuild ESMStore indices before loading any cell or player state

See merge request OpenMW/openmw!4278
5 months ago
psi29a f4e5d67476 Merge branch 'ridethestorm' into 'master'
Handle GetItemCount on references without a container store gracefully

See merge request OpenMW/openmw!4277
5 months ago
Alexei Kotov 8a7035020a Don't check subdirectories of valid content subdirectories (#8085) 5 months ago
Andrei Kortunov 21db4219de Use QPersistentModelIndex to react to model changes 5 months ago
Evil Eye 5c4deb3f88 Prevent older binaries from incorrectly loading newer saves 5 months ago
Evil Eye 68be9a9544 Rebuild ESMStore indices before loading any cell or player state 5 months ago
Evil Eye 63e1b0ee9d Handle GetItemCount on references without a container store gracefully 5 months ago
Alexei Kotov 03091f8ce0 Make Coverity happy about animation blending 5 months ago
Anton Uramer a5d1db2afd Use new Context helpers for UI bindings 5 months ago
Anton Uramer 6851e6e56a Context helpers for caching packages, split up core bindings into multiple caches, remove getRealFrameDuration in global context 5 months ago
Dave Corley 9f8ebc7973 FIX: Correct keybind conflict with move submode and drop to terrain 5 months ago
Dave Corley 55ccec7ecc FIX: Update settings declarations to newer standards 5 months ago
Dave Corley 5afdcddefa Consistency fix in keybind names, simplify instancemode and remove some
dead code
5 months ago
Dave Corley 78c41d3eee Feat(instancemode.cpp): Implement keybinds for axis locking & switching submodes
Cleanup(instancemode): Make the axis shortcut using std::string instead
of format
5 months ago
Dave Corley 98750a122d Feat(worldspacewidget.cpp): store the camera mode tool & implement the
shortcut to cycle camera modes
5 months ago
Dave Corley 2e581c4d70 Feat(CS): Add shortcuts for axis locking, submode selection, and camera cycling 5 months ago
Dave Corley 86f33cb6fe CLEANUP(animationbindings): Lowercase all input groupnames 5 months ago
Dave Corley 6eee6e9468 CLEANUP(animationbindings): camelCase all the things 5 months ago
uramer 80ced23a69 Lua Context: Replace exclusive bools with type enum 5 months ago
Andrei Kortunov 355dd0bccf Do not store references to disposed objects 5 months ago
psi29a 6065dfda2d Merge branch 'gaspthemenuisawerewolf' into 'master'
Update the menu video from a separate thread and respect window resizes

Closes #8063

See merge request OpenMW/openmw!4250
5 months ago
Alexei Kotov 1f4ab3b668 Merge branch 'animationblending' into 'master'
Animation blending implementation. Flexible and moddable through .yaml blending config files.

See merge request OpenMW/openmw!3497
5 months ago
psi29a 89e8514e00 Merge branch 'qvariant_usertype' into 'master'
Improve QVariant usage

See merge request OpenMW/openmw!4261
5 months ago
psi29a f2aa30f7a5 Merge branch 'fix_nan_get_angles' into 'master'
Avoid getting nan in conversion to euler angles (#7772)

Closes #7772

See merge request OpenMW/openmw!4258
5 months ago
psi29a 376e8a6e1f Merge branch 'bounding_box' into 'master'
lua - use loaded node when possible when calculating bounding box (#7580)

Closes #7580

See merge request OpenMW/openmw!4073
5 months ago
elsid ad428bd23b
Add unit tests for conversion to euler angles 5 months ago
Sam Hellawell b9a7bdc0c7 Dont use NormalizedView for yamlpath, use changeExtension, add setting to tests script 5 months ago
Andrei Kortunov 54271b872c Improve QVariant usage 5 months ago
Sam Hellawell a7a105dfdd Copy by ref, fix unable to find rules warning garbage 5 months ago
Sam Hellawell 78e365f382 Add OpenMW-CS Terrain Equalize tool 5 months ago
Cody Glassman 8105c62a02 handle potentially empty ptrs 5 months ago
Sam Hellawell 4bd078a6db Return offset/angle by reference 5 months ago
Sam Hellawell ecb5616b36 Use std::sin/std::cos, clarify floating point types, update comment 5 months ago
Sam Hellawell 380d357d02 Fix compilation after master merge 5 months ago
Sam Hellawell 0bcd872561 Clang format 5 months ago
Sam Hellawell ddbd87e2a1 Fix blending with additional offsets (sneaking issue) 5 months ago
Sam Hellawell 9beb380c7d Remove M_PI, documenation cleanup 5 months ago
Sam Hellawell 5deacb82ff Use M_PI as osg::PIf is not constant 5 months ago
Sam Hellawell 1317434ac0 CI fix 5 months ago