#ifndef GAME_MWWORLD_GROUNDCOVER_STORE_H #define GAME_MWWORLD_GROUNDCOVER_STORE_H #include #include #include #include namespace ESM { struct ESM_Context; struct Static; struct Cell; } namespace Loading { class Listener; } namespace Files { class Collections; } namespace ToUTF8 { class Utf8Encoder; } namespace MWWorld { template class Store; class GroundcoverStore { private: std::map mMeshCache; std::map, std::vector> mCellContexts; public: void init(const Store& statics, const Files::Collections& fileCollections, const std::vector& groundcoverFiles, ToUTF8::Utf8Encoder* encoder, Loading::Listener* listener); std::string getGroundcoverModel(const ESM::RefId& id) const; void initCell(ESM::Cell& cell, int cellX, int cellY) const; }; } #endif