Mads Buvik Sandvei
c18a7801ed
Lua: active spell params and active spell effects
2023-07-31 00:02:05 +00:00
Petr Mikheev
5702cb4b30
Merge branch 'effective-effect-indexing' into 'master'
...
Lua: String overload for effects store index.
See merge request OpenMW/openmw!3285
2023-07-30 23:55:19 +00:00
Mads Buvik Sandvei
edb7081ea6
Lua: String overload for effects store index.
2023-07-30 23:55:19 +00:00
elsid
798f3cc385
Support ESM4 record FullName, CellFlags, X, Y fields by esmtool
2023-07-30 18:20:10 +02:00
elsid
385dab3df3
Cache cell description
...
It should not change over time and it's relatively small enough to trade some
CPU time for some memory.
2023-07-30 17:13:50 +02:00
elsid
d59a993351
Treat ESM4 exterior cells as exterior
...
Prevent adding exterior cells to WorldModel::mInteriors. Otherwise CellStore
might be created twice because it's not present in mExteriors but present in
mCells. This happens on teleport to a cell using its name (e.g. --start
"AnvilMainGate" flag).
2023-07-30 16:50:50 +02:00
elsid
662991dda9
Add test to ensure deleted DialInfos are removed
2023-07-30 14:11:13 +02:00
elsid
66c5944ecf
Fix use after move in InfoOrder::insertInfo
...
When it->second.mPosition->mPrev != value.mPrev value is first moved into
*mPosition and then used to get mPrev. Since mPrev is RefId and it's copy-only
type there is no real problem but coverity complains about it.
Also enforce contract of insertInfo to support move-only types by adding a test
for a value type with deleted copy constructors.
2023-07-30 13:37:53 +02:00
Evil Eye
79b3855c5b
Move TimeStamp to ESM3 and remove sized reads
2023-07-30 11:37:32 +02:00
Petr Mikheev
f344c26465
Apply delayed Lua actions before making a save
2023-07-30 02:50:22 +02:00
Petr Mikheev
9a9f9d7081
Adjust FormId in FormIdRefId and for items in containers when loading saves
2023-07-30 02:01:09 +02:00
Petr Mikheev
2b601eea6d
Fix crash related to async content loading ( #7508 )
2023-07-29 21:13:57 +02:00
Evil Eye
c47489ef6e
Don't replace tags when dealing with console input
2023-07-29 17:07:37 +02:00
elsid
dd54857610
Add missing array include
2023-07-29 00:29:03 +02:00
elsid
c9c32d9a0d
Cleanup includes
2023-07-29 00:16:43 +02:00
Andrei Kortunov
d8ec78d732
Fix some Coverity warnings
2023-07-28 20:58:18 +04:00
psi29a
81deb3796b
Merge branch 'loadSSEAlchemyTable' into 'master'
...
Load SSE alchemy table
See merge request OpenMW/openmw!3267
2023-07-28 07:46:20 +00:00
alekulyn
d2896945e8
Load SSE alchemy table
2023-07-28 07:46:20 +00:00
psi29a
a6d6e16d48
Merge branch 'readsize' into 'master'
...
Disallow implicitly sized reads of ESM structs
See merge request OpenMW/openmw!3100
2023-07-28 07:01:32 +00:00
elsid
9acb93ab29
Use settings values for Map settings
2023-07-27 22:53:53 +02: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
3e16ef7445
Merge branch 'esm4_achr' into 'master'
...
Load ESM4 actors (no rendering yet)
See merge request OpenMW/openmw!3278
2023-07-27 09:34:28 +00:00
psi29a
f5677aa352
Merge branch 'settings_values_input' into 'master'
...
Use settings values for Input settings (#6876 )
See merge request OpenMW/openmw!3265
2023-07-27 09:33:14 +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
3032b340a2
Merge branch 'teleporting' into 'master'
...
A few Lua changes related to teleporting
See merge request OpenMW/openmw!3246
2023-07-27 09:32:28 +00:00
psi29a
cf8af70764
Merge branch 'fix_remove_from_inventory' into 'master'
...
[Lua] Fix removing from inventory
See merge request OpenMW/openmw!3229
2023-07-27 09:32:08 +00:00
Petr Mikheev
bc1d412aaa
Merge branch 'fix-7503' into 'master'
...
[#7503 ]: pass full count of coins to createGold() in moveToCell()
See merge request OpenMW/openmw!3279
2023-07-27 09:31:24 +00:00
Petr Mikheev
9b511fdf7a
Load ESM4 actors
2023-07-26 11:47:50 +02:00
Petr Mikheev
f99582e671
[Lua] Fix removing from inventory
2023-07-25 23:34:25 +02: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
jvoisin
090f823c17
Fix a coverity warning
2023-07-25 14:39:03 +02:00
Mads Buvik Sandvei
1162323e96
Do not redundantly take and set count in moveToCell(). moveToCell() should always be moving the full stack.
2023-07-25 14:22:00 +02:00
Mads Buvik Sandvei
8867e76fd7
pass full count of coins to createGold() in moveToCell()
2023-07-25 13:38:14 +02:00
psi29a
b9460afdfd
Merge branch 'save-game-string-view' into 'master'
...
Refactor saveGame to use string_view
See merge request OpenMW/openmw!3271
2023-07-25 11:14:51 +00:00
psi29a
baf7ef2525
Merge branch 'copying' into 'master'
...
Avoid unnecessary LiveCellRef copying; Fix potential use-after-free in WorldModel
See merge request OpenMW/openmw!3276
2023-07-25 08:21:17 +00:00
AnyOldName3
6246b479ea
Merge branch 'async_content_load' into 'master'
...
Speedup loading - load content files during logo video playing
See merge request OpenMW/openmw!3249
2023-07-24 23:42:46 +00:00
Petr Mikheev
4d004e4730
Avoid unnecessary LiveCellRef copying in a couple of places; change initialization order in WorldModel;
2023-07-24 23:36:24 +02:00
Christian Bouwense
4b5d64f9e5
inline asUTF8() instead of constructing a whole new string_view
2023-07-24 14:41:17 -04: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
psi29a
7ead12e103
Merge branch 'dropit' into 'master'
...
Drop empty stacks that aren't overriding anything
See merge request OpenMW/openmw!3268
2023-07-24 09:11:08 +00:00
psi29a
09e1ff9a4b
Merge branch 'fix_world_model' into 'master'
...
Fix WorldModel (#7474 )
Closes #7474
See merge request OpenMW/openmw!3270
2023-07-24 09:10:06 +00:00
psi29a
b68ca259ae
remove unused variables and commented out code
2023-07-23 22:43:28 +02:00
Christian Bouwense
7d0caf9eec
refactor saveGame to use string_view instead of a const standard string reference
2023-07-23 14:45:01 -04:00
elsid
8ceb79caf5
Load present cell store when requested
2023-07-23 18:36:32 +02:00
elsid
1a7b4283e7
Avoid duplicated emplace for interior cell store
2023-07-23 18:35:49 +02:00
Evil Eye
c80574299d
Drop non-carriable lights and empty stacks that aren't overriding anything
2023-07-23 14:51:58 +02:00
Petr Mikheev
59d17d3eb6
Fix #7491
2023-07-22 19:45:39 +02:00
elsid
6c18723bc7
Use settings values for Input settings
2023-07-22 18:27:53 +02:00