mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 12:56:39 +00:00 
			
		
		
		
	* introduces the use of the Boost.System and Boost.Filesystem libraries, which must be built and linked to rather than just compiled into OpenMW. May be a pain in the neck to get working on other platforms, but once it works, we have all of Boost to work with.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			188 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			188 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include "fileops.hpp"
 | 
						|
#include <boost/filesystem.hpp>
 | 
						|
 | 
						|
bool isFile(const char *name)
 | 
						|
{
 | 
						|
  boost::filesystem::path cfg_file_path(name);
 | 
						|
  return boost::filesystem::exists(cfg_file_path);
 | 
						|
}
 |