mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 04:26:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			327 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			327 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include "../servers/physfs_vfs.hpp"
 | 
						|
 | 
						|
#include "server_common.cpp"
 | 
						|
 | 
						|
#include <physfs.h>
 | 
						|
 | 
						|
int main()
 | 
						|
{
 | 
						|
  // Set up the library and paths
 | 
						|
  PHYSFS_init("blah");
 | 
						|
  PHYSFS_addToSearchPath("test.zip", 1);
 | 
						|
  PHYSFS_addToSearchPath("./", 1);
 | 
						|
 | 
						|
  // Create our interface
 | 
						|
  PhysVFS vfs;
 | 
						|
 | 
						|
  // Run the test
 | 
						|
  testAll(vfs);
 | 
						|
 | 
						|
  return 0;
 | 
						|
}
 |