Evil Eye
822e331f64
Merge branch 'list_resources' into 'master'
...
Minor optimisation in VFS::FileSystemArchive::listResources
See merge request OpenMW/openmw!932
2021-06-24 19:11:46 +00:00
Evil Eye
2be27da791
Merge branch 'const_refs' into 'master'
...
Add a ton of const refs
See merge request OpenMW/openmw!954
2021-06-24 18:57:41 +00:00
Evil Eye
9f7980ecd7
Merge branch 'refenreces' into 'master'
...
Sprinkle some references where it makes sense
See merge request OpenMW/openmw!952
2021-06-24 17:40:36 +00:00
Evil Eye
1a421c3b2e
Merge branch 'multicast' into 'master'
...
Fix two excessive type casting instances
See merge request OpenMW/openmw!953
2021-06-24 17:32:25 +00:00
Evil Eye
7e9785941c
Merge branch 'default' into 'master'
...
Use `default` instead of empty constructors/destructors
See merge request OpenMW/openmw!957
2021-06-24 17:19:02 +00:00
Evil Eye
87c46fb3de
Merge branch 'useless_check' into 'master'
...
Simplify NodeMapVisitor::apply
See merge request OpenMW/openmw!955
2021-06-24 17:12:40 +00:00
Evil Eye
25747d250f
Merge branch 'init_list' into 'master'
...
Use initialization lists where possible
See merge request OpenMW/openmw!956
2021-06-24 17:10:54 +00:00
jvoisin
cf11870b1c
Sprinkle some references where it makes sense
2021-06-24 00:28:09 +02:00
jvoisin
5840279f16
Use default
instead of empty constructors/destructors
...
See https://pvs-studio.com/en/docs/warnings/v832/ for details
2021-06-24 00:26:15 +02:00
jvoisin
b2c170efa0
Use initialization lists where possible
2021-06-23 23:36:43 +02:00
jvoisin
895864099c
Simplify NodeMapVisitor::apply
...
No need to run a find() before a std::replace
2021-06-23 23:29:14 +02:00
jvoisin
1123dc46ee
Add a ton of const refs
2021-06-23 23:13:59 +02:00
jvoisin
33e035cc95
Fix two excessive type casting instances
...
No need to to a string -> char* -> string dance.
2021-06-23 22:19:08 +02:00
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!
2021-06-23 12:46:44 +02:00
Evil Eye
df3a47187b
Merge branch 'more_constexpr' into 'master'
...
Some more constexpr in esm/variant.cpp
See merge request OpenMW/openmw!850
2021-06-22 18:40:06 +00:00
Evil Eye
7377568f01
Merge branch 'modernize_use_override_openmw_cs' into 'master'
...
Using override keyword in OpenMW CS
See merge request OpenMW/openmw!888
2021-06-22 18:04:40 +00:00
Evil Eye
f264a8d90a
Merge branch 'vfx' into 'master'
...
Calculate magic VFX vertical offset (bug #5453 )
Closes #5453
See merge request OpenMW/openmw!909
2021-06-22 17:15:29 +00:00
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
2021-06-22 16:07:19 +00:00
psi29a
ff0fd2f684
Merge branch 'master' into 'master'
...
Fixed an issue #6101 (https://gitlab.com/OpenMW/openmw/-/issues/6101 )
See merge request OpenMW/openmw!949
2021-06-22 14:51:49 +00:00
Alexey Yaryshev
2577047b59
Fixed an issue #6101 ( https://gitlab.com/OpenMW/openmw/-/issues/6101 )
2021-06-22 14:51:49 +00:00
jvoisin
4dca2c0466
Replace a handrolled memcpy with an actual call to memcpy
2021-06-22 12:52:29 +02:00
jvoisin
2c3c603be2
Sprinkle some const in components/to_utf8
2021-06-22 12:52:29 +02:00
jvoisin
17e0c75d30
Some more constexpr in esm/variant.cpp
2021-06-22 12:49:09 +02:00
Bret Curtis
00c41e55a4
Merge pull request #3094 from akortunov/master
...
Fix 0.46 and 0.47 changelogs
2021-06-22 09:26:29 +02:00
Andrei Kortunov
f3b8bc9811
Fix 0.46 and 0.47 changelogs
2021-06-22 10:06:41 +04:00
Dobrohotov Alexei
870cdd0130
Calculate magic VFX vertical offset (bug #5453 )
2021-06-21 23:29:45 +03:00
Evil Eye
653114395d
Merge branch 'dont_ctach' into 'master'
...
Don't catch exceptions in EsmReader::getExact
See merge request OpenMW/openmw!924
2021-06-21 20:06:45 +00:00
jvoisin
6140c9c3fd
Don't catch exceptions in EsmReader::getExact
2021-06-21 20:06:45 +00:00
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
2021-06-21 19:54:17 +00:00
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
2021-06-21 18:47:45 +00:00
elsid
e7d68d3d1b
Validate almost straight shortcuts by navmesh raycast
...
Check whether it's possible to actually move over navmesh by such shortcut.
2021-06-21 18:50:45 +02:00
Evil Eye
4dad58b806
Merge branch 'fix5483-spell-cost' into 'master'
...
Fix #5483 / Compute spell cost dynamically
Closes #5483
See merge request OpenMW/openmw!703
2021-06-20 16:00:02 +00:00
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.
2021-06-20 13:42:28 +02:00
psi29a
6a9f2fdb17
Merge branch 'underground' into 'master'
...
Get The Underground 2 running
See merge request OpenMW/openmw!608
2021-06-19 21:06:15 +00:00
Evil Eye
2db7495d43
add changelog entry
2021-06-19 19:27:32 +02:00
Evil Eye
690e5ef757
Don't resolve a script's target just to get the ID
2021-06-19 19:26:57 +02:00
Evil Eye
67c8d73fe0
Allow scripts to fail per target
2021-06-19 19:26:55 +02:00
Evil Eye
879e66a043
Don't autoequip items when implicitely adding an item using equip
2021-06-19 19:26:53 +02:00
Evil Eye
382d458f9c
Ignore wrong reference class for SetHello
2021-06-19 19:26:53 +02:00
psi29a
eca0a95a5a
Merge branch 'fix_new_game_guard_2' into 'master'
...
Reapply new game guard fix
See merge request OpenMW/openmw!944
2021-06-19 13:34:36 +00:00
elsid
e5e04b85c1
Consider time to destination when try to avoid collision
...
Actor may reach destination before collision. Get next path point from active
packet pathfinder and use point tolerance to reduce distance.
Use maximum of last destination tolerance and DEFAULT_TOLERANCE because
there are 2 checks made for path completion. First checks whether actor is
close enough to the destination and second drop last path point when actor is
closer than DEFAULT_TOLERANCE.
2021-06-19 14:11:20 +02:00
psi29a
f2ab1913e3
Merge branch 'ellipsis' into 'master'
...
Allow unquoted string arguments to start with . and -
Closes #3846
See merge request OpenMW/openmw!943
2021-06-19 12:11:04 +00:00
psi29a
c4ddbb5800
Merge branch 'example-suite-documentation' into 'master'
...
Initial page to document the Template. Mainly deals with how to install it....
See merge request OpenMW/openmw!929
2021-06-19 12:08:57 +00:00
Matjaž Lamut
a582013e95
Initial page to document the Template. Mainly deals with how to install it....
2021-06-19 12:08:57 +00:00
elsid
56e6305345
Revert "Merge branch 'fix_new_game_guard' into 'master'"
...
This reverts commit a487295d39
.
2021-06-19 14:06:46 +02:00
Evil Eye
c1177d7ffe
Allow unquoted string arguments to start with . and -
2021-06-19 11:21:37 +02:00
psi29a
b7886bc036
Merge branch 'SpeedUpInteriorCheck' into 'master'
...
Speedup searching for exterior cells
See merge request OpenMW/openmw!857
2021-06-19 00:29:47 +00:00
psi29a
afda721d4b
Merge branch 'race_floats' into 'master'
...
Display Race record height/weight as a float
See merge request OpenMW/openmw!880
2021-06-19 00:29:21 +00:00
psi29a
047d993cf4
Merge branch 'at' into 'master'
...
Use operator[] instead of at() when the idx is checked
See merge request OpenMW/openmw!916
2021-06-19 00:26:48 +00:00
psi29a
a6b695e15b
Merge branch 'esmcleanup' into 'master'
...
More ESM cleanup
See merge request OpenMW/openmw!903
2021-06-19 00:23:52 +00:00