1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-30 13:06:43 +00:00
openmw/components
elsid e892c62b10
Fix loading, inserting and moving topic info records
Topic info records need to have specific order defined via mNext and mPrev
fields (next and previous records). When loading multiple files a record may be
inserted into middle of the topic but neighborhood records may not be aware of
it. Having the order it's possible to move the records within one topic.

Sort the record once after loading all content files but preserve the order for
all other operations. Use std::map to group info ids by topic to make sure the
topics order is stable. Keep order within a topic for info ids on loading new
records. Use this order later for sorting the records.
2023-03-13 21:57:38 +01:00
..
bsa Add a check if the requested file is not found 2023-03-06 21:26:51 +01:00
bullethelpers Remove unused includes 2022-10-09 16:44:18 +02:00
compiler Remove redundant string_view 2023-03-05 21:45:03 +01:00
config Replace QRegExp by QRegularExpression 2023-02-05 13:30:26 +01:00
contentselector Name all custom ESM format versions and add tests 2023-02-10 19:54:15 +01:00
crashcatcher Maybe fix Windows freeze catcher 2023-03-04 00:28:22 +00:00
debug shade refactor 2023-02-25 11:03:39 -08:00
detournavigator Reuse dtNavMeshQuery 2023-02-17 15:05:25 +01:00
esm Support asymmetric comparison between ESM::RefId and std::string_view 2023-03-03 15:44:18 +01:00
esm3 Fix loading, inserting and moving topic info records 2023-03-13 21:57:38 +01:00
esm3terrain Apply clang-format to code base 2022-09-22 21:35:26 +03:00
esm4 Updates to ESM4::Ammunition loading 2023-03-13 01:36:07 +03:00
esmloader Support RefId comparison with std::string_view 2023-02-28 23:04:48 +01:00
fallback Apply clang-format to code base 2022-09-22 21:35:26 +03:00
files Files::Collections: prefer files from highest priority folders 2023-02-11 01:25:00 +03:00
fontloader Remove unused includes 2022-10-09 16:44:18 +02:00
fx expose more uniforms to postprocessing 2023-01-20 17:43:54 -08:00
interpreter Combine initializer_lists 2023-02-01 22:27:22 +01:00
l10n Ignore duplicated preferred l10n locales 2023-03-04 10:20:03 +01:00
loadinglistener Apply clang-format to code base 2022-09-22 21:35:26 +03:00
lua [Lua] Fix memory leak in sandboxed "require". 2023-02-26 19:59:53 +01:00
lua_ui Set Element layout to nil on destroy 2023-02-26 14:13:06 +01:00
misc Add helper functions for string comparison to RefId 2023-03-03 00:39:55 +01:00
myguiplatform shade refactor 2023-02-25 11:03:39 -08:00
navmeshtool Stop updating navmeshtool progress on first bad message 2023-01-27 19:10:53 +01:00
nif Read bsLeafAnimNode 2023-02-24 20:34:41 +03:00
nifbullet Unify collision shape transformations 2023-03-10 00:12:12 +03:00
nifosg fix shader compilation 2023-02-26 14:31:53 -08:00
platform Restore 0936d716d96cd45b3efc2d1a3697614f7f96952d 2023-02-01 17:26:39 +01:00
process Apply clang-format to code base 2022-09-22 21:35:26 +03:00
resource Add method to load and clone the error marker used by the scene manager 2023-02-22 19:51:37 +01:00
sceneutil Use Rig/MorphGeometry state for its child geometry 2023-03-06 00:54:02 +00:00
sdlutil Add support for non-adaptive VSync (feature 7129) 2023-02-26 15:19:19 +04:00
serialization Apply clang-format to code base 2022-09-22 21:35:26 +03:00
settings First pass with include-what-you-use 2022-10-09 10:39:43 +00:00
shader Ensure shader requirements are pushed at least once for subgraph 2023-03-08 00:28:48 +00:00
sqlite3 Apply clang-format to code base 2022-09-22 21:35:26 +03:00
std140 Apply clang-format to code base 2022-09-22 21:35:26 +03:00
stereo Cherry pick 'openmw-48-stereo-fixes' into 'master' 2023-03-12 22:20:23 +01:00
terrain shade refactor 2023-02-25 11:03:39 -08:00
to_utf8 Applies review advice. 2023-01-04 12:22:16 +01:00
translation Apply clang-format to code base 2022-09-22 21:35:26 +03:00
version Apply clang-format to code base 2022-09-22 21:35:26 +03:00
vfs Use the right archive type to load bsa according to their type 2023-03-02 21:07:54 +01:00
widgets Sort quests in journal by name (bug 7054) 2023-01-07 18:55:51 +04:00
CMakeLists.txt Fix loading, inserting and moving topic info records 2023-03-13 21:57:38 +01:00
doc.hpp second set of additional doxygen comments 2010-09-25 20:15:05 +02:00
windows.hpp Fix build on Windows 2022-04-25 00:25:46 +02:00