1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-30 10:34:32 +00:00
openmw/apps/essimporter/convertscpt.cpp
2025-07-27 17:04:14 +02:00

18 lines
398 B
C++

#include "convertscpt.hpp"
#include "convertscri.hpp"
#include <components/misc/strings/lower.hpp>
namespace ESSImport
{
void convertSCPT(const SCPT& scpt, ESM::GlobalScript& out)
{
out.mId = ESM::RefId::stringRefId(scpt.mSCHD.mName.toString());
out.mRunning = scpt.mRunning;
out.mTargetRef = scpt.mRefNum;
convertSCRI(scpt.mSCRI, out.mLocals);
}
}