2015-01-22 03:54:33 +01:00
|
|
|
#ifndef OPENMW_ESSIMPORT_IMPORTSCRI_H
|
|
|
|
#define OPENMW_ESSIMPORT_IMPORTSCRI_H
|
|
|
|
|
2022-01-22 15:58:41 +01:00
|
|
|
#include <components/esm3/variant.hpp>
|
2015-01-22 03:54:33 +01:00
|
|
|
|
2023-12-17 15:21:12 +01:00
|
|
|
#include <cstdint>
|
2015-01-22 03:54:33 +01:00
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
class ESMReader;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace ESSImport
|
|
|
|
{
|
|
|
|
|
2016-12-14 16:39:33 +01:00
|
|
|
/// Local variable assignments for a running script
|
2015-01-22 03:54:33 +01:00
|
|
|
struct SCRI
|
|
|
|
{
|
|
|
|
std::string mScript;
|
|
|
|
|
|
|
|
std::vector<short> mShorts;
|
|
|
|
std::vector<int> mLongs;
|
|
|
|
std::vector<float> mFloats;
|
|
|
|
|
|
|
|
void load(ESM::ESMReader& esm);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|