mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 06:49:55 +00:00
22 lines
495 B
C++
22 lines
495 B
C++
#ifndef CSM_TOOLS_MERGESTATE_H
|
|
#define CSM_TOOLS_MERGESTATE_H
|
|
|
|
#include <memory>
|
|
#include <map>
|
|
|
|
#include "../doc/document.hpp"
|
|
|
|
namespace CSMTools
|
|
{
|
|
struct MergeState
|
|
{
|
|
std::auto_ptr<CSMDoc::Document> mTarget;
|
|
CSMDoc::Document& mSource;
|
|
bool mCompleted;
|
|
std::map<std::pair<int, int>, int> mTextureIndices; // (texture, content file) -> new texture
|
|
|
|
MergeState (CSMDoc::Document& source) : mSource (source), mCompleted (false) {}
|
|
};
|
|
}
|
|
|
|
#endif
|