mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-23 19:23:52 +00:00
22 lines
328 B
C++
22 lines
328 B
C++
|
#include "../imp_server/physfs_vfs.h"
|
||
|
|
||
|
#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;
|
||
|
}
|