1.1 --- a/core/sourcemm_api.cpp Thu Mar 22 21:50:20 2007 +0000
1.2 +++ b/core/sourcemm_api.cpp Sun Mar 25 20:20:43 2007 +0000
1.3 @@ -29,6 +29,7 @@
1.4 CallClass<IVEngineServer> *enginePatch = NULL;
1.5 CallClass<IServerGameDLL> *gamedllPatch = NULL;
1.6 IPlayerInfoManager *playerinfo = NULL;
1.7 +IBaseFileSystem *basefilesystem;
1.8
1.9 PLUGIN_EXPOSE(SourceMod, g_SourceMod_Core);
1.10
1.11 @@ -42,6 +43,7 @@
1.12 GET_V_IFACE_CURRENT(engineFactory, icvar, ICvar, VENGINE_CVAR_INTERFACE_VERSION);
1.13 GET_V_IFACE_CURRENT(engineFactory, gameevents, IGameEventManager2, INTERFACEVERSION_GAMEEVENTSMANAGER2);
1.14 GET_V_IFACE_CURRENT(engineFactory, engrandom, IUniformRandomStream, VENGINE_SERVER_RANDOM_INTERFACE_VERSION);
1.15 + GET_V_IFACE_CURRENT(fileSystemFactory, basefilesystem, IBaseFileSystem, BASEFILESYSTEM_INTERFACE_VERSION);
1.16
1.17 /* :TODO: Make this optional and... make it find earlier versions [?] */
1.18 GET_V_IFACE_CURRENT(serverFactory, playerinfo, IPlayerInfoManager, INTERFACEVERSION_PLAYERINFOMANAGER);