mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 12:36:05 +08:00
30 lines
944 B
C++
30 lines
944 B
C++
![]() |
//===== Copyright <20> 2005-2005, Valve Corporation, All rights reserved. ======//
|
|||
|
//
|
|||
|
// Purpose: A higher level link library for general use in the game and tools.
|
|||
|
//
|
|||
|
//===========================================================================//
|
|||
|
|
|||
|
#include <tier1/tier1.h>
|
|||
|
#include "tier0/dbg.h"
|
|||
|
#include "interfaces/interfaces.h"
|
|||
|
|
|||
|
// for utlsortvector.h
|
|||
|
#ifndef _WIN32
|
|||
|
void *g_pUtlSortVectorQSortContext = NULL;
|
|||
|
#endif
|
|||
|
|
|||
|
|
|||
|
//-----------------------------------------------------------------------------
|
|||
|
// Call this to connect to all tier 1 libraries.
|
|||
|
// It's up to the caller to check the globals it cares about to see if ones are missing
|
|||
|
//-----------------------------------------------------------------------------
|
|||
|
void ConnectTier1Libraries( CreateInterfaceFn *pFactoryList, int nFactoryCount )
|
|||
|
{
|
|||
|
ConnectInterfaces( pFactoryList, nFactoryCount);
|
|||
|
}
|
|||
|
|
|||
|
void DisconnectTier1Libraries()
|
|||
|
{
|
|||
|
DisconnectInterfaces();
|
|||
|
}
|