1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-28 19:21:04 +00:00
OpenMW/components
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-10-14 14:46:44 +02:00
2021-10-28 22:16:43 +02:00
2021-05-12 10:34:39 +04:00
2021-11-03 11:07:28 +01:00
2021-10-05 22:51:12 +02:00
2021-10-26 21:32:02 +02:00
2021-07-27 07:58:57 +03:00
2019-02-23 08:02:12 +04:00
2021-11-02 18:01:22 +01:00
2021-10-25 10:23:16 -07:00
2021-10-21 19:48:31 +02:00
2021-10-31 12:59:34 +01:00
2018-10-09 10:21:12 +04:00
2021-10-14 14:46:44 +02:00
2021-08-15 19:50:28 +02:00