Commit Graph

25758 Commits (7af5b3acd2ef5834b707c3feec1773ec0611699d)
 

Author SHA1 Message Date
elsid 7f65a2c4c2
Remove unused code 4 years ago
elsid 3e98db8d60
Fix styleguide 4 years ago
elsid 84d6dea277
Inscribe physical bounding box into navmesh agent cylinder
To disallow too narrow navmesh for a bounding box.
4 years ago
AnyOldName3 0e122b1e3d Avoid copy and deep equality check 4 years ago
AnyOldName3 8a1b4bde8a Ensure original (removed) state overrides replacement state when recreating shaders
When the shader visitor replaces state (e.g. changes the deprecated
alpha test to a shader-based one) it backs up the original state. If
shaders are recreated, we need to know what the canonical state was and
create shaders to implement that instead of creating shaders to
implement dummy replacement state.

This was actually usually working as the removed state got checked after
the active state, so overwrote anything derived from it. However, if the
active state had the override bit set, that would make it override the
removed state.

Skipping any active state that duplicates removed state fixes this case.

Resolves #6108
4 years ago
AnyOldName3 d38126ef1c Pack default CS config
*Technically* it was already being loaded as if it were packed, but it
made no difference because it's supposed to be empty.
4 years ago
AnyOldName3 873b3b4800 Handle empty strings. 4 years ago
Evil Eye 1f658209f8 Merge branch 'DoNotCopyFullDialogue' into 'master'
Do not copy full dialogue as we only want to return its id

See merge request OpenMW/openmw!856
4 years ago
jvoisin 4f956a0b88 Merge branch 'uniq' into 'master'
Use make_unique instead of unique_ptr+new

See merge request OpenMW/openmw!960
4 years ago
jvoisin 9db7d0278a Sprinkle some const ref 4 years ago
jvoisin 2c8f328ac2 Use make_unique instead of unique_ptr+new 4 years ago
psi29a 7d8949ec3f Merge branch 'positively_glowing' into 'master'
Detach objects from the active grid when attempting to get their animation

Closes #6105

See merge request OpenMW/openmw!951
4 years ago
Evil Eye 080106e802 Merge branch 'inline' into 'master'
Inline a couple of methods in esmreader.cpp

See merge request OpenMW/openmw!945
4 years ago
jvoisin b4cfa4328e Merge branch 'keyword_soup' into 'master'
Strip quotes when treating keywords as strings

Closes #6066

See merge request OpenMW/openmw!921
4 years ago
Evil Eye 0998929608 Merge branch 'noreturn' into 'master'
Sprinkle some [[noreturn]] where possible

See merge request OpenMW/openmw!793
4 years ago
Evil Eye 822e331f64 Merge branch 'list_resources' into 'master'
Minor optimisation in VFS::FileSystemArchive::listResources

See merge request OpenMW/openmw!932
4 years ago
Evil Eye 2be27da791 Merge branch 'const_refs' into 'master'
Add a ton of const refs

See merge request OpenMW/openmw!954
4 years ago
Evil Eye 9f7980ecd7 Merge branch 'refenreces' into 'master'
Sprinkle some references where it makes sense

See merge request OpenMW/openmw!952
4 years ago
Evil Eye 1a421c3b2e Merge branch 'multicast' into 'master'
Fix two excessive type casting instances

See merge request OpenMW/openmw!953
4 years ago
Evil Eye 7e9785941c Merge branch 'default' into 'master'
Use `default` instead of empty constructors/destructors

See merge request OpenMW/openmw!957
4 years ago
Evil Eye 87c46fb3de Merge branch 'useless_check' into 'master'
Simplify NodeMapVisitor::apply

See merge request OpenMW/openmw!955
4 years ago
Evil Eye 25747d250f Merge branch 'init_list' into 'master'
Use initialization lists where possible

See merge request OpenMW/openmw!956
4 years ago
jvoisin cf11870b1c Sprinkle some references where it makes sense 4 years ago
jvoisin 5840279f16 Use `default` instead of empty constructors/destructors
See https://pvs-studio.com/en/docs/warnings/v832/ for details
4 years ago
jvoisin b2c170efa0 Use initialization lists where possible 4 years ago
jvoisin 895864099c Simplify NodeMapVisitor::apply
No need to run a find() before a std::replace
4 years ago
jvoisin 1123dc46ee Add a ton of const refs 4 years ago
jvoisin 33e035cc95 Fix two excessive type casting instances
No need to to a string -> char* -> string dance.
4 years ago
Evil Eye 692615fd3c Detach objects from the active grid when attempting to get their animation 4 years ago
jvoisin 5375b8e71b Minor optimisation in VFS::FileSystemArchive::listResources
When there is no cache, we can fill the `out`
variable as we create it, instead of creating the
cache, and then iterating it to fill `out`.

Thanks to @cemoc for the help!
4 years ago
Evil Eye df3a47187b Merge branch 'more_constexpr' into 'master'
Some more constexpr in esm/variant.cpp

See merge request OpenMW/openmw!850
4 years ago
Evil Eye 7377568f01 Merge branch 'modernize_use_override_openmw_cs' into 'master'
Using override keyword in OpenMW CS

See merge request OpenMW/openmw!888
4 years ago
Evil Eye f264a8d90a Merge branch 'vfx' into 'master'
Calculate magic VFX vertical offset (bug #5453)

Closes #5453

See merge request OpenMW/openmw!909
4 years ago
Evil Eye d9e938f0d6 Merge branch 'touft8_const' into 'master'
Constify a bit to_utf8.cpp and add a call to memcpy instead of doing it by hand

See merge request OpenMW/openmw!894
4 years ago
Evil Eye 22f7d4eee2 Strip quotes when treating keywords as strings 4 years ago
psi29a ff0fd2f684 Merge branch 'master' into 'master'
Fixed an issue #6101 (https://gitlab.com/OpenMW/openmw/-/issues/6101)

See merge request OpenMW/openmw!949
4 years ago
Alexey Yaryshev 2577047b59 Fixed an issue #6101 (https://gitlab.com/OpenMW/openmw/-/issues/6101) 4 years ago
jvoisin 4dca2c0466 Replace a handrolled memcpy with an actual call to memcpy 4 years ago
jvoisin 2c3c603be2 Sprinkle some const in components/to_utf8 4 years ago
jvoisin aec3c74fa5 Sprinkle some [[noreturn]] where possible 4 years ago
jvoisin 17e0c75d30 Some more constexpr in esm/variant.cpp 4 years ago
Bret Curtis 00c41e55a4
Merge pull request #3094 from akortunov/master
Fix 0.46 and 0.47 changelogs
4 years ago
Andrei Kortunov f3b8bc9811 Fix 0.46 and 0.47 changelogs 4 years ago
Dobrohotov Alexei 870cdd0130 Calculate magic VFX vertical offset (bug #5453) 4 years ago
Evil Eye 653114395d Merge branch 'dont_ctach' into 'master'
Don't catch exceptions in EsmReader::getExact

See merge request OpenMW/openmw!924
4 years ago
jvoisin 6140c9c3fd Don't catch exceptions in EsmReader::getExact 4 years ago
psi29a 9c3117d2d4 Merge branch 'fix_smooth_movement' into 'master'
Validate almost straight shortcuts by navmesh raycast (#6102)

Closes #6102

See merge request OpenMW/openmw!947
4 years ago
Evil Eye b2acb322af Merge branch 'modernize_use_override_for_most_apps' into 'master'
Using override keyword in most apps

See merge request OpenMW/openmw!886
4 years ago
elsid e7d68d3d1b
Validate almost straight shortcuts by navmesh raycast
Check whether it's possible to actually move over navmesh by such shortcut.
4 years ago
jvoisin cff11fbca9 Inline a couple of methods in esmreader.cpp 4 years ago