1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 05:39:42 +00:00
openmw/apps/opencs
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
..
model Fix loading, inserting and moving topic info records 2023-03-13 21:57:38 +01:00
view Fix loading, inserting and moving topic info records 2023-03-13 21:57:38 +01:00
CMakeLists.txt Add executable to run CS tests 2023-03-12 12:06:33 +01:00
editor.cpp Migrate from QRegExp to more modern QRegularExpression 2023-01-11 11:21:46 +04:00
editor.hpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
main.cpp Setup logging with properly initialized configuration manager 2023-01-30 09:30:55 +01:00