Commit Graph

25311 Commits (a8c5fc74d1cf431522d40758e7600b6465c6529f)
 

Author SHA1 Message Date
AnyOldName3 a8c5fc74d1 Massively simplify the worst Bash ever 4 years ago
elsid 91e94b221a Merge branch 'overflow_spam' into 'master'
Don't log a warning for reading to the end of the subrecord

See merge request OpenMW/openmw!786
4 years ago
Evil Eye abb120b439 Don't log a warning for reading to the end of the subrecord 4 years ago
Alexei Dobrohotov e3bb45fd61 Merge branch 'minor_aicombat' into 'master'
Minor optimization in aicombat.cpp

See merge request OpenMW/openmw!737

(cherry picked from commit f1d19035cccfff2523faad0d4e4d96cd3ddae2e6)

bbbfc520 Minor optimization in aicombat.cpp
237b34a6 Fix style
a14911cb Fix indentation
4 years ago
Alexei Dobrohotov add04a4ea0 Merge branch 'fix_esm' into 'master'
Fix a read head-buffer-overflow in esm

See merge request OpenMW/openmw!751
4 years ago
Alexei Dobrohotov 6b41bdf7b4 Merge branch 'find_char' into 'master'
Use a char instead of a string in find() where possible

See merge request OpenMW/openmw!781
4 years ago
jvoisin 4c96644f8d Use a char instead of a string in find() where possible
This was done via PVS Studio ( https://pvs-studio.com ),
and should provide a super-duper-marginal performance boost \o/
4 years ago
psi29a 8edef1692f Merge branch 'revert_windows_ci' into 'master'
Revert some windows CI changes

See merge request OpenMW/openmw!773
4 years ago
AnyOldName3 6420501baa Merge branch 'fix_noexcept_default' into 'master'
Fix build by compliers without implementation of P1286R2 (#5983)

See merge request OpenMW/openmw!772
4 years ago
elsid 0ac3f09fe0
Revert "Build windows in scheduled tasks"
This reverts commit 44ca708e12.
4 years ago
elsid 2af40a1e13
Revert "Build even more windows"
This reverts commit e3d3b97da0.
4 years ago
elsid e1d955d92b
Remove noexcept specifier from CreatureCustomData move ctor
C++17 doesn't allow to declare defaulted move ctor with not matching
exception specification to the calculated one:
/Users/eddie/Downloads/BUILD/openmw-master/apps/openmw/mwclass/creature.cpp:63:9: error:
      exception specification of explicitly defaulted move constructor does not
      match the calculated one
        CreatureCustomData(CreatureCustomData&& other) noexcept = default;
        ^

http://wg21.link/p1286r2 makes this possible in C++20 and newer compilers
already have it working even with -std=c++17 but older onces give an error.
4 years ago
elsid ca7add0624
Add move constructor to MWMechanics::Spells 4 years ago
elsid 46e34c500c
Use algorithms to add/remove listener to SpellList 4 years ago
AnyOldName3 a34151d890 Merge branch 'brew_gitlab' into 'master'
Don't run `brew uninstall` outside of travis-ci

See merge request OpenMW/openmw!771
4 years ago
AnyOldName3 90fecdeda2 Merge branch 'vertex_lighting_fix' into 'master'
Correct vertex lighting

Closes #5973

See merge request OpenMW/openmw!770
4 years ago
jvoisin ce654b0504 Don't run `brew uninstall` outside of travis-ci 4 years ago
AnyOldName3 123044f60b Merge branch 'osx_sysroot_patch' into 'master'
Revert CMAKE_OSX_SYSROOT as this interferes with the gitlab ci builds.

See merge request OpenMW/openmw!769
4 years ago
glassmancody.info c48eee4eee Clamp vertex lighting before interpolation
Fixes a regression in which pass lighting was clamped after being passed
to fragment shader. For correct FFP emulation, we need to clamp the result
in vertex shader. When clamping after interpolation, negative lights in
particular have a much more drastic effect.
4 years ago
nighthawk469 511d3344fe Revert CMAKE_OSX_SYSROOT as this interferes with the gitlab ci builds. 4 years ago
psi29a 138d3b65a3 Merge branch 'audio-device-close-error' into 'master'
don't forget to close the audio device after you're done with it.

See merge request OpenMW/openmw!759
4 years ago
Simon Meulenbeek cd419256ad don't forget to close the audio device after you're done with it. 4 years ago
psi29a f553f4e891 Merge branch 'nighthawk469-master-patch-79878' into 'master'
Revert Xcode sdk version from 11.6 to 10.2

See merge request OpenMW/openmw!766
4 years ago
nighthawk469 03bb569995 Revert Xcode sdk version from 11.6 to 10.2 4 years ago
jvoisin e3d3b97da0 Build even more windows 4 years ago
jvoisin 44ca708e12 Build windows in scheduled tasks
This should solve disappearing nigthlies
4 years ago
Andrei Kortunov faad18b7f9
Merge pull request #3072 from akortunov/warnfix
Fix node masks signed/unsigned mismatch
4 years ago
Bret Curtis 823c4dfba4
Merge pull request #3073 from akortunov/master
Disable controllers for found sheath meshes
4 years ago
Andrei Kortunov b7b85bb713 Disable controllers for found sheath meshes (bug #5975) 4 years ago
Andrei Kortunov 2d869ca9ff Fix node masks signed/unsigned mismatch 4 years ago
Bret Curtis 50d6cd2a34
Merge pull request #3070 from akortunov/coverity
Fix an another portion of Coverity warnings
4 years ago
Bret Curtis c6c92b5712
Merge pull request #3071 from akortunov/master
Fix an another batch of MSVC complaints
4 years ago
AnyOldName3 ff46eceabe Merge branch 'maybe-reintroduce-5904' into 'master'
Fix crash on startup

See merge request OpenMW/openmw!709
4 years ago
Hristos N. Triantafillou 43e5d8300c Merge branch 'allow_osx_fail' into 'master'
Allow OSX to fail for now

See merge request OpenMW/openmw!763
4 years ago
jvoisin 21203fb850 Allow OSX to fail for now 4 years ago
Andrei Kortunov d10399e083 Cast double constant to float explicitely 4 years ago
Andrei Kortunov 7d5c5f8a24 Do not assign negative values to unsigned variables 4 years ago
Andrei Kortunov 651ad11ad8 Do not leave variables without initialization, even in execution paths where they are unused 4 years ago
Andrei Kortunov 9647b670e4 Do not declare unused variables 4 years ago
Andrei Kortunov 2009916dd8 Fix dead code 4 years ago
Andrei Kortunov 0cadc97fb3 Fix double -> float conversions 4 years ago
Andrei Kortunov 1b1c786d0c Do not suppress fixed MyGUI warnings 4 years ago
Bret Curtis befa3f587f
Merge pull request #3068 from akortunov/master
Clean up MSVC warnings
4 years ago
psi29a b645c1f4c0 Merge branch 'navmesh_ignore' into 'master'
Do not trigger NavMesh update when RecastMesh update should not change NavMesh (#4917)

See merge request OpenMW/openmw!762
4 years ago
psi29a f3354c509e Merge branch 'stomp' into 'master'
Adjustable Stomp

See merge request OpenMW/openmw!575
4 years ago
elsid 3e67f5ffa5
Detect and ignore updates for oscillating objects
To avoid triggering NavMesh update when RecastMesh change should not change
NavMesh.

Based on the following assumption:
Given a set of transformations and a bounding shape for all these
tranformations, a new object transformation that does not change this
bounding shape also should not change navmesh if for all of this object
transformations resulting navmesh tiles are equivalent

The idea is to report back to RecastMeshManager all changes of NavMesh if there
are any assiciated with RecastMesh version. So we know the last time when
RecastMesh change resulted into the NavMesh change. When later report shows
that there was no NavMesh change for a new RecastMesh version we can assume
that any object transformation within the same bounding box should not change
NavMesh.
4 years ago
elsid 64fb700ae9
Remove unnecessary relation between updateCompoundObject and RecastMeshObject 4 years ago
elsid 629cedb6d0
Do not track last build revision in RecastMeshManger
mLastBuildRevision == mRevision with current use cases does not happen. But
even if this will happen when another use case will be added it does not save
much computation. The most expensive operation is not adding objects to the
MeshBuilder but to optimize resulting navmesh that will happen anyway in
MeshBuilder::create call.
4 years ago
AnyOldName3 ce3ed28403 Control stomping via settings. 4 years ago
psi29a 7a22c022dc Merge branch 'collada-documentation' into 'master'
Various improvements to the COLLADA format asset pipeline page.

See merge request OpenMW/openmw!761
4 years ago