Petr Mikheev
55a9ab4f52
Add obj.parentContainer
in Lua. Refactor ContainerStore::mPtr, ContainerStore::mActor.
2023-08-27 23:45:19 +02:00
Evil Eye
8f10c8f84a
Don't pass obsolete slot parameter to cast
2023-08-25 16:48:38 +02:00
Evil Eye
e660a9ca16
Assign StringRefIds to attributes
2023-08-20 10:28:46 +02:00
psi29a
e5d5cbcdd1
Merge branch 'save_safeguard' into 'master'
...
Add a safeguard to do not use uninitialized value
See merge request OpenMW/openmw!3349
2023-08-19 09:31:00 +00:00
elsid
bda29819cf
Reduce include dependency for land records
2023-08-19 01:30:17 +02:00
Andrei Kortunov
88fe328de1
Add a safeguard to do not use uninitialized value
2023-08-18 13:13:00 +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
Zackhasacat
3e8a1cce7c
Load ESM4 Terminal objects, add lua bindings for them
2023-08-15 06:23:38 +00: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
eb77fd1813
Add height field to navigator in ESM4 cells
2023-08-13 02:26:45 +02:00
Alexei Kotov
04d54517b7
Always enable has water flag for TES3 exterior cells
2023-08-12 00:52:08 +03:00
Petr Mikheev
b5f4cec725
Fix crash if content file is not found (was caused by !3249 )
2023-08-09 10:32:35 +02:00
Petr Mikheev
6c4e1f4e8f
Lua commands world.pause / world.unpause
2023-08-08 22:57:28 +02:00
Petr Mikheev
91c7585c8b
Move some time-related function from World and WorldView to DateTimeManager
2023-08-08 22:57:28 +02:00
psi29a
7b4f7b7f07
Merge branch 'adjust_refnum' into 'master'
...
Adjust FormId in FormIdRefId and for items in containers when loading saves
See merge request OpenMW/openmw!3293
2023-08-08 08:54:00 +00:00
Petr Mikheev
957880d515
Add to ESMStore the records that are needed to render ESM4 actors; cleanup usage of records.hpp
2023-08-05 13:18:09 +02:00
Petr Mikheev
5d54ca6fdb
Refactor components/esm4
2023-08-05 13:12:24 +02:00
psi29a
5160fbc2a0
Merge branch 'fixedtimestamp' into 'master'
...
Move TimeStamp to ESM3 and remove sized reads
See merge request OpenMW/openmw!3295
2023-08-02 08:11:33 +00:00
psi29a
b643e58e71
Merge branch 'esm4_cell_description' into 'master'
...
Always log something for loading and unloading ESM4 cell
See merge request OpenMW/openmw!3298
2023-08-02 08:10:59 +00:00
elsid
22981af2ea
Make sure ESM4 cell description is not empty
...
To avoid logging empty cell descriptions on loading and unloading. Not all cells
have editor id but every has id and coordinates. Add world to distinguish cell
coordinates in different worldspaces.
2023-08-01 14:42:53 +02:00
Andrei Kortunov
35561450f1
Do not copy osg::ref_ptr when possible
2023-07-31 20:43:46 +04:00
Andrei Kortunov
d3d7a663c6
Move some objects instead of copying
2023-07-31 20:43:46 +04:00
psi29a
4990f786eb
Merge branch 'fix_esm4_exterior_cell' into 'master'
...
Treat ESM4 exterior cells as exterior
See merge request OpenMW/openmw!3282
2023-07-31 10:49:54 +00:00
psi29a
b2f669ca48
Merge branch 'fix_async_load' into 'master'
...
Fix crash related to async content loading (#7508 )
Closes #7508
See merge request OpenMW/openmw!3290
2023-07-31 10:49:33 +00: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
Evil Eye
79b3855c5b
Move TimeStamp to ESM3 and remove sized reads
2023-07-30 11:37:32 +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
elsid
dd54857610
Add missing array include
2023-07-29 00:29:03 +02: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
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
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
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