1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-03 20:15:33 +00:00
openmw/apps/opencs/model/doc
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
..
blacklist.cpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
blacklist.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
document.cpp create a specific esm reader function for RefID to avoid allocation for string and then again for RefId 2022-12-27 19:15:57 +01:00
document.hpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
documentmanager.cpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
documentmanager.hpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
loader.cpp Fix loading, inserting and moving topic info records 2023-03-13 21:57:38 +01:00
loader.hpp Log content files loading time by editor 2023-02-15 21:29:13 +01:00
messages.cpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
messages.hpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
operation.cpp Log time spent on document operations in editor 2023-02-17 00:23:02 +01:00
operation.hpp Log time spent on document operations in editor 2023-02-17 00:23:02 +01:00
operationholder.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
operationholder.hpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
runner.cpp Add missing content=builtin.omwscripts if openmw is started via openmw-cs (fixes #7056) 2022-11-05 16:30:44 +01:00
runner.hpp First pass with include-what-you-use 2022-10-09 10:39:43 +00:00
saving.cpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
saving.hpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
savingstages.cpp Avoid double assignment on info saving 2023-03-13 11:31:16 +01:00
savingstages.hpp Optimize saving in editor 2023-02-17 11:05:25 +01:00
savingstate.cpp Use ESM::RefId as key for SavingState::mSubRecords 2023-03-03 15:41:53 +01:00
savingstate.hpp Use ESM::RefId as key for SavingState::mSubRecords 2023-03-03 15:41:53 +01:00
stage.cpp final batch of changing over user settings usage to the new system 2015-12-15 12:44:04 +01:00
stage.hpp Run IWYU on the opencs 2022-10-31 21:04:01 +01:00
state.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00