mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 08:53:52 +00:00
f99ed6f1db
Replace all ciEqual overloads with one having std::string_view as argument.
18 lines
447 B
C++
18 lines
447 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 = Misc::StringUtils::lowerCase(scpt.mSCHD.mName.toString());
|
|
out.mRunning = scpt.mRunning;
|
|
out.mTargetRef.unset(); // TODO: convert target reference of global script
|
|
convertSCRI(scpt.mSCRI, out.mLocals);
|
|
}
|
|
|
|
}
|