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
Petr Mikheev
e2c5f4e766
Fix #7506
2023-08-16 17:14:08 +02:00
jvoisin
4cf80cdac2
Merge branch 'fix_esm4_ai' into 'master'
...
Fix AI in ESM4 cells
See merge request OpenMW/openmw!3338
2023-08-14 22:00:24 +00:00
elsid
5abbc56bf2
Use proper cell size for ESM4 cells in CoordinateConverter
2023-08-13 02:24:22 +02:00
Alexei Dobrohotov
9723912ee0
Evaluate the attack early for non-biped attacks with no hit key ( #7524 )
2023-08-11 01:27:55 +03:00
Andrei Kortunov
e749461d06
More Coverity fixes
2023-08-09 15:50:44 +04:00
Petr Mikheev
91c7585c8b
Move some time-related function from World and WorldView to DateTimeManager
2023-08-08 22:57:28 +02:00
Evil Eye
fb10014d6e
Remove heal cooldown
2023-08-07 22:44:24 +02:00
Evil Eye
ee92ae7e34
Simplify restore magicka priority
2023-08-07 22:43:39 +02:00
Evil Eye
7c82405c9f
Tweak AI rating to reduce healing spam
2023-08-07 22:43:35 +02:00
psi29a
2a4440e5b1
Merge branch 'theprojectileswereswords' into 'master'
...
Fix price enchantment price calculation to use the correct item count
Closes #7472
See merge request OpenMW/openmw!3227
2023-08-04 09:05:02 +00:00
elsid
fbeb3ab03a
Do not build path to next path point via navmesh
...
To void a situation when next path point continuously changing making actor go
in circles.
This is unnecessary but also creates problems since pathgrid is used to build
path for AiWander.
2023-07-31 22:02:21 +02:00
Petr Mikheev
0487bf95d1
Merge branch 'coverity49' into 'master'
...
Fix some Coverity warnings
See merge request OpenMW/openmw!3286
2023-07-31 00:09:14 +00:00
Petr Mikheev
e077ca5aa3
Merge branch 'clean_includes_4' into 'master'
...
Cleanup includes
See merge request OpenMW/openmw!3288
2023-07-31 00:04:18 +00:00
Mads Buvik Sandvei
c18a7801ed
Lua: active spell params and active spell effects
2023-07-31 00:02:05 +00:00
elsid
dd54857610
Add missing array include
2023-07-29 00:29:03 +02:00
Andrei Kortunov
d8ec78d732
Fix some Coverity warnings
2023-07-28 20:58:18 +04:00
psi29a
e76ce6b696
Merge branch 'fix_find_path' into 'master'
...
Remove stepping from findSmoothPath and other tweaks (#7241 , #7485 )
Closes #7485 and #7241
See merge request OpenMW/openmw!3264
2023-07-27 09:34:50 +00:00
psi29a
e073eab05e
Merge branch 'more_evade_directions' into 'master'
...
Use more evade directions and filter by supporting animation (#7450 )
Closes #7450
See merge request OpenMW/openmw!3210
2023-07-27 09:32:39 +00:00
psi29a
488657d9b4
Merge branch 'refnum-for-items-in-spellcast' into 'master'
...
Use refnum instead of slot for items during spellcast
Closes #4508
See merge request OpenMW/openmw!3244
2023-07-25 21:23:59 +00:00
Mads Buvik Sandvei
364f2a98e9
Use refnum instead of slot for items during spellcast
2023-07-25 21:23:59 +00:00
psi29a
94d8c50df2
Merge branch 'lua_activation' into 'master'
...
Lua scripts can handle activation of mwscripted objects
See merge request OpenMW/openmw!3263
2023-07-25 21:23:20 +00:00
psi29a
f9cb752b25
Merge branch 'resistanceisnotfutile' into 'master'
...
Resist failed normal weapon hits (bug #7284 )
Closes #7284
See merge request OpenMW/openmw!3220
2023-07-24 11:24:14 +00:00
elsid
e00eb50587
Remove stepping from findSmoothPath
...
This is not used anyway. There are features like smooth movement which remove
all redundant points.
Use single findStraightPath call instead of multiple.
2023-07-22 18:08:40 +02:00
elsid
b4868c6094
Filter evade directions by supported animations
...
To avoid trying those which will not lead to any actor movement due to absent
animation.
2023-07-22 17:30:40 +02:00
elsid
579e533621
Add more evade directions and order them to make a circle
2023-07-22 17:30:38 +02:00
elsid
53a129a762
Include pathgrid to all AI packages paths
2023-07-22 17:24:50 +02:00
Petr Mikheev
2c212b18e4
Remove World::activate since all activation now goes trough LuaManager
2023-07-22 17:22:43 +02:00
Evil Eye
b082afd5b0
Fix price enchantment price calculation to use the correct item count
2023-07-14 17:06:33 +02:00
Evil Eye
967b5d205b
Use StringRefId for skills
2023-07-13 18:55:22 +02:00
Evil Eye
ac9378fa08
Replace Skill::mIndex with Skill::refIdToIndex
2023-07-13 18:55:21 +02:00
Alexei Dobrohotov
411c71062c
Resist failed normal weapon hits (bug #7284 )
2023-07-11 09:53:56 +03:00
elsid
f6fce5ee15
Cleanup includes
2023-07-08 11:28:56 +02:00
psi29a
8a33edd64a
Merge branch 'cleanup_includes' into 'master'
...
Cleanup includes
See merge request OpenMW/openmw!3191
2023-07-03 16:01:48 +00:00
elsid
05a42a1816
Cleanup includes
2023-07-01 13:52:09 +02:00
elsid
6e8dcc16c6
Use settings values for Game settings
2023-07-01 00:59:35 +02:00
elsid
fb5e5335aa
Initialize mTimerDisposeSummonsCorpses in class definition
2023-07-01 00:59:35 +02:00
elsid
47978dcb71
Remove unused getActorsProcessingRange function
2023-07-01 00:59:15 +02:00