mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 07:56:38 +00:00 
			
		
		
		
	Moving classes from components/misc into Misc namespace. Note: Misc namespace introduced conflict with ESM::Misc and MWClass::Misc classes, so both of them are renamed to ESM::Miscellaneous and MWClass::Miscellaneous. Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			274 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			274 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include "loadmisc.hpp"
 | |
| 
 | |
| namespace ESM
 | |
| {
 | |
| 
 | |
| void Miscellaneous::load(ESMReader &esm)
 | |
| {
 | |
|     model = esm.getHNString("MODL");
 | |
|     name = esm.getHNOString("FNAM");
 | |
|     esm.getHNT(data, "MCDT", 12);
 | |
|     script = esm.getHNOString("SCRI");
 | |
|     icon = esm.getHNOString("ITEX");
 | |
| }
 | |
| 
 | |
| }
 |