Commit Graph

1812 Commits (openmw-38)

Author SHA1 Message Date
scrawl daa94cc50e Fix cppcheck warnings 9 years ago
Poncho b1020dcd42 Use correct direction multipliers during awareness check 9 years ago
scrawl 63b9b075aa Do not allow soul trapping the same creature more than once (Fixes #3102) 9 years ago
scrawl 0bec6e5fbe Fix 'failed to find animation' warnings when a spell was equipped before the werewolf transformation 9 years ago
scrawl 6b67911658 Unset DrawState_Spell when becoming a werewolf 9 years ago
scrawl f052c05018 Move werewolf functions from World to MechanicsManager 9 years ago
scrawl 29d0f448b4 Add const version of World::getAnimation 9 years ago
scrawl 51c77c5045 Accept a ConstPtr in getDoorState 9 years ago
scrawl 53f4b92426 AiEscort do not follow target through doors
Testing revealed a problem where the guard on the prison ship would incorrectly follow the player outside. Upon further investigation in vanilla MW, it appears that with AiEscort the actor only follows the target through doors once the AiEscort package has completed, *and* no new AI package is running yet.
9 years ago
scrawl 04f7a8f8eb Remove redundant getId function 9 years ago
scrawl b2add6470b Missing include fix 9 years ago
scrawl 1c8244276d Exception handling improvements (Bug #3090) 9 years ago
scrawl 689dea4cb3 Add instant spell effects to the actor's magic effect list
Via http://forum.openmw.org/viewtopic.php?f=2&t=3212&start=20#p36208
9 years ago
scrawl 375caf037d Don't applyInstantEffect when magnitude is zero 9 years ago
scrawl 4af376133b Don't tick effects when duration is zero 9 years ago
scrawl 572786bff2 Instant effects that were added by a permanent ability are applied every frame
Via http://forum.openmw.org/viewtopic.php?f=2&t=3212&p=36120#p36121
9 years ago
scrawl a7e0562e1c Fix improper handling of multiple AiFollow packages with the same target (Fixes #3077) 9 years ago
scrawl f1f82af64e Fix improper swimming animations in first person mode 9 years ago
scrawl bdae572264 Merge pull request #840 from scrawl/movedrefs
Object movement between cells
9 years ago
scrawl 6f98982bc2 Make sure that health is >= 1 when resurrecting the player (Fixes #2972) 9 years ago
scrawl 34f48d63f3 Apply spell absorption once per effect (Fixes #2942) 9 years ago
scrawl 07b064f616 Rename to lowerCaseInPlace 9 years ago
scrawl 1875aa4a18 Restore getNearbyDoor 9 years ago
scrawl 1f543b4d79 Apply the AiTravel maxRange to AiEscort as well (Fixes #2697) 9 years ago
scrawl 965bea45c0 AiEscort makes the actor side with target in fights (Bug #2697)
Also will follow the player through teleport doors.
9 years ago
scrawl 4e678ce6b3 Handle mCellId in AiEscort 9 years ago
scrawl 0975f60d59 Stub out CellStore::get<T> accessors in preparation of reference movement between cells 9 years ago
scrawl 14b143231c Don't crash OpGetTarget when the target disappeared (Fixes #3048) 9 years ago
Marc Zinnschlag ff5582e318 Merge remote-tracking branch 'scrawl/ltex' 9 years ago
scrawl 5b8fd79b4b Fix crash when exception is thrown in startNewGame() 9 years ago
Chris Robinson 5f8a09df97 Play player sounds (except footsteps) local to the listener 9 years ago
Marc Zinnschlag 7cc950ed64 Merge remote-tracking branch 'origin/master' 9 years ago
scrawl 44dd62067e Remove some unnecessary per-frame store searches 9 years ago
scrawl 783594033a Optimize MWMechanics::Spells
Use pointers as map keys instead of string IDs. Resolves a nasty performance bottleneck on functions like hasCommonDisease() that previously had to look up all contained spells from the ESM store on every call. hasCommonDisease() is called hundreds of times per frame by the AI target update since it's used to calculate target disposition.

The total cost of hasCommonDisease() was 2.7% of the frame loop, now it's negligible.
9 years ago
Chris Robinson 73448c72f6 Replace Play_NoTrack with playManualSound3D, and rename the latter 9 years ago
scrawl 62169a7039 Use a single-precision PositionAttitudeTransform in speed critical places 9 years ago
scrawl 3453353091 AiCombat distance check takes into account collision box (Fixes #1699) 9 years ago
scrawl 666fbba1e0 Rotations: World::rotateObject takes radians instead of degrees
Cuts down on the amount of redundant degree<->radians conversions in the codebase.
9 years ago
scrawl 6405049add Rotations: move doors via Rotation rather than LocalRotation
Now LocalRotation is unneeded, will remove in next commit.
9 years ago
scrawl 637cd3a628 Adjust the FirstPersonNeckController to follow the camera with a reduced factor (Fixes #1784) 9 years ago
scrawl 3c338b9da9 ObstacleCheck: tweak the stuck detection parameters
The netch_betty wander animation starts up so slowly that the creature thought it was stuck, even though it's not.
9 years ago
scrawl d233bc483d ObstacleCheck: fix evasion issue
The check if (samePosition... would not work as intended because actors do not move in every frame when the framerate is higher than the physics framerate. In that case the actor would change its evasion direction almost every frame.
9 years ago
scrawl caa523a959 ObstacleCheck: fix the framerate not being taken into account 9 years ago
scrawl 801dc8eee3 ObstacleCheck: fix weird distance calculation 9 years ago
scrawl c996702b56 Fix some uninitialised variables found by static analysis 9 years ago
scrawl 46e07e4b19 Head tracking: fall back to target collision box center if the target has no head node 9 years ago
scrawl b72d5c5190 Don't play idlestorm animation when swimming 9 years ago
scrawl 8459a79a2c Fix AI being able to open locked doors (Fixes #2948) 9 years ago
Marc Zinnschlag 7e7215b3b3 Merge remote-tracking branch 'scrawl/master' 9 years ago
scrawl 7b6fe149f2 getSpellSuccessChance return 0 for used powers (Fixes #2944) 9 years ago