|
|
|
@ -15,6 +15,7 @@
|
|
|
|
|
#include <components/esm3/loadgmst.hpp>
|
|
|
|
|
#include <components/esm3/loadland.hpp>
|
|
|
|
|
#include <components/esm3/loadpgrd.hpp>
|
|
|
|
|
#include <components/esm4/loadcell.hpp>
|
|
|
|
|
#include <components/misc/rng.hpp>
|
|
|
|
|
#include <components/misc/strings/algorithm.hpp>
|
|
|
|
|
|
|
|
|
@ -268,6 +269,19 @@ namespace MWWorld
|
|
|
|
|
const ESM::GameSetting* find(const std::string_view id) const;
|
|
|
|
|
const ESM::GameSetting* search(const std::string_view id) const;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
template <>
|
|
|
|
|
class Store<ESM4::Cell> : public TypedDynamicStore<ESM4::Cell>
|
|
|
|
|
{
|
|
|
|
|
std::unordered_map<std::string, ESM4::Cell*, Misc::StringUtils::CiHash, Misc::StringUtils::CiEqual>
|
|
|
|
|
mCellNameIndex;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
const ESM4::Cell* searchCellName(std::string_view) const;
|
|
|
|
|
ESM4::Cell* insert(const ESM4::Cell& item, bool overrideOnly = false);
|
|
|
|
|
ESM4::Cell* insertStatic(const ESM4::Cell& item);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
template <>
|
|
|
|
|
class Store<ESM::Land> : public DynamicStore
|
|
|
|
|
{
|
|
|
|
|