Split PVKII into its own engine branch (#1847)
* Initial PVKII branch support * Change PVKII code to 23, DOTA uses 22 in MM * Bunch more SE_PVKII preprocessor that was missed * Add some missing SOURCE_ENGINE_PVKII cases * Update PVKII FireOutput signature for Linux * Update checkout-deps with 'pvkii' * Fix FireOutput signature for PVKII, accidentally used one from newer build * Change PVKII code to 10, and bump others by 1 * Only check against SE_SDK2013 here, like Metamod * More SE_PVKII preprocessor cleanup
This commit is contained in:
@@ -341,7 +341,7 @@ bool SDKExtension::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen,
|
||||
GET_V_IFACE_CURRENT(engineFactory, engine, IVEngineServer, INTERFACEVERSION_VENGINESERVER);
|
||||
#else
|
||||
GET_V_IFACE_ANY(GetServerFactory, gamedll, IServerGameDLL, INTERFACEVERSION_SERVERGAMEDLL);
|
||||
#if SOURCE_ENGINE == SE_CSS || SOURCE_ENGINE == SE_DODS || SOURCE_ENGINE == SE_HL2DM || SOURCE_ENGINE == SE_SDK2013
|
||||
#if SOURCE_ENGINE == SE_SDK2013
|
||||
// Shim to avoid hooking shims
|
||||
engine = (IVEngineServer *) ismm->GetEngineFactory()("VEngineServer023", nullptr);
|
||||
if (!engine)
|
||||
|
||||
Reference in New Issue
Block a user