OpenMW
components/nifoverrides/nifoverrides.hpp
Go to the documentation of this file.
00001 #ifndef OPENMW_COMPONENTS_NIFOVERRIDES_NIFOVERRIDES_HPP
00002 #define OPENMW_COMPONENTS_NIFOVERRIDES_NIFOVERRIDES_HPP
00003 
00004 #include <OgreConfigFile.h>
00005 
00006 namespace NifOverrides
00007 {
00008 
00009     typedef std::pair<bool, int> TransparencyResult;
00010 
00012     class Overrides
00013     {
00014     public:
00015         static Ogre::ConfigFile mTransparencyOverrides;
00016         void loadTransparencyOverrides (const std::string& file);
00017 
00018         static TransparencyResult getTransparencyOverride(const std::string& texture);
00019     };
00020 
00021 }
00022 
00023 #endif