1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 03:39:14 +00:00
OpenMW/apps/openmw/mwworld
fredzio 7a67492d81 Unbreak SetPos and the mods using it.
To make SetPos works with async physics, it was modified to register a
position offset that would be applied to the real position during the
simulation.

A common pattern to teleport NPC in scripts is a sequence of SetPos/Disable/Enable in the same frame.
Since Disable/Enable creates a new physics actor using last known
RefData::Position, the registered offset never get a chance to be applied.

Modify disable() to call moveObject with the offset applied, so that the newly created physics actor will have up-to-date position
2021-03-28 21:19:14 +02:00
..
action.cpp
action.hpp
actionalchemy.cpp
actionalchemy.hpp
actionapply.cpp
actionapply.hpp
actiondoor.cpp
actiondoor.hpp
actioneat.cpp
actioneat.hpp
actionequip.cpp
actionequip.hpp
actionharvest.cpp
actionharvest.hpp
actionopen.cpp
actionopen.hpp
actionread.cpp
actionread.hpp
actionrepair.cpp
actionrepair.hpp
actionsoulgem.cpp
actionsoulgem.hpp
actiontake.cpp
actiontake.hpp
actiontalk.cpp
actiontalk.hpp
actionteleport.cpp
actionteleport.hpp
actiontrap.cpp
actiontrap.hpp
cellpreloader.cpp Remove redundant check - groundcover is not present in the CellStore 2021-01-26 22:29:41 +04:00
cellpreloader.hpp
cellref.cpp
cellref.hpp
cellreflist.hpp Remove redundant formatting changes 2021-01-26 22:29:41 +04:00
cells.cpp
cells.hpp
cellstore.cpp Attempt to fix restocking items in old saves 2021-03-04 22:52:03 +01:00
cellstore.hpp
cellvisitors.hpp Revert "Some actors are supposed to spawn on a static object that belong to an adjacent cell." 2021-01-29 16:51:05 +04:00
class.cpp Revert "Remove physics dependency on basenode" 2021-01-29 16:51:13 +04:00
class.hpp Revert "Remove physics dependency on basenode" 2021-01-29 16:51:13 +04:00
containerstore.cpp
containerstore.hpp "static const" -> "static constexpr" in headers 2021-03-21 13:57:54 +01:00
contentloader.hpp Mark only instances from groundcover files as groundcover objects 2021-01-26 22:29:41 +04:00
customdata.cpp
customdata.hpp
datetimemanager.cpp
datetimemanager.hpp
doorstate.hpp
esmloader.cpp Remove redundant formatting changes 2021-01-26 22:29:41 +04:00
esmloader.hpp Mark only instances from groundcover files as groundcover objects 2021-01-26 22:29:41 +04:00
esmstore.cpp Also run NPC validation for modified base records 2021-03-23 21:07:57 +01:00
esmstore.hpp Also run NPC validation for modified base records 2021-03-23 21:07:57 +01:00
failedaction.cpp
failedaction.hpp
globals.cpp
globals.hpp
inventorystore.cpp
inventorystore.hpp "static const" -> "static constexpr" in headers 2021-03-21 13:57:54 +01:00
livecellref.cpp
livecellref.hpp
localscripts.cpp
localscripts.hpp
manualref.cpp
manualref.hpp
nullaction.hpp
player.cpp
player.hpp
projectilemanager.cpp create constant and use constant in other parts of the code base 2021-03-24 14:54:46 -07:00
projectilemanager.hpp Merge branch 'restore_caster' into 'master' 2021-03-05 21:07:29 +00:00
ptr.cpp
ptr.hpp
recordcmp.hpp
refdata.cpp
refdata.hpp
scene.cpp allman style 2021-03-14 22:11:18 +01:00
scene.hpp Revert "Some actors are supposed to spawn on a static object that belong to an adjacent cell." 2021-01-29 16:51:05 +04:00
store.cpp Disallow inserting containers, creatures, and npcs from the save game not present in content files 2021-03-22 22:29:10 +01:00
store.hpp Disallow inserting containers, creatures, and npcs from the save game not present in content files 2021-03-22 22:29:10 +01:00
timestamp.cpp
timestamp.hpp
weather.cpp Give meaningful name to the mEffectFade 2021-03-10 19:10:17 +04:00
weather.hpp
worldimp.cpp Unbreak SetPos and the mods using it. 2021-03-28 21:19:14 +02:00
worldimp.hpp Also run NPC validation for modified base records 2021-03-23 21:07:57 +01:00