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
|
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
|
5d54ca6fdb
|
Refactor components/esm4
|
2023-08-05 13:12:24 +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 |
|
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
|
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 |
|
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 |
|
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 |
|
elsid
|
5a27ccacb7
|
Pass const float* to vanityRotateCamera
|
2023-07-22 18:24:55 +02:00 |
|
Petr Mikheev
|
2c212b18e4
|
Remove World::activate since all activation now goes trough LuaManager
|
2023-07-22 17:22:43 +02:00 |
|
Petr Mikheev
|
c5871a5a7a
|
Allow to handle activation in Lua even for mwscripted objects
|
2023-07-22 16:57:39 +02:00 |
|
Petr Mikheev
|
1bfe59e2fb
|
Load content files during playing logo video
|
2023-07-20 01:22:01 +02:00 |
|
Petr Mikheev
|
f2edf05a55
|
Move camera update after teleporting from worldimp to camera.lua
|
2023-07-19 10:42:58 +02:00 |
|
psi29a
|
baa67893b6
|
Merge branch 'settings_values_gui' into 'master'
Use settings values for GUI settings (#6876)
See merge request OpenMW/openmw!3238
|
2023-07-18 10:25:36 +00:00 |
|
psi29a
|
5a31320d8d
|
Merge branch 'preserve-refnum-on-drop' into 'master'
Preserve refnum when dropping items from inventory to ground.
Closes #6148
See merge request OpenMW/openmw!3207
|
2023-07-18 10:25:28 +00:00 |
|
Mads Buvik Sandvei
|
b8a9fcad68
|
fixes based on comments by ptmikheev
|
2023-07-17 17:06:28 +02:00 |
|
elsid
|
d113f0fc44
|
Use settings values for GUI settings
|
2023-07-16 20:46:54 +02:00 |
|
Mads Buvik Sandvei
|
8c3c5238d7
|
Preserve refnum when dropping items from inventory to ground.
|
2023-07-08 17:24:13 +02:00 |
|
elsid
|
0851f0705d
|
Use settings values for Groundcover settings
|
2023-07-08 12:08:27 +02:00 |
|
elsid
|
6e8dcc16c6
|
Use settings values for Game settings
|
2023-07-01 00:59:35 +02:00 |
|
florent.teppe
|
950cc7be83
|
gets the right worldspace when calculating exterior positions.
|
2023-06-29 11:09:06 +02:00 |
|
Petr Mikheev
|
801a5a3213
|
Fix #7385
|
2023-06-08 22:45:37 +02:00 |
|
Petr Mikheev
|
7cecf2844a
|
Fix #7411
|
2023-06-05 22:22:58 +02:00 |
|
psi29a
|
1843345510
|
Merge branch 'world_model_absent_cell' into 'master'
Do not rely on exceptions to handle absent cell
See merge request OpenMW/openmw!3098
|
2023-06-04 11:28:54 +00:00 |
|
elsid
|
a91f376892
|
Do not rely on exceptions to handle absent cell
|
2023-06-02 13:18:09 +02:00 |
|
Petr Mikheev
|
420916327d
|
Fix the bug "ESMStore::setUp() is called twice" that causes duplicated objects in ESM4 cells
|
2023-06-01 11:58:03 +02:00 |
|
elsid
|
9012207e32
|
Make WorldModel a front-end for PtrRegistry
|
2023-05-31 21:44:27 +02:00 |
|
florent.teppe
|
93e7b0d946
|
Terrain has a mandatory worldspace in constructor
getTerrainHeightAt takes a worldspace.
Doesn't change anything for now => Therrain is created with the default ESM3 worldspace, and is never changed.
|
2023-05-29 11:31:36 +02:00 |
|
elsid
|
ce91784085
|
Move Ptr registry into a separate type
There is no dependency on the rest of the WorldModel state.
|
2023-05-28 13:04:17 +02:00 |
|
elsid
|
235eb65c97
|
Rename positionToCellIndex to match return type
|
2023-05-27 15:49:36 +02:00 |
|
elsid
|
a04eb9d26c
|
Move WorldModel::getPtr(const ESM::RefId&, CellStore&) to CellStore
The function does not depend on WorldModel.
|
2023-05-27 15:49:36 +02:00 |
|
Mads Buvik Sandvei
|
410e8b100a
|
Elsid comments
|
2023-05-23 19:30:29 +02:00 |
|
Petr Mikheev
|
9b6808f83d
|
Improve coc destination search in ESM4 cells
|
2023-05-21 00:42:25 +02:00 |
|
Petr Mikheev
|
169859025c
|
Don't use getTerrainHeightAt(pos) when adjusting position in ESM4 cell because this function is currently specific to ESM3.
|
2023-05-18 02:10:39 +02:00 |
|
florent.teppe
|
a3bd6e7e47
|
ESM::ExteriorCellIndex => ESM::ExteriorCellLocation
|
2023-05-12 22:05:55 +02:00 |
|
florent.teppe
|
393357abc0
|
ESM::Cell::positionToCellIndex returns a ESM::ExteriorCellIndex
and takes a worldspace id as input
ESM::getCellSize takes a wordspace as input.
removed useless static in static inline funcs
|
2023-05-12 22:05:55 +02:00 |
|
florent.teppe
|
3d06cabf6a
|
indexToPosition moved from world -> esm/util.hpp
|
2023-05-12 22:05:55 +02:00 |
|
florent.teppe
|
1cf0cd5628
|
moved mwworld/cellutils.hpp -> esm/util.hpp
|
2023-05-12 22:05:54 +02:00 |
|
florent.teppe
|
f261f59809
|
World::indexToPosition is modified to be less error prone.
|
2023-05-12 22:05:54 +02:00 |
|
florent.teppe
|
75561abfca
|
Factorises code and fixes preload bug.
|
2023-05-12 22:05:54 +02:00 |
|
florent.teppe
|
5648e03e9e
|
function to get cellsize depending on the context.
|
2023-05-12 22:05:54 +02:00 |
|
florent.teppe
|
141878f30d
|
int x, int y , ESM::RefId worldspace => ESM::ExteriorCellIndex
also removed the changeToExteriorCell that only took a position as input, didn't work with esm4.
|
2023-05-12 22:05:53 +02:00 |
|
florent.teppe
|
43e247d458
|
fixes tests
fix linux build + clang-tidy
|
2023-05-12 22:05:53 +02:00 |
|
florent.teppe
|
d8a782425b
|
can actually load and teleport to esm4 exterior spaces
|
2023-05-12 22:05:53 +02:00 |
|