Commit Graph

21893 Commits (c82c111ee163d9a897b43764302ed29113403f99)

Author SHA1 Message Date
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
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 10 months ago
Andrei Kortunov 1126f38a1e Do not copy the whole attributes store 10 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
10 months ago
psi29a 717f1c9870 Merge branch 'floatingpoint' into 'master'
CharacterController: rework movement queueing logic (#7835)

Closes #7835

See merge request OpenMW/openmw!3875
10 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
10 months ago
psi29a a6c9e63520 Merge branch 'nojumpallowed' into 'master'
Reduce false-positive jumping events (#7833)

Closes #7833

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

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

See merge request OpenMW/openmw!3876
10 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
10 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