forked from teamnwah/openmw-tes3coop
18 lines
619 B
C++
18 lines
619 B
C++
|
#ifndef GAME_MWWORLD_FALLBACK_H
|
||
|
#define GAME_MWWORLD_FALLBACK_H
|
||
|
#include <OgreColourValue.h>
|
||
|
namespace MWWorld
|
||
|
{
|
||
|
class Fallback
|
||
|
{
|
||
|
const std::map<std::string,std::string> mFallbackMap;
|
||
|
public:
|
||
|
Fallback(const std::map<std::string,std::string> fallback):mFallbackMap(fallback){};
|
||
|
std::string getFallbackString(const std::string& fall) const;
|
||
|
float getFallbackFloat(const std::string& fall) const;
|
||
|
bool getFallbackBool(const std::string& fall) const;
|
||
|
Ogre::ColourValue getFallbackColour(const std::string& fall) const;
|
||
|
};
|
||
|
}
|
||
|
#endif
|