mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 21:56:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			360 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			360 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #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.mRunning;
 | |
|         convertSCRI(scpt.mSCRI, out.mLocals);
 | |
|     }
 | |
| 
 | |
| }
 |