1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 11:39:44 +00:00
openmw/apps/opencs/view
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
..
doc Log loading errors 2023-03-13 11:31:16 +01:00
filter Fixes 2023-02-04 15:32:17 +02:00
prefs Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
render Avoid redundant conversion from RefId to string and back 2023-03-03 15:44:19 +01:00
tools First draft of getting the exact drag start location 2023-01-16 23:47:32 +02:00
widget Use ESM::RefId as index key in collections 2023-02-17 11:08:46 +01:00
world Fix loading, inserting and moving topic info records 2023-03-13 21:57:38 +01:00