Petr Mikheev
5d54ca6fdb
Refactor components/esm4
2023-08-05 13:12:24 +02:00
psi29a
e6cffa5494
Merge branch '7248-Extend_console_search_with_regex_and_case_sensitivity' into 'master'
...
Resolve "Extend searching in the console with regex and toggleable case-sensitivity"
Closes #7248
See merge request OpenMW/openmw!3248
2023-08-05 10:02:08 +00:00
Chris Vigil
996f5fd7ad
Resolve "Extend searching in the console with regex and toggleable case-sensitivity"
2023-08-05 10:02:07 +00: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
psi29a
ed81baf864
Merge branch 'chrono_fix' into 'master'
...
Simplify file_time_type to time_t conversion
See merge request OpenMW/openmw!3161
2023-08-03 21:47:40 +00:00
psi29a
c290754077
Revert "Merge branch 'loadSSEAlchemyTable' into 'master'"
...
This reverts merge request !3267
2023-08-03 19:55:06 +00:00
psi29a
9c2a2e1946
Merge branch 'nvpp_fixes' into 'master'
...
Improve safety of NVPP ESM records
See merge request OpenMW/openmw!3307
2023-08-03 07:15:43 +00:00
psi29a
4aaffa72e5
Merge branch 'more_coverity_fixes' into 'master'
...
More coverity fixes
See merge request OpenMW/openmw!3304
2023-08-03 07:15:34 +00:00
psi29a
4557d20f0b
Merge branch 'coverity_strings' into 'master'
...
Simplify strings construction
See merge request OpenMW/openmw!3310
2023-08-03 07:15:06 +00:00
psi29a
9cd81c21eb
Merge branch 'coverity_lua' into 'master'
...
Do not copy objects twice where possible
See merge request OpenMW/openmw!3311
2023-08-03 07:14:45 +00:00
Andrei Kortunov
f5b18d2d5d
Do not copy objects twice where possible
2023-08-02 20:03:48 +04:00
Andrei Kortunov
b3a981e0fc
Simplify strings construction
2023-08-02 17:59:40 +04: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
psi29a
354798fc7f
Merge branch 'terrain_fixes' into 'master'
...
Do not copy QVectors twice
See merge request OpenMW/openmw!3308
2023-08-02 08:10:32 +00:00
psi29a
4aafcf5fdc
Merge branch 'rm_path_to_next_path_point' into 'master'
...
Do not build path to next path point via navmesh
See merge request OpenMW/openmw!3306
2023-08-02 07:53:01 +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
0723b44a65
Do not copy QVectors twice
2023-08-01 15:45:18 +04:00
psi29a
c86eecb2ea
Merge branch 'movable_objects' into 'master'
...
Move objects instead of copying where possible
See merge request OpenMW/openmw!3289
2023-08-01 10:43:44 +00:00
psi29a
6ff2bb8aeb
Merge branch 'more_esm4_fields' into 'master'
...
Support ESM4 record FullName, CellFlags, X, Y fields by esmtool
See merge request OpenMW/openmw!3299
2023-08-01 07:25:34 +00:00
psi29a
23671ced33
Merge branch 'fix_use_after_move' into 'master'
...
Fix use after move in InfoOrder::insertInfo
See merge request OpenMW/openmw!3296
2023-08-01 07:25:17 +00:00
Andrei Kortunov
4e531524be
Improve safety of NVPP ESM records
2023-08-01 10:39:34 +04: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
psi29a
8dd8961737
Merge branch 'dial_fix' into 'master'
...
[Regression] Fix operations order in the dialogue filtering
See merge request OpenMW/openmw!3305
2023-07-31 19:42:07 +00: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
Andrei Kortunov
dee9ebd05e
Fix operations order
2023-07-31 20:15:30 +04:00
Andrei Kortunov
fe10799bfe
Add an assert for possible null pointer dereference
2023-07-31 17:53:58 +04:00
Andrei Kortunov
b1c8a968ae
Do not use invalid iterators
2023-07-31 17:53:33 +04:00
Andrei Kortunov
deba5b4d47
Catch unhandled exceptions
2023-07-31 16:35:31 +04:00
Andrei Kortunov
da06cd005e
Init variables
2023-07-31 16:35:31 +04:00
Andrei Kortunov
34ba2068b7
Remove dead code
2023-07-31 16:35:31 +04:00
Andrei Kortunov
c50769c8c5
Catch filesystem exceptions
2023-07-31 16:35:31 +04:00
Andrei Kortunov
1ae2a994f0
Avoid null pointer dereference
2023-07-31 16:35:29 +04:00
psi29a
1d207ed318
Merge branch 'test_load_deleted_dialinfo' into 'master'
...
Add test to ensure deleted DialInfos are removed
See merge request OpenMW/openmw!3297
2023-07-31 10:50:07 +00: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
psi29a
456ade2a4f
Merge branch 'fix_build' into 'master'
...
Fix build (missing include)
See merge request OpenMW/openmw!3303
2023-07-31 07:36:48 +00:00
Petr Mikheev
3814830e9f
Fix build (missing include)
2023-07-31 09:32:52 +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
Petr Mikheev
abde92e207
Merge branch 'active-spells-rework' into 'master'
...
Lua: active spell params and active spell effects
See merge request OpenMW/openmw!3179
2023-07-31 00:02:05 +00:00
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
fd01b4cad7
Avoid casts to read cell flags
2023-07-30 17:59:54 +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