mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 08:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			589 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			589 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef OPENMW_COMPONENTS_NIFOVERRIDES_NIFOVERRIDES_HPP
 | 
						|
#define OPENMW_COMPONENTS_NIFOVERRIDES_NIFOVERRIDES_HPP
 | 
						|
 | 
						|
#include <OgreConfigFile.h>
 | 
						|
 | 
						|
namespace NifOverrides
 | 
						|
{
 | 
						|
 | 
						|
    typedef std::pair<bool, int> TransparencyResult;
 | 
						|
 | 
						|
    /// \brief provide overrides for some model / texture properties that bethesda has chosen poorly
 | 
						|
    class Overrides
 | 
						|
    {
 | 
						|
    public:
 | 
						|
        static Ogre::ConfigFile mTransparencyOverrides;
 | 
						|
        void loadTransparencyOverrides (const std::string& file);
 | 
						|
 | 
						|
        static TransparencyResult getTransparencyOverride(const std::string& texture);
 | 
						|
    };
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |