mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
360 B
C++
18 lines
360 B
C++
10 years ago
|
#include "convertscpt.hpp"
|
||
|
|
||
|
#include <components/misc/stringops.hpp>
|
||
|
|
||
|
#include "convertscri.hpp"
|
||
|
|
||
|
namespace ESSImport
|
||
|
{
|
||
|
|
||
|
void convertSCPT(const SCPT &scpt, ESM::GlobalScript &out)
|
||
|
{
|
||
|
out.mId = Misc::StringUtils::lowerCase(scpt.mSCHD.mName.toString());
|
||
|
out.mRunning = scpt.mHasRNAM;
|
||
|
convertSCRI(scpt.mSCRI, out.mLocals);
|
||
|
}
|
||
|
|
||
|
}
|