openmw-tes3coop/apps/openmw
David Cernat 7136329a94 [Client] Add World::updatePtrsWithRefId() method
This makes it possible to "reload" the Ptrs in active cells when changes happen to the ESM record that they are based on. In practice, the old Ptrs are deleted, their RefNums and MpNums are blanked out, and new Ptrs are created that use the same RefNum and MpNum as before.

The above has required me to also add a method called setRefNum() to CellRef to allow setting a RefNum on the fly.

There may be a more elegant implementation available for updatePtrsWithRefIds(), but it requires additional research.
2018-07-27 21:42:08 +03:00
..
mwbase [Client] Add World::updatePtrsWithRefId() method 2018-07-27 21:42:08 +03:00
mwclass [Client] Set packetOrigin for all ObjectList packets sent 2018-07-23 01:39:43 +03:00
mwdialogue [General] Add optional timestamps to journal entries in PlayerJournal 2018-07-26 04:36:12 +03:00
mwgui [General] Sync soul refIds for items and add related script functions 2018-07-26 22:37:04 +03:00
mwinput Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
mwmechanics [General] Sync soul refIds for items and add related script functions 2018-07-26 22:37:04 +03:00
mwmp [Client] Add back mistakenly removed setting of mpNums for spawns 2018-07-27 00:36:05 +03:00
mwphysics Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
mwrender [Client] Adjust log levels used for weather and global map 2018-07-21 12:08:31 +03:00
mwscript [General] Sync soul refIds for items and add related script functions 2018-07-26 22:37:04 +03:00
mwsound Initialize some missing fields in constructors 2018-06-25 09:35:42 +04:00
mwstate Revert "Merge pull request #1701 from akortunov/standfix" 2018-05-26 11:35:48 +00:00
mwworld [Client] Add World::updatePtrsWithRefId() method 2018-07-27 21:42:08 +03:00
android_commandLine.cpp Fix tab indentations in apps/ and components/ 2015-09-16 20:45:37 +02:00
android_commandLine.h Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
android_main.c android: Update for sdl 2.0.8 2018-03-30 12:44:38 -04:00
CMakeLists.txt [Client] Add ScriptController w/ contextType-to-packetOrigin method 2018-07-23 00:48:23 +03:00
doc.hpp Fixed more spelling mistakes 2016-12-15 13:09:40 +01:00
engine.cpp [Client] Record type of each InterpreterContext for later checking 2018-07-23 00:46:07 +03:00
engine.hpp Merge branch 'master' into screenshot360 2018-02-25 11:25:19 +01:00
main.cpp [Client] Verify integrity of credits file 2018-07-16 03:25:01 +03:00