Here's a bunch of them (the one's commented out don't work)...
Code:
enginetrace = (IEngineTrace*)interfaceFactory(INTERFACEVERSION_ENGINETRACE_SERVER, NULL);
if ( !enginetrace )
Msg("PLUGIN: Unable to load enginetrace, ignoring\n");
else
Msg("PLUGIN: Loaded enginetrace\n");
gamedll = (IServerGameDLL*)gameServerFactory(INTERFACEVERSION_SERVERGAMEDLL, NULL);
if ( !gamedll )
Msg("PLUGIN: Unable to load gamedll, ignoring\n");
else
Msg("PLUGIN: Loaded gamedll\n");
gameents = (IServerGameEnts*)gameServerFactory(INTERFACEVERSION_SERVERGAMEENTS, NULL);
if ( !gameents )
Msg("PLUGIN: Unable to load gameents, ignoring\n");
else
Msg("PLUGIN: Loaded gameents\n");
gameclients = (IServerGameClients*)gameServerFactory(INTERFACEVERSION_SERVERGAMECLIENTS, NULL);
if ( !gameclients )
Msg("PLUGIN: Unable to load gameclients, ignoring\n");
else
Msg("PLUGIN: Loaded gameclients\n");
spatialpartition = (ISpatialPartition*)interfaceFactory(INTERFACEVERSION_SPATIALPARTITION, NULL);
if ( !spatialpartition )
Msg("PLUGIN: Unable to load spatialpartition, ignoring\n");
else
Msg("PLUGIN: Loaded spatialpartition\n");
voiceserver = (IVoiceServer*)interfaceFactory(INTERFACEVERSION_VOICESERVER, NULL);
if ( !voiceserver )
Msg("PLUGIN: Unable to load voiceserver, ignoring\n");
else
Msg("PLUGIN: Loaded voiceserver\n");
staticprops = (IStaticPropMgr*)interfaceFactory(INTERFACEVERSION_STATICPROPMGR_SERVER, NULL);
if ( !staticprops )
Msg("PLUGIN: Unable to load staticprops, ignoring\n");
else
Msg("PLUGIN: Loaded staticprops\n");
// mapdata = (IMapData*)gameServerFactory(INTERFACEVERSION_MAPDATA, NULL);
// if ( !mapdata )
// Msg("PLUGIN: Unable to load mapdata, ignoring\n");
// else
// Msg("PLUGIN: Loaded mapdata\n");
// physics = (IPhysics*)gameServerFactory(VPHYSICS_INTERFACE_VERSION, NULL);
// if ( !physics )
// Msg("PLUGIN: Unable to load physics, ignoring\n");
// else
// Msg("PLUGIN: Loaded physics\n");
// physicscol = (IPhysicsCollision*)gameServerFactory(VPHYSICS_COLLISION_INTERFACE_VERSION, NULL);
// if ( !physicscol )
// Msg("PLUGIN: Unable to load physicscol, ignoring\n");
// else
// Msg("PLUGIN: Loaded physicscol\n");
// physicssurfprop = (IPhysicsSurfaceProps*)gameServerFactory(VPHYSICS_SURFACEPROPS_INTERFACE_VERSION, NULL);
// if ( !physicssurfprop )
// Msg("PLUGIN: Unable to load physicssurfprop, ignoring\n");
// else
// Msg("PLUGIN: Loaded physicssurfprop\n");
enginesound = (IEngineSound*)interfaceFactory(IENGINESOUND_SERVER_INTERFACE_VERSION, NULL);
if ( !enginesound )
Msg("PLUGIN: Unable to load enginesound, ignoring\n");
else
Msg("PLUGIN: Loaded enginesound\n");
enginecache = (IVEngineCache*)interfaceFactory(VENGINE_CACHE_INTERFACE_VERSION, NULL);
if ( !enginecache )
Msg("PLUGIN: Unable to load enginecache, ignoring\n");
else
Msg("PLUGIN: Loaded enginecache\n");
modelinfo = (IVModelInfo*)interfaceFactory(VMODELINFO_SERVER_INTERFACE_VERSION, NULL);
if ( !modelinfo )
Msg("PLUGIN: Unable to load modelinfo, ignoring\n");
else
Msg("PLUGIN: Loaded modelinfo\n");
botman