mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
24 lines
545 B
C++
24 lines
545 B
C++
|
#ifndef COMPONENTS_NIFOVERRIDES_H
|
||
|
#define COMPONENTS_NIFOVERRIDES_H
|
||
|
|
||
|
#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
|