ζeh Matt
5e44dd41eb
Restructure function updateMovementSpeed
2022-03-28 16:20:24 +03:00
ζeh Matt
23615e653a
Mark getActivePackage const
2022-03-28 16:17:42 +03:00
ζeh Matt
cba51e5e1c
Restructure function updateHeadTracking
2022-03-28 16:13:40 +03:00
ζeh Matt
f5b527e445
Restructure function isCommanded
2022-03-28 16:07:20 +03:00
psi29a
1c70b9790c
Merge branch 'covid_wont_stop_me' into 'master'
...
Don't reset last hit object if the ID doesn't match
Closes #6682
See merge request OpenMW/openmw!1727
2022-03-28 11:40:46 +00:00
Evil Eye
c1d700f770
Don't reset last hit object if the ID doesn't match
2022-03-28 11:40:46 +00:00
Evil Eye
7695f03c4c
Remove unused variable
2022-03-27 17:20:22 +02:00
ζeh Matt
edca5ac0b8
Rename hasDisease to hasSpellType and refactor function
2022-03-25 20:47:43 +02:00
ζeh Matt
dcdba227f7
Use vector for mUsedPowers for deterministic order
2022-03-25 20:42:01 +02:00
ζeh Matt
8103ff2e6f
Make the CI happy
2022-03-21 17:49:42 +02:00
ζeh Matt
08fae7be6e
Pass the prng from world where appropriate
2022-03-21 17:49:42 +02:00
ζeh Matt
d83a381f79
Refactor and rename some things around Misc::Rng
2022-03-06 17:28:28 +02:00
Petr Mikheev
df41b4080d
Merge branch 'refactor/headtracking' into 'master'
...
Small improvement for headtracking
See merge request OpenMW/openmw!1683
2022-03-03 20:39:53 +00:00
Matt
0b528d3bfb
Small improvement for headtracking
2022-03-03 20:39:53 +00:00
psi29a
ceae2d664d
Merge branch 'refactor/stdlist' into 'master'
...
Use std::vector instead of std::list for some functions
See merge request OpenMW/openmw!1699
2022-02-28 07:40:21 +00:00
ζeh Matt
eca405e5c7
Use std::vector instead of std::list
2022-02-25 04:02:21 +02:00
psi29a
7e4e78b1a7
Merge branch 'engarde' into 'master'
...
Always reduce weapon condition by the raw damage (bug #6559 )
Closes #6559
See merge request OpenMW/openmw!1694
2022-02-23 21:49:57 +00:00
Alexei Dobrohotov
fdd9e6a793
Always reduce weapon condition by the raw damage (bug #6559 )
2022-02-23 16:37:56 +03:00
psi29a
34be9329eb
Merge branch 'ascivilaspossible' into 'master'
...
Increase the base actor angular velocity to 900°/sec (#5192 )
Closes #5192
See merge request OpenMW/openmw!1690
2022-02-23 10:09:17 +00:00
elsid
595c2e0a8e
Use unique_ptr to manage AiPackage lifetime
2022-02-23 00:39:30 +01:00
Alexei Dobrohotov
1a15ad216d
Increase the base angular velocity to 900°/sec ( #5192 )
2022-02-23 02:13:31 +03:00
ζeh Matt
b997e28e57
Fix #6633 : AiSequence packages being removed incorrectly
2022-02-19 14:56:51 +02:00
psi29a
4a2302ff2b
Merge branch 'hand_to_nixhound' into 'master'
...
Disallow non-bipedal hand-to-hand refreshes
See merge request OpenMW/openmw!1667
2022-02-16 22:30:39 +00:00
Evil Eye
7bd4971e0c
Disallow non-bipedal hand-to-hand refreshes
2022-02-16 21:58:22 +01:00
ζeh Matt
0ce29a6131
Simplify logic in AiSequence::execute
2022-02-16 20:21:10 +02:00
ζeh Matt
e60e0b55eb
Fix potential another crash
2022-02-16 18:19:55 +02:00
ζeh Matt
83be3826ff
Fix #6618 : Crash due to iterator invalidation
2022-02-16 18:19:10 +02:00
Evil Eye
649c2f8286
Fix stats not working right for saves started before version 17
2022-02-14 18:38:37 +01:00
Petr Mikheev
d8127fdad2
Merge branch 'refactor/aisequence-2' into 'master'
...
#6091 : Optimize isInCombat
See merge request OpenMW/openmw!1636
2022-02-12 23:50:42 +00:00
Matt
367bdcf0cc
#6091 : Optimize isInCombat
2022-02-12 23:50:41 +00:00
Alexei Kotov
14a9af15ab
Merge branch 'dagoth_wave' into 'master'
...
Remove weaponless, non-biped distinction
Closes #5054
See merge request OpenMW/openmw!1517
2022-02-12 15:07:32 +00:00
Alexei Kotov
380823d0ee
Merge branch 'always-use-best-attack-rounding-fix' into 'master'
...
Fix always-use-best-attack rounding
See merge request OpenMW/openmw!1647
2022-02-12 15:03:44 +00:00
Evil Eye
fdfde836fe
Expect recent saves to store the modified value
2022-02-12 01:03:12 +01:00
Niek Wilting
6cd12823e8
Fix always-use-best-attack rounding
2022-02-11 19:26:13 +01:00
Evil Eye
054d8babc4
Add getRatio method
2022-02-10 22:10:46 +01:00
Evil Eye
6b203892fc
Fix mod not increasing fortified values
2022-02-10 20:46:20 +01:00
Evil Eye
dc495a685a
Remove a member variable that doesn't get saved and remove fortify maximum health code
2022-02-10 20:32:59 +01:00
Petr Mikheev
6c56436809
Control AI packages from Lua
2022-02-06 15:01:51 +01:00
Evil Eye
4657060d2c
Extend swish and strength changes to all random attacks
2022-02-06 11:08:47 +01:00
Evil Eye
020e0b2ea5
Don't allow non-bipedal actors to play hand-to-hand animations
2022-02-05 22:50:04 +01:00
unknown
5ebcd37da1
Rename method and restore swish sounds
2022-02-05 19:07:44 +01:00
Evil Eye
8752f78fa4
Remove weaponless, non-biped distinction
2022-02-01 21:58:55 +01:00
uramer
c31dedb89c
Implement Yaw, Pitch and Use (attack / cast spell) in Lua self.controls
2022-02-01 18:47:20 +00:00
jvoisin
4cd6d2dacf
Merge branch 'rework_fixed_string' into 'master'
...
Rework fixed string
See merge request OpenMW/openmw!1596
2022-01-30 18:47:06 +00:00
jvoisin
43f64e9f75
Merge branch 'tasty_sujamma' into 'master'
...
Uncap attribute and skill damage for drain and absorb effects
See merge request OpenMW/openmw!1592
2022-01-30 17:59:49 +00:00
psi29a
7bab714825
Merge branch 'fix_circling_fargoth' into 'master'
...
Remove unnecessary loops from path (#6510 )
Closes #6510
See merge request OpenMW/openmw!1584
2022-01-29 19:48:02 +00:00
Evil Eye
79dc600dae
Uncap attribute and skill damage for drain and absorb effects
2022-01-29 16:29:50 +01:00
elsid
45db56b382
Rework fixed string
...
* Avoid inheritance.
* Define equality operators out of the class definition.
* Replace toString with toStringView where it doesn't make sense to create a string.
2022-01-28 18:39:09 +01:00
elsid
7ec7c57879
Remove unnecessary loops from path
...
This prevents actors going back when a new shortest path includes a point
behind them where they were right before. Such situation can happen when path
includes off mesh connection. Resulting cost of such path can be lower than
the real one because off mesh connections are straight lines and walking
surface usually is not a plane but a surface.
Skip to path point where distance from current position to the line between
previous and this point is less than point tolerance. Which means actor is
standing very close to the edge between those points. Additionally check by
navmesh raycasting to make sure there is actually a valid path.
2022-01-24 22:32:04 +01:00
Bret Curtis
74e7cfc023
remove unused includes: part1
...
remove unused imports: part2
revert one tidy we will keep for c++20
2022-01-23 17:30:25 +01:00