OpenMW
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
apps
opencs
model
tools
mergestate.hpp
Go to the documentation of this file.
1
#ifndef CSM_TOOLS_MERGESTATE_H
2
#define CSM_TOOLS_MERGESTATE_H
3
4
#include <stdint.h>
5
6
#include <memory>
7
#include <map>
8
9
#include "../doc/document.hpp"
10
11
namespace
CSMTools
12
{
13
struct
MergeState
14
{
15
std::unique_ptr<CSMDoc::Document>
mTarget
;
16
CSMDoc::Document
&
mSource
;
17
bool
mCompleted
;
18
std::map<std::pair<uint16_t, int>,
int
>
mTextureIndices
;
// (texture, content file) -> new texture
19
20
MergeState
(
CSMDoc::Document
& source) :
mSource
(source),
mCompleted
(false) {}
21
};
22
}
23
24
#endif
CSMTools::MergeState::MergeState
MergeState(CSMDoc::Document &source)
Definition:
mergestate.hpp:20
CSMTools::MergeState::mTarget
std::unique_ptr< CSMDoc::Document > mTarget
Definition:
mergestate.hpp:15
CSMDoc::Document
Definition:
document.hpp:57
CSMTools::MergeState::mSource
CSMDoc::Document & mSource
Definition:
mergestate.hpp:16
CSMTools::MergeState::mTextureIndices
std::map< std::pair< uint16_t, int >, int > mTextureIndices
Definition:
mergestate.hpp:18
CSMTools::MergeState::mCompleted
bool mCompleted
Definition:
mergestate.hpp:17
CSMTools::MergeState
Definition:
mergestate.hpp:13
Generated on Sat Sep 29 2018 15:24:59 for OpenMW by
1.8.6