1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-31 04:36:40 +00:00
openmw/apps
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
..
benchmarks Add --coverage to components_qt, benchmarks and openmw-cs 2023-03-10 21:36:12 +01:00
bsatool Use target_compile_options to add --coverage 2023-03-10 15:34:08 +01:00
bulletobjecttool Use target_compile_options to add --coverage 2023-03-10 15:34:08 +01:00
esmtool Use target_compile_options to add --coverage 2023-03-10 15:34:08 +01:00
essimporter Use target_compile_options to add --coverage 2023-03-10 15:34:08 +01:00
launcher Use target_compile_options to add --coverage 2023-03-10 15:34:08 +01:00
mwiniimporter Use target_compile_options to add --coverage 2023-03-10 15:34:08 +01:00
navmeshtool Use target_compile_options to add --coverage 2023-03-10 15:34:08 +01:00
niftest Use target_compile_options to add --coverage 2023-03-10 15:34:08 +01:00
opencs Fix loading, inserting and moving topic info records 2023-03-13 21:57:38 +01:00
opencs_tests Fix loading, inserting and moving topic info records 2023-03-13 21:57:38 +01:00
openmw Merge branch 'cherry-pick-fb3a80be' into 'master' 2023-03-13 09:33:55 +00:00
openmw_test_suite Merge branch 'cs_unit_tests' into 'master' 2023-03-13 09:37:32 +00:00
wizard Use target_compile_options to add --coverage 2023-03-10 15:34:08 +01:00
doc.hpp