mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-22 16:53:54 +00:00
b6a2fd8fc1
There was additional logic to create topic infos index by topic id to make getTopicInfos and removeDialogueInfos functions faster. In practice it makes loading slower. Move infos index by topic to CSMWorld::Data and use only on loading.
15 lines
236 B
C++
15 lines
236 B
C++
#ifndef CSM_WOLRD_INFO_H
|
|
#define CSM_WOLRD_INFO_H
|
|
|
|
#include <components/esm3/loadinfo.hpp>
|
|
|
|
namespace CSMWorld
|
|
{
|
|
struct Info : public ESM::DialInfo
|
|
{
|
|
ESM::RefId mTopicId;
|
|
ESM::RefId mOriginalId;
|
|
};
|
|
}
|
|
|
|
#endif
|