1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 23:49:55 +00:00
openmw-tes3mp/apps/openmw/mwbase
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
..
dialoguemanager.hpp Merge pull request #400 from OpenMW/master while resolving conflicts 2018-04-03 01:25:17 +03:00
environment.cpp Respect the framelimit in all cases (Fixes #3531) 2017-08-30 21:26:30 +00:00
environment.hpp Respect the framelimit in all cases (Fixes #3531) 2017-08-30 21:26:30 +00:00
inputmanager.hpp Save controls state (Fixes #3598) 2016-10-20 02:12:01 +02:00
journal.hpp [General] Add optional timestamps to journal entries in PlayerJournal 2018-07-26 04:36:12 +03:00
mechanicsmanager.hpp Merge pull request #457 from OpenMW/master while resolving conflicts 2018-07-14 03:57:05 +03:00
scriptmanager.hpp added missing const to ScriptManager::getLocals 2014-07-25 08:12:53 +02:00
soundmanager.hpp Remove a function from the sound manager interface 2017-09-18 01:28:39 -07:00
statemanager.hpp Make the creation of save file directories even more explicit 2016-03-14 00:00:11 +01:00
windowmanager.hpp Merge pull request #457 from OpenMW/master while resolving conflicts 2018-07-14 03:57:05 +03:00
world.hpp [Client] Add World::updatePtrsWithRefId() method 2018-07-27 21:42:08 +03:00