Commit Graph

104 Commits (6cb5ac6e63fb9bf6b27e827a227161f6dbc82f0a)

Author SHA1 Message Date
Andrei Kortunov 3d1daaebab Rework manual spellcasting (e.g. via scripts) 6 years ago
Andrei Kortunov ec73011617 Clean temporary storage if we assign new AI package (bug #4464) 6 years ago
Andrei Kortunov ee45f54b53 Refactor AiTemporaryStorage usage 6 years ago
Andrei Kortunov 6ed2773299 Do not stack return packages 6 years ago
Andrei Kortunov 74a2cbe696 AI: return back after pursuit 6 years ago
Andrei Kortunov 3d0631cfcc Store last AI package in savegame 6 years ago
Andrei Kortunov 3a0ee78d2b AiTravel: store mHidden flag in savegame 6 years ago
Andrei Kortunov 18ff097e4a Add the parameter to AiSequence::stack() to control ability to cancel other AI packages 6 years ago
scrawl fde6e29628 Merge pull request #1326 from akortunov/spellpriority
Combat AI improvements [feedback needed]
7 years ago
Andrei Kortunov 548814bfbc Added AiBreathe package (feature #1374) 7 years ago
Andrei Kortunov 1a8f2bfc11 Combat AI: select target by priority 7 years ago
Allofich 4f08084e79 Make stationary actors return to position on load
Also makes wandering actors resume their previous destination when an interrupting combat or pursuit ends.

(Fixes #3656)
7 years ago
Allofich 028762a7dc Make guards that are attacked try to arrest player
(Fixes #3706)
7 years ago
Ewan Higgs 38a2de3c51 convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 7 years ago
Allofich 2e5fd74db0 Fix invalid iterator warning 7 years ago
Allofich 6b53541571 Prevent AI actors from hitting unintended targets
(Fixes #3254)
7 years ago
scrawl 03a10f217a Catch exceptions in AiSequence::execute 7 years ago
Allofich a46c4de918 Stop combat when adding an AI package to an actor
(Fixes #3722)
7 years ago
Allofich 53e94b7c3f Fix shadowing warnings 8 years ago
mrcheko 612c7f1a2f Revert "Revert "Merge pull request #993 from mrcheko/pathfinding""
This reverts commit 3732979eec.
8 years ago
scrawl 3732979eec Revert "Merge pull request #993 from mrcheko/pathfinding"
This reverts commit 5190275b37, reversing
changes made to d7845012bf.
8 years ago
mrcheko 203804ff15 fix AiPackage repeating 8 years ago
MiroslavR dc0bc5b68c Implement Face instruction (Feature #1424) 8 years ago
Allofich b1be3596dc Cleanup of #include statements 8 years ago
Allofich 065d6a391d Don't repeat sequences of only one non-wander AI 8 years ago
Allofich bce66c629a Change editor-placed AI packages to cycle 8 years ago
scrawl 496cb85b01 Do not cancel Ai packages when on loading (Fixes #3409)
This piece of code was an attempt to fix up save games made before commit d3b76b7006 , but ended up introducing a new bug.
8 years ago
scrawl 3b31e8f66e Do not set AiPackageDone flag for non-Aipackages (Fixes #3392) 8 years ago
Michał Moroz 40cc6a4164 Changed AiSequence::stack to push_back lower priority packages instead of push_front (Bug #3384) 8 years ago
scrawl 93b2f09224 Workaround for some AI functions being incorrectly handled as AI packages (Bug #3378) 8 years ago
scrawl 14e1911820 Fix memory leaks 8 years ago
scrawl c4d38bb42d Fix clang analyzer warnings 8 years ago
scrawl 48ac0bef3e Repair save games affected by bug #3080 (Fixes #3160) 8 years ago
scrawl d3b76b7006 Don't stack Ai packages (Fixes #3101, Fixes #3080, Fixes #2697) 8 years ago
scrawl 14b143231c Don't crash OpGetTarget when the target disappeared (Fixes #3048) 9 years ago
dteviot 77a1d947cc extracted MWMechanics::getPlayer() 9 years ago
scrawl 278076e609 Include cleanup 9 years ago
scrawl 531bca1273 Add a threshold for changing aicombat targets (Fixes #2755) 9 years ago
scrawl 59db9664ba Pass the CharacterController to AiPackage::execute 9 years ago
scrawl 7bacb9418d Various math code ported to osg 9 years ago
dteviot f2ac939e61 reverted mShouldRepeat back to unsigned char.
As recommended by Scrawl.
9 years ago
scrawl 2ac4a74a34 Fix running AI for dead actors 9 years ago
scrawl de23ad5c8d Change dynamic_cast to static_cast to make coverity happy 9 years ago
scrawl c343a5c803 stopCombat fix 9 years ago
scrawl a8ae0dec52 Implement AiWander fast-forward (Feature #1125) 10 years ago
scrawl 2b78e9795d Implement Calm effect removing combat packages (Fixes #1985) 10 years ago
terrorfisch 0871d45790 Draft how to move temporary package state to CharacterController.
Example for a few values shown in AiWander.
10 years ago
scrawl 6fc53e73ad Don't run AI for knocked-out actors (Fixes #1854) 10 years ago
scrawl ee8b85aa2c Fix priority bug in AiSequence::stack (Fixes #1959) 10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago