Commit Graph

22037 Commits (a51d560174d90ac55049fd8ab687533dfe24fbfc)

Author SHA1 Message Date
psi29a ef8228f2f3 Merge branch 'fix/hardcoded-weather-meshes' into 'master'
Fix: hardcoded weather meshes, use settings instead

See merge request OpenMW/openmw!3880
10 months ago
psi29a c3a44ca74a Merge branch 'mapped' into 'master'
Track map position using MWWorld::Cell

See merge request OpenMW/openmw!3932
10 months ago
elsid ffbeb5ab98
Build localization path using VFS::Path::Normalized 10 months ago
elsid 84adb0a148
Make VFS::Path::Normalized constructor from std::string_view explicit 10 months ago
Evil Eye 504a9e7d43 Address feedback 10 months ago
psi29a a926f4a5a9 Merge branch 'alt_tab_fix' into 'master'
Do not treat Alt-Tab as resolution change

Closes #7866

See merge request OpenMW/openmw!3931
10 months ago
elsid 5859fd464c
Add option to disable precompiled headers
To be able to use ccache.

Also fix compilation errors appeared due to absence of precompiled
headers.
10 months ago
Evil Eye b055367b3b Track map position using MWWorld::Cell 10 months ago
Andrei Kortunov 5dcac4c48f Do not treat Alt-Tab as resolution change (bug 7866) 10 months ago
Sam Hellawell c6ee01b0be Apply fix to sky manager
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
Sam Hellawell bf7819f71d fix clang format 10 months ago
Sam Hellawell f28b3f6601 Style tweak
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
Sam Hellawell af8c2a94df Fix: hardcoded weather meshes, use settings instead
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
uramer 9ae61f1932 Fix child UI Elements created in the same frame as parent 10 months ago
psi29a effb4fc383 Merge branch 'whoanotouchy' into 'master'
Properly calculate touch spell hit position (#6156)

Closes #6156

See merge request OpenMW/openmw!3920
10 months ago
psi29a 9434f52c14 Merge branch 'fix/less-strict-ids' into 'master'
Fix(idvalidator): Allow any printable character in refIds

Closes #7721

See merge request OpenMW/openmw!3896
10 months ago
psi29a e340b06411 Merge branch 'get-glextensions-properly' into 'master'
Get the GLExtensions instance when a context is created

Closes #7351

See merge request OpenMW/openmw!3022
10 months ago
psi29a 61f5a13c02 Merge branch 'check-osg-plugins' into 'master'
Check for dynamic OSG plugins on launch

Closes #7736

See merge request OpenMW/openmw!3748
10 months ago
Alexei Kotov 1f629b1368 Account for Hrnchamd's research in touch effect hit position calculation 10 months ago
Evil Eye cef59e8928 Replace fixed size writeHNT calls with decomposition 10 months ago
Alexei Kotov 828bf3d11a Merge branch 'imperfectoil' into 'master'
Implement auto calculated potion values

Closes #7859

See merge request OpenMW/openmw!3918
10 months ago
Alexei Kotov 7a84f27eeb Properly calculate touch spell hit position (#6156)
Reorganize hit contact logic and remove dead code (distance checks, melee hit contact-relevant stuff)
10 months ago
psi29a d168466034 Merge branch 'raciallybound' into 'master'
Expose races to Lua

See merge request OpenMW/openmw!3863
10 months ago
Evil Eye 958f70736f Implement auto calculated potion values 10 months ago
Evil Eye e54decc830 Remove redundant is_automagicals 10 months ago
psi29a e6f64f5e71 Merge branch 'fullhelp' into 'master'
Move full help text after everything else (#7623)

Closes #7623

See merge request OpenMW/openmw!3907
10 months ago
psi29a 03d5872a55 Merge branch 'drop_on_exit' into 'master'
Add a storage mode to drop section on game exit

See merge request OpenMW/openmw!3905
10 months ago
Evil Eye 0519e1215f Unify the creation of RefId tables 10 months ago
Alexei Kotov 27b1434f5b Use string_view for full help text 10 months ago
Evil Eye cd118ee263 Expose races to Lua 10 months ago
Andrei Kortunov ddd0945645 Add a storage mode to drop section on game exit 10 months ago
Alexei Kotov 46f863a32e Merge branch 'help-i-cant-swim' into 'master'
Fix(editor): Don't save dirty water height values

Closes #7841

See merge request OpenMW/openmw!3881
10 months ago
psi29a 619ccf7107 Merge branch 'decomposition' into 'master'
Use decompose to remove more instances of pragma pack

See merge request OpenMW/openmw!3906
10 months ago
psi29a f2039b35d0 Merge branch 'vfs_normalized_path_3' into 'master'
Use normalized path for correctSoundPath

See merge request OpenMW/openmw!3903
10 months ago
psi29a 051f3dcd56 Merge branch 'fps_independent_water_ripples' into 'master'
Make water ripples simulation FPS independent (#7687)

Closes #7687

See merge request OpenMW/openmw!3885
10 months ago
Alexei Kotov 01e0b25fd3 Merge branch 'coverity' into 'master'
Fix some Coverity complaints

See merge request OpenMW/openmw!3904
10 months ago
Alexei Kotov 65aa222efa Move full help text after everything else (#7623) 10 months ago
Evil Eye 7d7e8939ab Use ESM::decompose to handle WPDTstruct 10 months ago
Evil Eye ec1c6ee171 Use ESM::decompose to handle ENAMstruct 10 months ago
elsid ec9c829021
Use normalized path for correctSoundPath 10 months ago
elsid 92d57d6e46
Make Normalized constructor from const char* explicit 10 months ago
Evil Eye 595e42ae43 Merge branch 'lua_death_finished' into 'master'
Add a Lua function to check if actor's death is finished

See merge request OpenMW/openmw!3901
10 months ago
Andrei Kortunov cf6b6020a0 Move local variables 11 months ago
Andrei Kortunov 1126f38a1e Do not copy the whole attributes store 11 months ago
psi29a f307e7acc7 Merge branch 'well-that-was-really-dumb' into 'master'
Actually use the plane distances we just computed

Closes #7844

See merge request OpenMW/openmw!3898
11 months ago
psi29a 717f1c9870 Merge branch 'floatingpoint' into 'master'
CharacterController: rework movement queueing logic (#7835)

Closes #7835

See merge request OpenMW/openmw!3875
11 months ago
AnyOldName3 53afa6b185 Appease clang-format by changing something I didn't touch 11 months ago
AnyOldName3 36a75cdb29 Get the GLExtensions instance when a context is created 11 months ago
psi29a e4a9e83609 Merge branch 'disable-shadows-properly-properly' into 'master'
Affect correct texture units when disabling shadows for stateset

Closes #7838

See merge request OpenMW/openmw!3891
11 months ago
psi29a a6c9e63520 Merge branch 'nojumpallowed' into 'master'
Reduce false-positive jumping events (#7833)

Closes #7833

See merge request OpenMW/openmw!3869
11 months ago
Andrei Kortunov 7c4b42ab2a Add a Lua function to check if actor's death is finished 11 months ago
Dave Corley ce2787e15e Cleanup(loadcell): Rename setHasWater to setHasWaterHeightSub 11 months ago
Dave Corley b2b1c98396 fix(esmtool): Don't try to log a variable that doesn't exist 11 months ago
Dave Corley bb35f0366a Fix(loadcell): Save water height regardless of value, if the user actually adjusted it 11 months ago
Dave Corley 090a389feb Cleanup(idvalidator): Just don't use isValid function and instead
directly check if input is a printable char
11 months ago
psi29a 99d0fc6f75 Merge branch 'fix_controller_controls_cam' into 'master'
Fix player looking/controls via controller

See merge request OpenMW/openmw!3890
11 months ago
psi29a 518f34c869 Merge branch 'bsa_archive' into 'master'
Cleanup and optimize BSA archives code

See merge request OpenMW/openmw!3876
11 months ago
AnyOldName3 f27564ec78 Actually use the plane distances we just computed
We don't get any of the speedup if we don't do this.

We also forget about any objects nearer the camera than the previous value except the groundcover we're just about to deal with.

Fixes https://gitlab.com/OpenMW/openmw/-/issues/7844
11 months ago
Dave Corley 9fc66d5de6 Fix(idvalidator): Allow any printable character in refIds 11 months ago
psi29a 7a8b27736e Merge branch 'fix_benchmark_warning' into 'master'
Update google benchmark to 1.8.3 and fix related warnings

See merge request OpenMW/openmw!3877
11 months ago
Alexei Kotov 93bb67a08f Merge branch 'launcher_fixes' into 'master'
Minor launcher improvements

Closes #7843

See merge request OpenMW/openmw!3887
11 months ago
AnyOldName3 535c5e328a Affect correct texture units when disabling shadows for stateset
Knowing which are right required making the function non-static, so the shadow manager had to become a singleton as the results of passing it around to where it's needed were hellish.

I'm seeing a bunch of OpenGL errors when actually using this, so I'll investigate whether they're happening on master.
I'm hesitant to look into it too much, though, as I'm affected by https://gitlab.com/OpenMW/openmw/-/issues/7811, and also have the Windows setting enabled that turns driver timeouts into a BSOD so a kernel dump is collected that I can send to AMD.
11 months ago
Zackhasacat b4c5a2777a Rename var 11 months ago
Zackhasacat ccb506385f Fix player looking/controls 11 months ago
Andrei Kortunov 3971abf5e6 Minor launcher improvements (feature 7843) 11 months ago
psi29a 8c8fffc2c6 Merge branch 'fix_shared_library_build' into 'master'
Build fixes related to shared libraries and position independent code

See merge request OpenMW/openmw!3878
11 months ago
Alexei Kotov 15a42f26a7 Merge branch 'fix_distance_spinbox' into 'master'
Fix viewing distance spinbox in the launcher

Closes #7840

See merge request OpenMW/openmw!3882
11 months ago
Alexei Kotov 592081d3cb Merge branch 'addcarry' into 'master'
Add missing lua function types.Item.isCarriable

See merge request OpenMW/openmw!3879
11 months ago
elsid c9b4c8632a
Update ripples surface only when there is need to do so
This depends on the difference between FPS which is dynamic and ripples update
frequency which is contant. If FPS > ripples update frequency, some frames do
nothing. If FPS <= ripples update frequency each frame runs shaders once. Update
offset, possitions shader uniforms only when it will be run.
11 months ago
elsid 3b01e209b1
Use proper names for static members 11 months ago
elsid 56e69cf7a2
Make some RipplesSurface members private 11 months ago
elsid dc5371d157
Remove unused RipplesSurface::State::mOffset 11 months ago
Andrei Kortunov 6f1710dee1 Fix viewing distance spinbox in the launcher (bug 7840) 11 months ago
psi29a 3369184c19 Merge branch 'lesspragmaticpackages' into 'master'
Use decompose to handle AI packages and data

See merge request OpenMW/openmw!3856
11 months ago
Zackhasacat fed62a8517 Remove unneeded line 11 months ago
Zackhasacat 92242a3d54 Simplify 11 months ago
Zackhasacat 731095831d Add missing function types.Item.isCarriable() 11 months ago
elsid e9c672b297
Fix build with cmake flag BUILD_SHARED_LIBS=ON
Always build opencs-lib as static library instead of BUILD_SHARED_LIBS deciding
whether it's static or shared library.
11 months ago
elsid cc9f9b53ba
Convert BsaVersion to enum class 11 months ago
elsid df077a2524
Simplify and reduce code duplication for BSA archive creation 11 months ago
elsid da5ab2b2c9
Fix benchmark warning: -Wdeprecated-declarations
/home/elsid/dev/openmw/apps/benchmarks/detournavigator/navmeshtilescache.cpp: In function ‘void {anonymous}::getFromFilledCache(benchmark::State&)’:
/home/elsid/dev/openmw/apps/benchmarks/detournavigator/navmeshtilescache.cpp:186:37: warning: ‘typename std::enable_if<((! std::is_trivially_copyable<_Tp>::value) || (sizeof (Tp) > sizeof (Tp*)))>::type benchmark::DoNotOptimize(const Tp&) [with Tp = DetourNavigator::NavMeshTilesCache::Value; typename std::enable_if<((! std::is_trivially_copyable<_Tp>::value) || (sizeof (Tp) > sizeof (Tp*)))>::type = void]’ is deprecated: The const-ref version of this method can permit undesired compiler optimizations in benchmarks [-Wdeprecated-declarations]
  186 |             benchmark::DoNotOptimize(result);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /home/elsid/dev/openmw/apps/benchmarks/detournavigator/navmeshtilescache.cpp:1:
/home/elsid/dev/benchmark/build/gcc/release/install/include/benchmark/benchmark.h:507:5: note: declared here
  507 |     DoNotOptimize(Tp const& value) {
      |     ^~~~~~~~~~~~~
11 months ago
Alexei Kotov 41d41780a8 CharacterController: rework movement queueing logic (#7835) 11 months ago
psi29a f9820e2061 Merge branch 'debugdrawdebugged' into 'master'
Try to uncursify debug primitive drawer (#7767)

Closes #7767

See merge request OpenMW/openmw!3852
11 months ago
psi29a 8545fb920e Merge branch '9-ancestral-tenets' into 'master'
Fix(CS): Scale actors according to their race's stats

Closes #7753

See merge request OpenMW/openmw!3714
11 months ago
jvoisin 0db730825d Merge branch 'drainmaximummagicka' into 'master'
Hide magnitude for Fortify Maximum Magicka when requested as well (#7832)

Closes #7832

See merge request OpenMW/openmw!3868
11 months ago
Alexei Kotov aae74224e8 Prevent swim upward correction from causing false-positive jumping events (#7833) 11 months ago
Alexei Kotov 7873714103 Restore vertical movement reset for various movement states (#7833)
Note getJump already handles incapacitation states (dead/paralyzed/KO)
11 months ago
Alexei Kotov 6e81927d60 Make extra sure to ignore movement input for scripted animations (#7833) 11 months ago
Dave Corley 54f4c69d37 Cleanup(columnimp): Use std::clamp to limit race scaling 11 months ago
psi29a 1280345296 Merge branch 'copy_qtbase' into 'master'
Copy qtbase translations

See merge request OpenMW/openmw!3840
11 months ago
psi29a 2ae137f709 Merge branch 'lua_element_crash' into 'master'
Fix crash when throwing in index meta methods

Closes #7711

See merge request OpenMW/openmw!3862
11 months ago
Andrei Kortunov 9a7b9572fd Deploy base Qt translations when needed 11 months ago
Dave Corley 54e90b4ac2 Legacy(columnimp): Add TESCS limits for race weight/height scaling 11 months ago
Alexei Kotov c1b9beb763 Merge branch 'deadanimation' into 'master'
Remove dead code

See merge request OpenMW/openmw!3866
11 months ago
Dave Corley 1b1f0c4971 Switch height/weight in names and make the stats a simple struct instead 11 months ago
Alexei Kotov a0ba0d781a Hide magnitude for Fortify Maximum Magicka when requested as well (#7832) 11 months ago
Dave Corley 98ad059806 Cleanup(actoradapter): Use more explicit names & vec2 for racial height/weight 11 months ago
Dave Corley 049550d73e Cleanup(Actoradapter.cpp): Create new struct for race stats, use
std::pair instead
11 months ago
Dave Corley b31664a78f Fix(CS): Scale actors according to their race's stats 11 months ago
uramer 08b7ee8a44 Test LuaUtil::safeGet preventing crash 11 months ago
psi29a ec1cf46ec7 Merge branch 'lua_keybinds' into 'master'
Lua Implement mouse input engine handlers, improve inputBinding renderer

See merge request OpenMW/openmw!3855
11 months ago
psi29a 29c2042432 Merge branch 'lua_callback_crash' into 'master'
Lua Fix crash when passing a non-callback table to a callback argument

Closes #7827

See merge request OpenMW/openmw!3861
11 months ago
psi29a fda47a6ebe Merge branch 'flying-fish-straight-to-jail' into 'master'
Groundcover should ignore non-geometry Drawables

Closes #7633

See merge request OpenMW/openmw!3859
11 months ago
Evil Eye 8f88838ff5 Remove dead code 11 months ago
psi29a 744cd50520 Merge branch 'decoupled-audio' into 'master'
Add option to use camera as sound listener

Closes #5944

See merge request OpenMW/openmw!3836
11 months ago
Epoch 6486f3f2cf Add option to use camera as sound listener 11 months ago
psi29a 50ea852928 Merge branch 'STOP_IGNORING_ME_AND_LOOK_ME_IN_THE_EYES' into 'master'
add ignore list to raycasts (#7788)

See merge request OpenMW/openmw!3848
11 months ago
psi29a 9fb28a250c Merge branch 'a2c-grammar' into 'master'
Fix grammar for A2C checkbox

See merge request OpenMW/openmw!3858
11 months ago
psi29a 9e1cdaceff Merge branch 'markers' into 'master'
Fix ESM4 marker model hiding hack

See merge request OpenMW/openmw!3853
11 months ago
uramer 851e291501 Simplify and fix the storage subscribe test 11 months ago
Evil Eye 1523a067c9 Use concepts and aggregate initialization 11 months ago
Cody Glassman 56b31ceaf5 add ignore list to raycasts 11 months ago
psi29a c889026b71 Merge branch 'cleanup_physics_callbacks' into 'master'
Cleanup physics callbacks

See merge request OpenMW/openmw!3831
11 months ago
psi29a 8d0a670f94 Merge branch 'vfs_normalized_path_2' into 'master'
Use normalized path for file archives indices

See merge request OpenMW/openmw!3830
11 months ago
psi29a 1c2fc59a6f Merge branch 'water' into 'master'
Refraction fog based on water depth

See merge request OpenMW/openmw!3842
11 months ago
psi29a e9c97b835e Merge branch 'acertainsign' into 'master'
Expose birth signs to Lua

See merge request OpenMW/openmw!3850
11 months ago
psi29a a060a7297c Merge branch 'dehardcode-skillprogression' into 'master'
Lua: Dehardcode skill and level progression

See merge request OpenMW/openmw!3779
11 months ago
psi29a d36583bdec Merge branch 'nevercruelorcowardly' into 'master'
Correct activation behavior for actors in combat (#7794)

Closes #7794

See merge request OpenMW/openmw!3822
11 months ago
AnyOldName3 8c591a0b44 Groundcover should ignore non-geometry Drawables
Fix https://gitlab.com/OpenMW/openmw/-/issues/7633

Untested - the issue didn't link to a mod using the mesh and I couldn't be bothered setting one up manually.
11 months ago
AnyOldName3 3149761c85 Fix grammar for A2C checkbox
An alternative would be *Anti-alias alpha testing*.

The original was wrong because anti-alias is a verb acting on alpha testing, but it treated the whole thing as a noun phrase.
11 months ago
uramer 63a1bbb88d Enable Lua mouse engine handlers while in UI 11 months ago
Evil Eye 75d0b6e355 Use decompose to handle AI packages and data 11 months ago
Alexei Kotov 887d09e051 Fix ESM4 marker model hiding hack 11 months ago
uramer c68dee214e Mouse input engine handlers 11 months ago
Alexei Kotov 3301ebb2cb Merge branch 'localize_screenshot' into 'master'
Localize screenshot messages

See merge request OpenMW/openmw!3843
11 months ago
Alexei Kotov a54d97669f Merge branch 'imnotyourpalbuddy' into 'master'
Reset friendly hits at the end of combat and don't count hits while in combat

Closes #5755

See merge request OpenMW/openmw!3839
11 months ago
Alexei Kotov 0d1da08493 Set node mask on DebugDrawer
Fixes primitive drawing in exteriors/quasiexteriors
11 months ago
Alexei Kotov f9498e6ea4 Make DebugDrawer a LightManager child, don't use VAO for lines
Fixes terrain lighting but currently breaks non-line primitive rendering in exteriors
11 months ago
Alexei Kotov 38ab09a52e Try to uncursify DebugDrawer scene representation 11 months ago
Zackhasacat 86666761a3 Requested changes 11 months ago
Evil Eye 7586acc18b Remove Core from functions that aren't in openmw.core 11 months ago
Andrei Kortunov 525dee00f1 Refraction fog based on water depth (feature 5926) 11 months ago
psi29a ff7f2217f1 Merge branch 'update_next_tile_id' into 'master'
Update next tile_id when there is a duplicate in navmeshdb

See merge request OpenMW/openmw!3849
11 months ago
elsid a6657c18cc
Use normalized path for file archives indices 11 months ago
elsid 062d3e9c00
Add NormalizedView for normalized paths 11 months ago
elsid 1689c59546
Add tests for VFS::Path::Normalized 11 months ago
Alexei Kotov 0178c5aaef Remove Open action fallback for Tribunal NPC companions 11 months ago
Andrei Kortunov 6760fa4945 Localize screenshot messages 11 months ago
Alexei Kotov c5564323e4 Correct activation behavior for actors in combat (#7794)
Stop battle music upon death animation end
11 months ago
Alexei Kotov 6be6f47503 Merge branch 'lua_enchantment_charge_nil' into 'master'
Lua Use nil instead of -1 for default enchantment charge

See merge request OpenMW/openmw!3845
11 months ago
Zackhasacat 4700fdcfc2 Merge branch 'master' of gitlab.com:openmw/openmw into fix_global_iteration 11 months ago
elsid 506824cb9d
Cleanup physics callbacks
* Do not copy with allocations.
* Remove unused DeepestNotMeContactTestResultCallback.
* Avoid using pointers which should not be nullptr.
* Move constructors implementation to headers.
* Move types defined in .cpp are to unnamed namespace.
* Comment unused arguments.
* Avoid C-style casts.
11 months ago
Evil Eye 5715e6428a Merge branch 'lua_separate_owner' into 'master'
Group owner bindings into a table

See merge request OpenMW/openmw!3841
11 months ago
Evil Eye f114d409c8 Add get and set birth sign 11 months ago
Evil Eye f7aa9f8d94 Expose birth signs to Lua 11 months ago
elsid a7da604332
Update next tile_id when there is a duplicate in navmeshdb
Disable writes on failure to update next tile_id to avoid further errors.
11 months ago
psi29a 557e83d502 Merge branch 'more_move' into 'master'
Move action argument

See merge request OpenMW/openmw!3844
11 months ago
uramer b1773d7e9f Use nil instead of -1 for default enchantment charge 11 months ago
Andrei Kortunov a8c219f07c Move action argument 11 months ago
psi29a 7793a6d0d9 Merge branch 'modelviewbutnocontroller' into 'master'
Collect string_views when deciding what to preload

See merge request OpenMW/openmw!3816
11 months ago