Commit Graph

25701 Commits (873b3b480055e00006837789cee83e525db5f646)
 

Author SHA1 Message Date
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 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
Evil Eye 4dad58b806 Merge branch 'fix5483-spell-cost' into 'master'
Fix #5483 / Compute spell cost dynamically

Closes #5483

See merge request OpenMW/openmw!703
4 years ago
Léo Peltier 5c4e1252e9 Handle AutoCalc flag when getting spell cost
Fixes #5483

This only applies to "base game" spells.
When adding an AutoCalc spell with TES:CS its cost is computed and
stored inside game files. This stored cost was being used by OpenMW and
the actual cost was never recomputed at runtime whereas Morrowind.exe
discards the stored cost.
While this worked fine in vanilla, mods can update AutoCalc spell
effects without ever updating the stored cost.

The formula was mostly there already but there was a few differences,
namely a 1 second offset in duration.
4 years ago
psi29a 6a9f2fdb17 Merge branch 'underground' into 'master'
Get The Underground 2 running

See merge request OpenMW/openmw!608
4 years ago
Evil Eye 2db7495d43 add changelog entry 4 years ago
Evil Eye 690e5ef757 Don't resolve a script's target just to get the ID 4 years ago
Evil Eye 67c8d73fe0 Allow scripts to fail per target 4 years ago
Evil Eye 879e66a043 Don't autoequip items when implicitely adding an item using equip 4 years ago