mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-04 02:56:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			679 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			679 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef GAME_MWWORLD_FALLBACK_H
 | 
						|
#define GAME_MWWORLD_FALLBACK_H
 | 
						|
 | 
						|
#include <map>
 | 
						|
#include <string>
 | 
						|
 | 
						|
#include <osg/Vec4f>
 | 
						|
 | 
						|
namespace MWWorld
 | 
						|
{
 | 
						|
    class Fallback
 | 
						|
    {
 | 
						|
            const std::map<std::string,std::string> mFallbackMap;
 | 
						|
        public:
 | 
						|
            Fallback(const std::map<std::string,std::string>& fallback);
 | 
						|
            std::string getFallbackString(const std::string& fall) const;
 | 
						|
            float getFallbackFloat(const std::string& fall) const;
 | 
						|
            int getFallbackInt(const std::string& fall) const;
 | 
						|
            bool getFallbackBool(const std::string& fall) const;
 | 
						|
            osg::Vec4f getFallbackColour(const std::string& fall) const;
 | 
						|
    };
 | 
						|
}
 | 
						|
#endif
 |