mirror of
				https://github.com/TES3MP/TES3MP.git
				synced 2025-11-03 19:13:31 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			589 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 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
 |