1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-05 17:13:36 +08:00
hl2sdk/tier1/tier1.cpp
Nick Hastings 00b76b9dda Revert "Remove tier1 lib/code. It's implemented by tier0 now and exported."
This reverts commit 4fd0ac35ed9880b5bf26d559ccf09d7d68d05d9b.
2022-09-04 12:37:41 -04:00

30 lines
944 B
C++

//===== Copyright © 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();
}