1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00
Bo Svensson 4657c655b1 refactors parentFileIndices (#3211)
This PR aims to start addressing `ESM` design issues that have silenced errors we incorporated into groundcover `ESM` loading approaches.

- We move the resolution of `parentFileIndices` from `ESMStore` to `ESMReader` as suggested in a `TODO` comment.
- We improve a highly misleading comment which downplayed the significance of `parentFileIndices`.
- We document important preconditions.
- We move a user facing error message to the highest level and improve its context.
- We remove an inappropriate `setGlobalReaderList` method. We now pass this reader list into the method that requires it.
- We remove a thoroughly pointless optimisation of `Store<ESM::LandTexture>`'s construction that has unnecessarily depended on `getGlobalReaderList`.

There should be no functional changes for `master`, but this PR should remove an issue blocking PR #3208.
2021-11-03 11:07:28 +01:00
..
2021-05-13 14:19:12 +02:00
2019-02-23 21:00:47 +03:00
2018-06-09 10:52:35 +02:00
2013-08-09 05:14:58 -07:00
2019-12-23 19:29:12 +04:00
2021-05-12 10:34:39 +04:00
2020-05-12 14:33:00 +04:00
2021-05-05 22:23:06 +03:00
2018-09-27 13:14:59 +04:00
2018-09-27 13:14:59 +04:00
2020-06-08 11:42:05 +02:00
2020-06-08 11:42:05 +02:00
2014-05-02 12:48:07 +02:00
2021-05-12 10:34:40 +04:00
2021-04-18 13:26:26 +02:00