mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
74e7cfc023
remove unused imports: part2 revert one tidy we will keep for c++20
25 lines
522 B
C++
25 lines
522 B
C++
#ifndef CSM_TOOLS_MERGESTATE_H
|
|
#define CSM_TOOLS_MERGESTATE_H
|
|
|
|
#include <cstdint>
|
|
|
|
#include <memory>
|
|
#include <map>
|
|
|
|
#include "../doc/document.hpp"
|
|
|
|
namespace CSMTools
|
|
{
|
|
struct MergeState
|
|
{
|
|
std::unique_ptr<CSMDoc::Document> mTarget;
|
|
CSMDoc::Document& mSource;
|
|
bool mCompleted;
|
|
std::map<std::pair<uint16_t, int>, int> mTextureIndices; // (texture, content file) -> new texture
|
|
|
|
MergeState (CSMDoc::Document& source) : mSource (source), mCompleted (false) {}
|
|
};
|
|
}
|
|
|
|
#endif
|