|
|
@ -14,7 +14,6 @@ namespace ESSImport
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
// A running global script
|
|
|
|
// A running global script
|
|
|
|
// TODO: test how targeted scripts are saved
|
|
|
|
|
|
|
|
struct SCPT
|
|
|
|
struct SCPT
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ESM::Script::SCHD mSCHD;
|
|
|
|
ESM::Script::SCHD mSCHD;
|
|
|
@ -22,8 +21,8 @@ namespace ESSImport
|
|
|
|
// values of local variables
|
|
|
|
// values of local variables
|
|
|
|
SCRI mSCRI;
|
|
|
|
SCRI mSCRI;
|
|
|
|
|
|
|
|
|
|
|
|
bool mHasRNAM;
|
|
|
|
bool mRunning;
|
|
|
|
int mRNAM; // unknown, seems to be -1 for some scripts, some huge integer for others
|
|
|
|
int mRefNum; // Targeted reference, -1: no reference
|
|
|
|
|
|
|
|
|
|
|
|
void load(ESM::ESMReader& esm);
|
|
|
|
void load(ESM::ESMReader& esm);
|
|
|
|
};
|
|
|
|
};
|
|
|
|