Abdu Sharif
|
0f3dba28a7
|
Consider 75% Chameleon magical invisibility as well
|
2023-11-07 02:59:37 +00:00 |
|
Mads Buvik Sandvei
|
acf6178ea5
|
movement = movementFromAnimation; also when speed is 0.
|
2023-11-05 16:46:11 +01:00 |
|
Mads Buvik Sandvei
|
e86a4ebafe
|
Fixes based on comments by capo
|
2023-11-04 21:01:06 +01:00 |
|
Mads Buvik Sandvei
|
9ebec27daf
|
use const.
|
2023-11-04 16:18:36 +01:00 |
|
Mads Buvik Sandvei
|
c7c3a52e6a
|
Clang
|
2023-11-04 14:41:08 +01:00 |
|
Mads Buvik Sandvei
|
475bb1af65
|
Move calculating the animation direction into its own function to help simplify update(). Eliminate a pointless epsilon.
|
2023-11-04 14:34:41 +01:00 |
|
Mads Buvik Sandvei
|
1edc82062d
|
Account for strafing when draw state is not nothing, and "turn to movement direction" is true
|
2023-11-04 14:13:02 +01:00 |
|
Mads Buvik Sandvei
|
68fe1361f1
|
Attempt at clarifying the code
|
2023-11-04 14:00:13 +01:00 |
|
Evil Eye
|
3baefdf29e
|
Merge branch 'invisibilityagain' into 'master'
Improve invisibility breaking consistency (bug #7660)
Closes #7660
See merge request OpenMW/openmw!3539
|
2023-11-02 16:00:41 +00:00 |
|
Mads Buvik Sandvei
|
452f7a470e
|
fabsf -> abs
|
2023-11-01 23:19:13 +01:00 |
|
Mads Buvik Sandvei
|
a0f8bbc621
|
Bad merge
|
2023-11-01 20:34:39 +01:00 |
|
Mads Buvik Sandvei
|
f41de6b02d
|
Use accumulated movement whenever possible. Apply diagonal movement by rotating accumulated movement and sliding based on that, rather than ignoring accumulated movement.
|
2023-11-01 20:31:57 +01:00 |
|
Alexei Kotov
|
2d38ca4c35
|
Improve invisibility breaking consistency (bug #7660)
- Break on recharge attempts
- Break on repair attempts
- Break on potion creation attempts
- Don't break on failed ingredient consuming
|
2023-10-30 15:30:01 +03:00 |
|
Mads Buvik Sandvei
|
58e3fdac36
|
Clang format
|
2023-10-29 16:32:35 +01:00 |
|
Mads Buvik Sandvei
|
85f104fefe
|
Comments from Capo
|
2023-10-29 15:33:07 +01:00 |
|
Mads Buvik Sandvei
|
70f41b22b6
|
Based on the reason for closing !1845, we *should* let a scripted animation get stuck forever if the animation was already playing.
|
2023-10-29 14:53:03 +01:00 |
|
Mads Buvik Sandvei
|
cf5b782c76
|
More persist -> script language.
|
2023-10-29 14:53:03 +01:00 |
|
Mads Buvik Sandvei
|
426f5952a5
|
Prevent movement only when *scripted* animations are playing. Otherwise idle animations of wandering NPCs will slide.
|
2023-10-29 14:53:03 +01:00 |
|
Mads Buvik Sandvei
|
a9ade184d8
|
mLoopCount is the number of *remaining* loops. So we should be checking for >0, not >1.
|
2023-10-29 14:53:03 +01:00 |
|
Mads Buvik Sandvei
|
92a5e52407
|
rename "persisted" animations to "scripted", because that is what they actually are. And begin teaching the animation system to distinguish between a scripted and an unscripted animation.
|
2023-10-29 14:53:03 +01:00 |
|
Mads Buvik Sandvei
|
24890a729b
|
clang'd
|
2023-10-29 14:53:03 +01:00 |
|
Mads Buvik Sandvei
|
8792e76f5d
|
explicitly prevent movement whenever playing scripted animations
|
2023-10-29 14:53:03 +01:00 |
|
Mads Buvik Sandvei
|
cdb325f19a
|
Rewrite CharacterController::updateAnimQueue() to properly maintain the animation queue and clean up finished animations.
|
2023-10-29 14:53:03 +01:00 |
|
Mads Buvik Sandvei
|
24bac3ebd4
|
AiWander must update mIsWanderingManually when resuming wander.
|
2023-10-29 01:07:46 +02:00 |
|
Evil Eye
|
6cd5734fb3
|
Rate weapons as useless if the actor's skill is 0
|
2023-10-28 10:49:18 +02:00 |
|
psi29a
|
664caa2fc1
|
Merge branch 'iseeyou' into 'master'
Prevent fleeing in inappropriate situations (bug #6932)
Closes #6932
See merge request OpenMW/openmw!3508
|
2023-10-26 16:24:10 +00:00 |
|
psi29a
|
bdd0299fe7
|
Merge branch 'flyyouscamps' into 'master'
Allow talking with fleeing creatures (bug #7631)
Closes #7631
See merge request OpenMW/openmw!3510
|
2023-10-26 16:23:57 +00:00 |
|
Mads Buvik Sandvei
|
354b028072
|
isMovementAnimationControlled should be private.
|
2023-10-22 17:23:27 +02:00 |
|
Mads Buvik Sandvei
|
e893767ed0
|
Redundant line
|
2023-10-22 17:23:27 +02:00 |
|
Mads Buvik Sandvei
|
45a2b8042d
|
Derive the value of MovementAnimationControlled instead of storing it.
|
2023-10-22 17:23:27 +02:00 |
|
Mads Buvik Sandvei
|
dcf6a1fc3c
|
Refresh mMovementAnimationControlled when refreshing idle animations.
|
2023-10-22 17:22:50 +02:00 |
|
Alexei Kotov
|
3330907d7b
|
Combat AI: Prefer picking reachable/visible targets (bug #6932)
|
2023-10-22 16:20:02 +03:00 |
|
Alexei Kotov
|
ee5ca066fd
|
Allow talking with fleeing creatures (bug #7631)
|
2023-10-22 16:18:52 +03:00 |
|
Alexei Kotov
|
d0ffe6e2f9
|
Don't apply Charm to creatures (bug #7630)
|
2023-10-21 07:10:16 +03:00 |
|
Alexei Kotov
|
79bda2e694
|
Avoid redundant animation resets in updateIdleStormState
|
2023-10-04 22:26:52 +03:00 |
|
Evil Eye
|
0814ef5697
|
Allow creatures to use potions
|
2023-10-01 11:22:20 +02:00 |
|
Alexei Kotov
|
440851ff48
|
Rewrite melee hit target selection (bug #3438)
|
2023-09-19 22:31:45 +03:00 |
|
Andrei Kortunov
|
e1cae5a029
|
Rework music system
|
2023-09-13 09:11:07 +04:00 |
|
psi29a
|
090da90302
|
Merge branch 'factions' into 'master'
Implement Lua API for factions
See merge request OpenMW/openmw!3405
|
2023-09-12 19:41:54 +00:00 |
|
Andrei Kortunov
|
6ee86dea82
|
Implement Lua API for factions (feature 7468)
|
2023-09-12 09:49:03 +04:00 |
|
psi29a
|
9d186ee2cd
|
Merge branch 'ptrindex' into 'master'
Fix crash: PtrRegistry can contain pointers to already removed temporary ManualRefs
See merge request OpenMW/openmw!3411
|
2023-09-11 06:57:36 +00:00 |
|
Petr Mikheev
|
892f6d1aee
|
Make LiveCellRef to remove itself from PtrRegistry in destructor (to prevent potential use after free); Update ContainerStore::mPtr after copying container/actor.
|
2023-09-09 21:54:13 +02:00 |
|
Alexei Kotov
|
0f2e5f9db6
|
Uncap Drain effects again (bug #7573)
|
2023-09-09 22:46:11 +03:00 |
|
Evil Eye
|
6cec92223e
|
Replace find with search
|
2023-09-05 16:38:34 +02:00 |
|
Andrei Kortunov
|
7da8f388f5
|
More Coverity fixes
|
2023-09-01 16:49:39 +04:00 |
|
Evil Eye
|
5a8d108852
|
Cast to size_t
|
2023-08-20 16:25:58 +02:00 |
|
Evil Eye
|
e660a9ca16
|
Assign StringRefIds to attributes
|
2023-08-20 10:28:46 +02:00 |
|
psi29a
|
42e7647508
|
Merge branch 'more_coverity' into 'master'
More Coverity fixes
See merge request OpenMW/openmw!3326
|
2023-08-18 12:19:10 +00:00 |
|
Andrei Kortunov
|
1555fd8b34
|
Add assert
|
2023-08-18 12:46:45 +04:00 |
|
psi29a
|
e21e3a0d46
|
Merge branch 'time' into 'master'
Pause/resume the game in Lua scripts
See merge request OpenMW/openmw!3317
|
2023-08-18 08:22:04 +00:00 |
|