mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
20da0892ef
Slowly moving through the open-cs errors Good progress in openCS Very good progress on openCS Getting closer with openCS OpenCS compiles and runs! Didn't have time to test it all though ix openMW everything compiles on windows?? Fix gcc Fix Clang
19 lines
442 B
C++
19 lines
442 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.unset(); // TODO: convert target reference of global script
|
|
convertSCRI(scpt.mSCRI, out.mLocals);
|
|
}
|
|
|
|
}
|